1.1.0.0 BS4 to BS5 Heads Up
Posted: Sat Feb 08, 2025 11:54 am
The next planned release will be 1.01.00.00.
This minor change of nomenclature is to future proof and solve sorting/versioning problems at Github.
1.01.00.00 is the exact same as 1.1.0.0
Bootstrap 4 is End Of Life EOL & has been for over 2 years, see https://getbootstrap.com/docs/4.6/end-of-life/
We've been behind the loop on this, so in 1.1.0.0 we are taking the opportunity to migrate Phoenix fully to Bootstrap 5.
Changes expected in 1.1.0.0
A. Admin Side Updated to Bootstrap 5 (BS5)
B. Shop Side Removal of Bootstrap 4 (BS4)
C. Shop Side going BS5 only
D. Minor change in product listing to make them more flexible and extensible
Addons
Some addons may need minor tweaking to work with BS5. There is no way around this as the creators of BS5 took the opportunity to rewrite parts of their codebase.
Developers and Shopowners have had many months (years!) to look at and get used to the `bootstrap5` template in readiness for Phoenix to go BS5 only.
Updating addons is very simple and is usually a matter of finding the new CSS, eg mr-1 [margin right] becomes me-1 [margin end] (there are many other CSS changes but none are particularly complicated) - no developer should be afraid of this.
Some addons may need HTML changes as BS5 changed some HTML structures (eg BS5 carousel is slightly different to BS4 and eg Form inputs are slightly different to BS4), again these changes are not complicated and no developer should be afraid of this.
Some developers might update their addons with new goodies that BS5 brings (eg offcanvas).
jQuery
As a consequence of BS5 removing jQuery, the following will happen as a by-product of updating Phoenix
E. Removal of jQuery
F. Removal of jQueryUI
jQuery in Addons
On the up side, removing unneeded libraries such as jQuery will speed up your shop for both yourself as the admin user and for your shoppers in the shop side. On the down side, any addons relying on jQuery will need attention to change from jQuery to pure javascript. This is not difficult and no developer should be afraid of this.
This minor change of nomenclature is to future proof and solve sorting/versioning problems at Github.
1.01.00.00 is the exact same as 1.1.0.0
Bootstrap 4 is End Of Life EOL & has been for over 2 years, see https://getbootstrap.com/docs/4.6/end-of-life/
We've been behind the loop on this, so in 1.1.0.0 we are taking the opportunity to migrate Phoenix fully to Bootstrap 5.
Changes expected in 1.1.0.0
A. Admin Side Updated to Bootstrap 5 (BS5)
B. Shop Side Removal of Bootstrap 4 (BS4)
C. Shop Side going BS5 only
D. Minor change in product listing to make them more flexible and extensible
Addons
Some addons may need minor tweaking to work with BS5. There is no way around this as the creators of BS5 took the opportunity to rewrite parts of their codebase.
Developers and Shopowners have had many months (years!) to look at and get used to the `bootstrap5` template in readiness for Phoenix to go BS5 only.
Updating addons is very simple and is usually a matter of finding the new CSS, eg mr-1 [margin right] becomes me-1 [margin end] (there are many other CSS changes but none are particularly complicated) - no developer should be afraid of this.
Some addons may need HTML changes as BS5 changed some HTML structures (eg BS5 carousel is slightly different to BS4 and eg Form inputs are slightly different to BS4), again these changes are not complicated and no developer should be afraid of this.
Some developers might update their addons with new goodies that BS5 brings (eg offcanvas).
jQuery
As a consequence of BS5 removing jQuery, the following will happen as a by-product of updating Phoenix
E. Removal of jQuery
F. Removal of jQueryUI
jQuery in Addons
On the up side, removing unneeded libraries such as jQuery will speed up your shop for both yourself as the admin user and for your shoppers in the shop side. On the down side, any addons relying on jQuery will need attention to change from jQuery to pure javascript. This is not difficult and no developer should be afraid of this.
If anyone has questions, comments or concerns, please ask and we will do our best to answer.