Skip to content

Files

Latest commit

d4d421e · Aug 29, 2020

History

History
155 lines (93 loc) · 4.24 KB

CHANGES.rst

File metadata and controls

155 lines (93 loc) · 4.24 KB

Changelog

1.5

Release date: 2020/8/30

  • Fix tox broken environments.
  • Fix ResourceWarning in test_local_resources (#78).
  • Fix IndexError when using render_table with empty data (#75).
  • Add support for actions column in render_table macro (#76).
  • Add support for Bootswatch theme via configuration BOOTSTRAP_BOOTSWATCH_THEME (#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).
  • 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).
  • Add configuration BOOTSTRAP_MSG_CATEGORY to set default message category.

1.4

Release date: 2020/6/15

  • Add render_table macro to render a Bootstrap table (#71).

1.3.2

Release date: 2020/5/30

  • Support display error message for RadioField and BooleanField, display description for RadioField.

1.3.1

Release date: 2020/4/29

  • Fix add field.render_kw.class to form label class attribute.
  • Fix append extra space in class attribute when no field.render_kw.class presents (#63).

1.3.0

Release date: 2020/4/23

1.2.0

Release date: 2019/12/5

  • Add macro render_messages for rendering flashed messages.
  • Fix rendering bug for WTForms FormField (#34).

1.1.0

Release date: 2019/9/9

  • Update Bootstrap version to 4.3.1

1.0.10

Release date: 2019/3/7

  • Added macro render_form_row for rendering a row of a bootstrap grid form.

1.0.9

Release date: 2018/11/14

  • Fix missing error message when form type was horizontal.
  • Fix missing input label for RadioField.
  • Fix RadioField grid when form type was horizontal.

1.0.8

Release date: 2018/9/6

  • Correct macro name used in templates/bootstrap/form.html: form_field --> render_field.

1.0.7

Release date: 2018/8/30

  • Built-in resources loading not based on``FLASK_ENV``.

1.0.6

Release date: 2018/8/7

  • Fix unmatched built-in jQuery filename. (#8)

1.0.5

Release date: 2018/8/7

  • Fix KeyError Exception if ENV isn't defined. (#7)

1.0.4

Release date: 2018/7/24

  • Add missing <script> tag in resources URL. (#3)

1.0.3

Release date: 2018/7/22

  • Built-in resources will be used when FLASK_ENV set to development.
  • Change CDN provider to jsDelivr.

1.0.2

Release date: 2018/7/21

  • Include popper.js before bootstrap.js in bootstrap.load_js(). (#2)

1.0.1

Release date: 2018/7/1

  • Fix local resources path error
  • Add basic unit tests

1.0

Release date: 2018/6/11

Initial release.