Changelog History
Page 1
-
v2.0 Changes
✂ Removed
|safe
filter from field and prepended/appended text. To retain the previous behaviour usemark_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 adefault
orinline
layout. As theuni-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 ofFormHelper
is removed. - The
form_style
positional argument torender_field
is removed. - The
form_style
positional argument to therender
method of allLayoutObjects
is removed.
- The
✂ 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 theCRISPY_TEMPLATE_PACK
setting is not provided.The
get_layout_objects()
andget_field_names()
functions ofLayoutObject
now return a list ofPointers
rather than a list of lists. Pointers are adataclass
containing a list ofposistions
and thename
of object/field.🚚 The
html5_required
attribute ofFormHelper
is removed. In all supported versions of Django therequired
attribute is provided by the coreforms
module.The
FormActions
layout object learnt acss_id
kwarg to add anid
to the rendered<div>
🚚 The
flat_attrs()
method ofFormActions
is removed. Attributes provided by**kwargs
are now passed via theflat_attrs
function during__init__()
instead of with each call ofrender()
.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 toFieldWithButtons
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 toAppendedText
,PrependedText
andPrependedAppendedText
. 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.
- ➕ Added
-
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
- Implemeneted
-
v1.10.0 Changes
November 18, 20201.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
- 🛠 Fixed test causing
-
v1.9.2 Changes
July 11, 2020 -
v1.9.1 Changes
May 16, 20201.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.