-----
Release date: 2022/1/13
- Drop Python 2 and 3.5 support.
- Combine ``class`` argument of ``render_field`` or ``field.render_kw.class`` with Bootstrap classes
(`159 <https://github.com/helloflask/bootstrap-flask/pull/159>`__).
- Add initial support for Bootstrap 5 (`161 <https://github.com/helloflask/bootstrap-flask/pull/161>`__):
- Add ``Bootstrap4`` class and deprecate ``Bootstrap``.
- Add ``Bootstrap5`` class for Bootstrap 5 support.
- Move Bootstrap 4-related files to ``bootstrap4`` subfolder, and deprecate template path ``bootstrap/``.
- Bootstrap 4 macros are in the ``bootstrap4/`` template folder, and Bootstrap 5 macros are in ``bootstrap5/``.
- Add separate tests, templates, static files, and examples for Bootstrap 5.
- Remove the deprecated ``form_errors`` macro and the URL string variable support in ``render_table``.
- Render boolean field as a Bootstrap switch with ``SwitchField`` class (`175 <https://github.com/helloflask/bootstrap-flask/pull/175>`__).
- Add ``BOOTSTRAP_FORM_GROUP_CLASSES`` config for Bootstrap 5, defaults to ``mb-3``. Also add a ``form_group_classes``
parameter for ``render_form``, ``render_field``, and ``render_form_row`` (`184 <https://github.com/helloflask/bootstrap-flask/pull/184>`__).
- Add ``BOOTSTRAP_FORM_INLINE_CLASSES`` config for Bootstrap 5, defaults to ``row row-cols-lg-auto g-3 align-items-center``.
Also add a ``form_inline_classes`` parameter for ``render_form`` (`184 <https://github.com/helloflask/bootstrap-flask/pull/184>`__).
- Add ``form_type`` and ``horizontal_columns`` parameters to ``render_form_row`` (`192 <https://github.com/helloflask/bootstrap-flask/pull/192>`__).
- Add support for WTForms range fields (``DecimalRangeField`` and ``IntegerRangeField``) (`194 <https://github.com/helloflask/bootstrap-flask/pull/194>`__).
- Bump Bootstrap Icons to v1.7.2.
- Bump Bootstrap & Bootswatch to 4.6.1/5.1.3.