Skip to content

Latest commit

 

History

History
183 lines (148 loc) · 5.16 KB

CHANGELOG.md

File metadata and controls

183 lines (148 loc) · 5.16 KB

Change Log

This document records all notable changes to django-bleach. This project adheres to Semantic Versioning.

unreleased changes

Version 3.1.0

05-08-2023

  • Added support for django 4.2
  • Added support for python 3.12
  • Revamp package for easier maintenance

Version 3.0.1

11-10-2022

  • Added support for django 4.1

Version 3.0.0

19-05-2022

  • Bleach dependency is now at >=5,<6 #55 (Thanks Laityned)
  • Deprecate bleach's allowed_styles kwarg
  • Added support for bleach's css_sanitizer kwarg
  • Add isort and codespell to ci
  • Dropped support for python 3.6 and 3.7 as well as django 3.0 and 3.1
  • Renamed default branch from master to main. If you have the project locally, you can update using:
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

Version 2.0.0

08-04-2022
  • cap bleach version at <5 #51
  • drop support for python 3.6
  • drop support for django 3.0 and 3.1
  • added support for django 4

Version 1.0.0

13-11-2021

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

Version 0.9.0

28-09-2021
  • Drop support for django <2.2
  • Added support for django 4.0

Version 0.8.0

18-09-2021

Thank you to Mark Gregson for providing the changes in this release!

  • Fix for #28: Return empty_value for any empty input value
  • Fix for #27: Mark cleaned data as template safe
  • Fix for #25: Respect the form_class argument
  • Fix custom widget tests #34

Version 0.7.2

27-07-2021
  • Fix for #23: kwargs being lost in the default form field.

Version 0.7.1

23-07-2021
  • Fix for #21: default form field not respecting required fields.

Version 0.7.0

09-07-2021
  • Default form field set to forms.BleachField for models.BleachField (Thanks Alirezaja1384)
  • Introduced testing against Python 3.9

Version 0.6.1

07-11-2019
  • Handle None as an input value of template tags (Thanks pegler)

Version 0.6.0

18-10-2019
  • Introduced testing against Python 3.8
  • Drop support for Django <1.11
  • Test coverage at 100%

Version 0.5.3

16-04-2019
  • Fix for BleachField set to allow blank or null. (Thanks denisroldan)

Version 0.5.2

15-03-2019
  • Fix for BleachField receiving a None value. (Thanks MrkGrgsn)

Version 0.5.1

12-02-2019
  • 100% coverage achieved
  • Changelog updated with 0.5.0 changes. (Thanks dyve)

Version 0.5.0

02-02-2019
  • Added support for bleach's allowed_protocols kwarg. (Thanks blag)
  • Bleach dependency is now >=1.5.0

Version 0.4.1

24-01-2019
  • Option to pass allowed tags to the bleach template filter added by Rafał Selewońko.
  • Moved project to Github.

Version 0.4.0

18-12-2018
  • Added support for django>=1.9
  • Ensure that the model_instance field gets updated with the clean value

Version 0.3.0

20-09-2014
  • The BleachField model 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.

Version 0.2.1

02-09-2014
  • Make the package python3 compatible.

Version 0.2.0

14-02-2014

Version 0.1.5

25-09-2013

Version 0.1.4

03-06-2013

Version 0.1.3

22-08-2012
  • Add missing templatetags package, by using find_packages()
  • Correct templatetag name: bleach.py -> bleach_tags.py

Version 0.1.2

13-08-2012
  • Fix south migration bug

Version 0.1.1

13-08-2012
  • add south_triple_field for south integration
  • clean up files to meet pep8 compliance

Version 0.1.0

13-08-2012
  • Initial release