All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
Added
for new features.Changed
for changes in existing functionality.Deprecated
for soon-to-be removed features.Developer
for changes to the developer experience.Fixed
for bug fixes.Removed
for now removed features.Security
in case of vulnerabilities.
- Python support for 3.12 [#61]
- Django support for 4.1 and 4.2 [#61]
django-crispy-forms
updated to 2.x [#61]
- Django support for 2.2, 3.0, and 3.1 [#61]
TBXFORMS_ALLOW_HTML_LABEL
,TBXFORMS_ALLOW_HTML_HELP_TEXT
, andTBXFORMS_ALLOW_HTML_BUTTON
settings (developers must now mark strings as safe to render markup) [#61] [#62]sass
support for <1.33.0 [#60]
- Documentation referencing an incorrect CSS import path
|safe
is no longer applied within templates [#61]
- Support for dividers on checkbox fields
- form.helper (
FormHelper
) changed from a static@property
to the form's__init__
method to allow changes at runtime - Update documentation and examples to use
Field
subclass methods (e.g.Field.select
) to avoid passingcontext
dictionary toField
(https://crispy-forms-gds.readthedocs.io/en/latest/reference/layout/field.html) BaseForm
renamed toTbxFormsMixin
to more accurately convey what it is- Styles no longer depend on the form having the
.tbxforms
class
- Template linting to CI using
djlint
- Snapshot formatting check to CI using
djlint
- Autoformatting of snapshots using
djlint
- Testing across Django versions 2.2 - 4.0 and Python versions 3.8 - 3.11 using
tox
- Use snapshot testing plugin (syrupy) for component rendering tests instead of HTML fixtures
Field.select
label size and tag can be changedDateInputField
no longer raises aValueError
when given invalid input (aValidationError
is raised instead)DateInputField
withrequired=False
no longer raises aValueError
when no values are passedDateInputField
no longer errors withOverflowError
when large values are passed