Bump django-crispy-forms from 1.14.0 to 2.1
Bumps django-crispy-forms from 1.14.0 to 2.1.
Release notes
Sourced from django-crispy-forms's releases.
2.1
What's Changed
- Added support for Django 5.0.
- Dropped support for Django 3.2, 4.0 and 4.1.
- Added support for Python 3.12.
- Dropped support for Python 3.7.
New Contributors
@DanielSwainmade their first contribution in django-crispy-forms/django-crispy-forms#1340@sankarebarrimade their first contribution in django-crispy-forms/django-crispy-forms#1342@foarsittermade their first contribution in django-crispy-forms/django-crispy-forms#1353Full Changelog: https://github.com/django-crispy-forms/django-crispy-forms/compare/2.0...2.1
2.0 (2023-02-13)
Major Changes and Migration Guide
Removed all Bootstrap template packs. These template packs are now available as standalone packages. To upgrade, install the required template pack and add it to your
INSTALLED_APPSsetting.Also, support for Bootstrap 5 is provided by a 3rd party package under the
django-crispy-formsorganisation at crispy-bootstrap5.Removed uni-form template pack. Uni-Form specific classes previously added to every template pack e.g.
textInputare now removed. If you require these classes, 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", }The
uni-formtemplate pack allowed for rendering of templates using adefaultorinlinelayout. As theuni-formtemplate pack has been removed support for this has also been removed. This has resulted in the following BREAKING changes.
- The
form_styleattribute ofFormHelperis removed.- The
form_stylepositional argument torender_field()is removed.- The
form_stylepositional argument to therender()method of allLayoutObjectsis removed.Audit for use of
render()andrender_field()due to the removal of theform_stylepositional argument is therefore required. For example:
... (truncated)
Changelog
Sourced from django-crispy-forms's changelog.
2.1 (2023-10-15)
- Added support for Django 5.0.
- Dropped support for Django 3.2, 4.0 and 4.1.
- Added support for Python 3.12.
- Dropped support for Python 3.7.
See the 2.1 Milestone for the full change list.
2.0 (2023-02-13)
Release of django-crispy-forms 2.0. No changes introduced since 2.0a1.
2.0a1 (2023-01-18)
Major Changes and Migration Guide
Removed all Bootstrap template packs. These template packs are now available as standalone packages. To upgrade, install the required template pack and add it to your
INSTALLED_APPSsetting.Also, support for Bootstrap 5 is provided by a 3rd party package under the
django-crispy-formsorganisation at crispy-bootstrap5.Removed uni-form template pack. Uni-Form specific classes previously added to every template pack e.g.
textInputare now removed. If you require these classes, 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", }The
uni-formtemplate pack allowed for rendering of templates using adefaultorinlinelayout. As theuni-formtemplate pack has been removed support for this has also been removed. This has resulted in the following BREAKING changes.
- The
form_styleattribute ofFormHelperis removed.- The
form_stylepositional argument torender_field()is removed.- The
form_stylepositional argument to therender()method of allLayoutObjectsis removed.Audit for use of
render()andrender_field()due to the removal of theform_stylepositional argument is therefore required. For example:# django-crispy-forms 1.x html = my_layout_object.render(form, form_style, context)
... (truncated)
Commits
92b72602.1 Release (#1371)fdfd0ceDropped support for Django 3.2 (#1370)5f881faUpdate GitHub Action workflows.a3bebc1Pre-commit updatee3eb35fDrop Django 4.0 and 4.1. (#1368)4c5cea5Added Django 5.0 support. (#1367)957d311Improved Fieldset types. (#1363)3b81cc9Replace trunk with main/upstream in contributing.rst (#1358)a0913b7Fix CI badge (#1357)5a6a399Added minimal RTD configuration file. (#1355)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.