Bootstrap Flask Versions Save

Bootstrap 4 & 5 helper for your Flask projects.

2.4.0

1 month ago

What's Changed

New Contributors

Full Changelog: https://github.com/helloflask/bootstrap-flask/compare/2.3.3...2.4.0

2.3.3

5 months ago

What's Changed

Full Changelog: https://github.com/helloflask/bootstrap-flask/compare/2.3.2...2.3.3

2.3.2

7 months ago

2.3.1

7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/helloflask/bootstrap-flask/compare/2.3.0...2.3.1

2.3.0

9 months ago

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

Full Changelog: https://github.com/helloflask/bootstrap-flask/compare/2.2.0...2.3.0

2.2.0

1 year ago

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

2.1.0

1 year ago

Features:

  • Add safe_columns and urlize_columns parameters to render_table macro to support rendering table column as HTML/URL (#204). Thanks @PanderMusubi

Changes:

  • Rename the badge parameter of render_nav_item macro to _badge.
  • Rename the use_li parameter of render_nav_item macro to _use_li.

2.0.2

2 years ago

A bugfix release for Bootstrap 5 support:

  • Add the missing form-select class for Bootstrap 5 form select fields (#211).

Thanks to @a2yp!

2.0.1

2 years ago

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!

2.0.0

2 years ago

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!