Bootstrap-flask

Latest version: v2.4.1

Safety actively analyzes 688215 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

1.7.0

-----

Release date: 2021/6/10

- Add a ``custom_actions`` parameter for the ``render_table`` macro. When passing a
list of tuples ``[(title, bootstrap icon, link)]`` to the ``custom_actions`` parameter,
the ``render_table`` macro will create an icon (link) on the action column for each
tuple in the list. The title text (first index of each tuple) will show when hovering
over each ``custom_actions`` button (`134 <https://github.com/helloflask/bootstrap-flask/pull/134>`__).
- Update Bootstrap Icons to v1.5.0.
- Improve action icons for ``render_table``, now the icons can be styled with the
``action-icon`` CSS class (`137 <https://github.com/helloflask/bootstrap-flask/pull/137>`__).
- Change the default ``action_pk_placeholder`` to ``':id'``. The support to the old
value will be removed in version 2.0
(`138 <https://github.com/helloflask/bootstrap-flask/pull/138>`__).

1.6.0

-----

Release date: 2021/5/29

- Add a ``new_url`` parameter for the ``render_table`` macro. When passing an URL to the ``new_url`` parameter, the ``render_table`` macro will create an icon (link) on the action header (`133 <https://github.com/helloflask/bootstrap-flask/pull/133>`__).
- Fix the display of the delete icon for ``render_table`` macro (`132 <https://github.com/helloflask/bootstrap-flask/pull/132>`__).

1.5.3

-----

Release date: 2021/5/18

- Fix class for horizontal form label (`131 <https://github.com/helloflask/bootstrap-flask/pull/131>`__).
- Fix hidden field label issue for ``render_field`` macro (`130 <https://github.com/helloflask/bootstrap-flask/pull/130>`__).
- Refactor tests (`125 <https://github.com/helloflask/bootstrap-flask/pull/125>`__).

1.5.2

-----

Release date: 2021/4/13

- Fix `render_table` macro for SQLAlchemy >= 1.4 (`124 <https://github.com/helloflask/bootstrap-flask/issues/124>`__).

1.5.1

-----

Release date: 2020/11/9

- Fix missing end angle bracket for bootswatch CSS link tag (`110 <https://github.com/helloflask/bootstrap-flask/issues/110>`__).
- Migrate tests to pytest (`109 <https://github.com/helloflask/bootstrap-flask/pull/109>`__).

1.5

---

Release date: 2020/8/30

- Fix ``tox`` broken environments.
- Fix ``ResourceWarning`` in ``test_local_resources`` (`78 <https://github.com/helloflask/bootstrap-flask/pull/78>`__).
- Fix ``IndexError`` when using ``render_table`` with empty data (`75 <https://github.com/helloflask/bootstrap-flask/issues/75>`__).
- Add support for actions column in ``render_table`` macro (`76 <https://github.com/helloflask/bootstrap-flask/issues/76>`__).
- Add support for Bootswatch theme via configuration ``BOOTSTRAP_BOOTSWATCH_THEME`` (`88 <https://github.com/helloflask/bootstrap-flask/pull/88>`__).
- Fix checkbox render issue: add ``for`` attribute to link ``<label>`` with checkbox, only add ``is-invalid`` class when there are errors.
- Change default button style class from ``btn-secondary`` to ``btn-primary`` (`62 <https://github.com/helloflask/bootstrap-flask/issues/62>`__).
- Deprecated ``form_errors`` macro and it will be removed in 2.0, add ``render_hidden_errors`` macro as replacement.
- Add ``render_icon`` macro to render Bootstrap icon with Bootstrap Icon SVG Sprite (`99 <https://github.com/helloflask/bootstrap-flask/pull/99>`__).
- Add configuration ``BOOTSTRAP_MSG_CATEGORY`` to set default message category.

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.