Releases: helloflask/bootstrap-flask
2.4.0
What's Changed
- support Python 3.12 by @PanderMusubi in #335
- replaced deprecated color muted with secondary by @PanderMusubi in #340
- Adding body_classes parameter to render_table by @fsalum in #350
- switch to pyproject.toml by @180909 in #354
New Contributors
Full Changelog: 2.3.3...2.4.0
2.3.3
What's Changed
- Upgrade Bootstrap Icon to 1.11.2 by @PanderMusubi in #347
- Add release workflow file by @greyli in #348
Full Changelog: 2.3.2...2.3.3
Version 2.3.2
Version 2.3.1
What's Changed
- Upgrade to Bootstrap 5.3.2, Bootswatch 5.3.1, and Bootstrap Icons 1.11.1. by @PanderMusubi in #310 and #319
- Fix typos in Macros.rst by @ZacheryFaria in #325
- Set up new live demo at https://bootstrap-flask-example.azurewebsites.net/ by @greyli in #328
New Contributors
- @ZacheryFaria made their first contribution in #325
Full Changelog: 2.3.0...2.3.1
Version 2.3.0
What's Changed
- Drop Python 3.7 support, and test against Python 3.11.
- Support rendering enums in tables by their labels (#271 Thanks @PanderMusubi).
- Support creating action URLs for dict data (#284 Thanks @nickovs).
- Upgrade to Bootstrap 5.3.0, Bootstrap Icons 1.10.5, and Popper 2.11.8.
New Contributors
- @nickovs made their first contribution in #284
- @cthoyt made their first contribution in #292
- @guidoiaquinti made their first contribution in #296
Full Changelog: 2.2.0...2.3.0
Version 2.2.0
New feature release!
- Drop Python 3.6 support, and test against 3.10.
- Add support for strict Content Security Policy (CSP) (#252) Thanks @Dosenpfand
- Upgrade to Bootstrap 5.2.2, Popper 2.11.6, Bootswatch 5.2.2, and Boostrap Icons 1.9.1 (#257) Thanks @PanderMusubi
See the full changes in the changelog: https://github.com/helloflask/bootstrap-flask/blob/master/CHANGES.rst#220
Version 2.1.0
Features:
- Add
safe_columns
andurlize_columns
parameters torender_table
macro
to support rendering table column as HTML/URL (#204). Thanks @PanderMusubi
Changes:
- Rename the
badge
parameter ofrender_nav_item
macro to_badge
. - Rename the
use_li
parameter ofrender_nav_item
macro to_use_li
.
Version 2.0.2
Version 2.0.1
A fix release for the 2.0 version.
- Remove extra quotaion mark in
render_nav_item
(#201). - Fix signature of
Bootstrap.__init__()
incompatible with older version (#198).
Thanks to @davidlesieur and @msoucy!
Version 2.0.0
This major version adds the Bootstrap 5 support (finally)!
Bootstrap 4 & 5 support
Now you can use the separate extension class for different Bootstrap major versions.
For Bootstrap 4, use the Bootstrap4
class:
from flask_bootstrap import Bootstrap4
# ...
bootstrap = Bootstrap4(app)
and import macros from the template path bootstrap4/
:
{% from 'bootstrap4/form.html' import render_form %}
For Bootstrap 5, use the Bootstrap5
class:
from flask_bootstrap import Bootstrap5
# ...
bootstrap = Bootstrap5(app)
and import macros from the template path bootstrap5/
:
{% from 'bootstrap5/form.html' import render_form %}
The Bootstrap
class and bootstrap/
template path are deprecated since 2.0 and will be removed in 3.0.
Update on versions
- Drop Python 2 and 3.5 support.
- Bump Bootstrap Icons to v1.7.2.
- Bump Bootstrap & Bootswatch to 4.6.1/5.1.3.
Donation enabled
Now you can support Bootstrap-Flask by donating on Open Collective. Your donation keeps Bootstrap-Flask maintained and updated with Bootstrap.
See the full changelog here: https://bootstrap-flask.readthedocs.io/en/stable/changelog/#id1
Thanks to @PanderMusubi for the help!