This document records all notable changes to django-bleach. This project adheres to Semantic Versioning.
unreleased changes
Going to 1.0 is long overdue, especially considering SemVer.
- automated pypi releases via github actions
- pre-commit hooks
- python 3.10 support
- docs syntax highlighting #38
- Drop support for django <2.2
- Added support for django 4.0
Thank you to Mark Gregson for providing the changes in this release!
- Fix for #28: Return
empty_valuefor any empty input value - Fix for #27: Mark cleaned data as template safe
- Fix for #25: Respect the
form_classargument - Fix custom widget tests #34
- Fix for #23:
kwargsbeing lost in the default form field.
- Fix for #21: default form field not respecting required fields.
- Default form field set to
forms.BleachFieldformodels.BleachField(Thanks Alirezaja1384) - Introduced testing against Python 3.9
- Handle
Noneas an input value of template tags (Thanks pegler)
- Introduced testing against Python 3.8
- Drop support for Django <1.11
- Test coverage at 100%
- Fix for
BleachFieldset to allowblankornull. (Thanks denisroldan)
- Fix for
BleachFieldreceiving aNonevalue. (Thanks MrkGrgsn)
- 100% coverage achieved
- Changelog updated with
0.5.0changes. (Thanks dyve)
- Added support for bleach's
allowed_protocolskwarg. (Thanks blag) - Bleach dependency is now
>=1.5.0
- Option to pass allowed tags to the
bleachtemplate filter added by Rafał Selewońko. - Moved project to Github.
- Added support for django>=1.9
- Ensure that the
model_instancefield gets updated with the clean value
- The
BleachFieldmodel field now does its own sanitisation, and does not specify a default form field or widget. Developers are expected to provide their own widget as needed.
- Make the package python3 compatible.
- Add
bleach_linkifytemplate filter from whitehat2k13
- Add missing
templatetagspackage, by usingfind_packages() - Correct templatetag name:
bleach.py->bleach_tags.py
- Fix south migration bug
- add south_triple_field for south integration
- clean up files to meet pep8 compliance
- Initial release