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_APPS setting.
Also, support for Bootstrap 5 is provided by a 3rd party package under the django-crispy-forms organisation at
crispy-bootstrap5.
Removed uni-form template pack. Uni-Form specific classes previously added to every template pack e.g. textInput are 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.
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.
Audit for use of render() and render_field() due to the removal of the form_style positional argument is therefore
required. For example:
# django-crispy-forms 1.x
html = my_layout_object.render(form, form_style, context)
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will 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.
Updates the requirements on django-crispy-forms to permit the latest version.
Release notes
Sourced from django-crispy-forms's releases.
Changelog
Sourced from django-crispy-forms's changelog.
... (truncated)
Commits
92b7260
2.1 Release (#1371)fdfd0ce
Dropped support for Django 3.2 (#1370)5f881fa
Update GitHub Action workflows.a3bebc1
Pre-commit updatee3eb35f
Drop Django 4.0 and 4.1. (#1368)4c5cea5
Added Django 5.0 support. (#1367)957d311
Improved Fieldset types. (#1363)3b81cc9
Replace trunk with main/upstream in contributing.rst (#1358)a0913b7
Fix CI badge (#1357)5a6a399
Added minimal RTD configuration file. (#1355)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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show