All Versions
43
Latest Version
2.0
Avg Release Cycle
130 days
Latest Release
-

Changelog History
Page 1

  • v2.0 Changes

    • ✂ Removed |safe filter from field and prepended/appended text. To retain the previous behaviour use mark_safe() to mark the text as safe in your project. Refs #296.

    • ✂ Removed uni-form template pack. Uni-Form specific classes previously added to every template pack e.g. textInput and are now removed. If you require these classes then the previous behaviour can be restored by adding the following to CRISPY_CLASS_CONVERTERS in your settings file.

        converters = {
          "textinput": "textinput textInput",
          "fileinput": "fileinput fileUpload",
          "passwordinput": "textinput textInput",
      }
    
    • 0️⃣ The uni-form template pack allowed for rendering of templates using a default or inline layout. As the uni-form template pack has been removed support for this has also been removed. This has resulted in the following BREAKING changes.

      • The form_style attribute of FormHelper is removed.
      • The form_style positional argument to render_field is removed.
      • The form_style positional argument to the render method of all LayoutObjects is removed.
    • ✂ Removed Bootstrap 2 template pack. Bootstrap 3 and 4 support is provided by the core crispy-forms package. Support for Bootstrap 5 is provided by a 3rd party package under the django-crispy-forms organisation at crispy-bootstrap5.

    • Default template pack is now bootstrap4 if the CRISPY_TEMPLATE_PACK setting is not provided.

    • 🚚 The html5_required attribute of FormHelper is removed. In all supported versions of Django the required attribute is provided by the core forms module.

    • The FormActions layout object learnt a css_id kwarg to add an id to the rendered <div>

    • 🚚 The flat_attrs() method of FormActions is removed. Attributes provided by **kwargs are now passed via the flat_attrs function during __init__() instead of with each call of render().

    • The default values of "form_error_title" and "formset_error_title" of FormHelper changed from None to "".

    • ⬇️ Dropped support for Django 2.2.

    • ➕ Added support for Django 4.1.

  • v1.14.0 Changes

    January 22, 2022
    • ➕ Added support for Python 3.10
    • ⬇️ Dropped support for Django 3.1
    • ⬇️ Dropped support for Python 3.6
    • ➕ Added bootstrap modal layout object (#1204)
    • ➕ Added input_size argument to FieldWithButtons to allow customisation of the size of the input in the Bootstrap 4 template pack. (#1159)

    👀 See the 1.14.0 Milestone for the full change list.

  • v1.13.0 Changes

    September 25, 2021
    • ➕ Added support for Django 4.0
  • v1.12.0 Changes

    June 11, 2021
    • 🛠 Fixed rendering of grouped checkboxes and radio inputs in the Bootstrap 4 template pack. (#1155)
    • Introduced new input_size argument to AppendedText, PrependedText and PrependedAppendedText. This allows the size of these grouped inputs to be changed in the Bootstrap 4 template pack. (#1114)
    • 👍 Confirmed support for Django 3.2
    • ⬇️ Dropped support for Python 3.5
    • ⬇️ Dropped support for Django 3.0

    👀 See the 1.12.0 Milestone for the full change list.

  • v1.11.2 Changes

    March 16, 2021
    • ➕ Added HTML parsing tools to help testing of template packs (#1128)
    • 🛠 Fixed rendering of all widget attributes for file fields (#1130)

    👀 See the 1.11.2 Milestone for the full change list.

  • v1.11.1 Changes

    February 21, 2021
    • ➕ Added custom-select for select widgets within prepended and appended fields (#1116)

    👀 See the 1.11.1 Milestone for the full change list.

  • v1.11.0 Changes

    January 30, 2021
    • Implemeneted custom-select for Select widgets in the Bootstrap4 Template Pack (#1091)
    • 🛠 Fixed data-parent in AccodrianGroup (#1091)
    • 📚 Documentation improvements

    👀 See the 1.11.0 Milestone for the full change list

  • v1.10.0 Changes

    November 18, 2020

    1.10.0 (18.11.2020)

    • 🛠 Fixed test causing SystemCheckError in some cases. (#1075)
    • Radio and Checkbox now respect the field's disabled attribute when using the Bootstrap4 template pack. (#1057)
    • 📚 A number of documentation improvements.

    👀 See the 1.10.0 Milestone for the full change list

  • v1.9.2 Changes

    July 11, 2020

    1.9.2 (2020-07-11)

    • 🛠 Fixed FileField UI bug

    👀 See the 1.9.2 Milestone for the full change list.

  • v1.9.1 Changes

    May 16, 2020

    1.9.1 (2020-05-16)

    • ➕ Added Bootstrap 4 styling for clearable file widget.
    • 🛠 Fixed FileField UI bug.
    • ✅ Project now uses GitHub actions for testing.

    👀 See the 1.9.1 Milestone for the full change list.