You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not hesitate to [**post a github issue**](https://github.com/Holt59/cakephp3-bootstrap-helpers/issues/new) or [**submit a pull request**](https://github.com/Holt59/cakephp3-bootstrap-helpers/pulls) if you find a bug or want a new feature.
56
56
57
57
58
-
Version 3.1 of the helpers is out!
58
+
Current version: 3.1.2
59
59
==================================
60
60
61
-
A new major version **3.1** of the helpers is now out. This version brings major changes to the way helpers internally works by using
62
-
templates instead of the standard `tag()` and `div()` method.
61
+
The current version of the helpers is `3.1.2`, this means that new features will not be ported to older versions (i.e. `<= 3.1.1`).
62
+
If you are migrating from a version `< 3.1.0`, feel free to open issues if you encounter problems since version `3.1.0` brought a lot
63
+
of changes.
63
64
64
65
#### Changes
65
66
66
67
- Most methods are now based on templates, meaning that:
67
68
- Options like `tag`, `aria-*`, `data-*`, ..., have been dropped from various methods.
68
69
- The `templateVars` options is now usable with most methods.
69
70
- There might be escaping issue since the old `div()` and `tag()` methods did not escape content be default, while
70
-
the template based methods do. Feel free to open an [issue](https://github.com/Holt59/cakephp3-bootstrap-helpers/issues/new) if
71
+
the template based methods do. Feel free to open an [issue](https://github.com/Holt59/cakephp3-bootstrap-helpers/issues/new) if
71
72
you encounter problems with escaping.
72
73
73
74
Some minor changes that do not impact the user interface:
74
-
- The `BootstrapTrait` class has been split in two classes: `ClassTrait` and `EasyIconTrait`.
75
+
- The `BootstrapTrait` class has been split in two classes: `ClassTrait` and `EasyIconTrait`.
75
76
- The test cases have been updated and strenghten to avoid bad modification in the code.
76
77
77
-
#### Migrating to 3.1
78
-
79
-
List of changes that need refactoring in your code:
80
-
81
-
-`BootstrapHtmlHelper`
82
-
- The `faIcon` and `glIcon` have been dropped.
83
-
- The `useFontAwesome` options has been dropped, the new way is to customize the `icon` template.
84
-
- It is no longer possible to use custom `tag` to render labels, badges, alerts (still possible for `tooltip`).
85
-
-`BootstrapNavbarHelper`
86
-
- The `autoButtonLink` options has been dropped, this was misleading for many users.
87
-
88
-
Some options such as `aria-*`, `data-*`, have been dropped from various methods since these are now included in the templates,
89
-
if you want to customize them, you should modify the template.
0 commit comments