Skip to content

Commit

Permalink
Bump version: 2.0.0 → 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marksweb committed May 19, 2022
1 parent 71e4612 commit 63ada81
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ Change Log
This document records all notable changes to [django-bleach](https://github.com/marksweb/django-bleach).
This project adheres to [Semantic Versioning](https://semver.org/).

[unreleased](https://github.com/marksweb/django-bleach/compare/2.0.0...master) changes
[unreleased](https://github.com/marksweb/django-bleach/compare/3.0.0...master) changes
-------------------------------------------------------------------------------------

Version 3.0.0
=============
**19-05-2022**

* Bleach dependency is now at ``>=5,<6`` [#55](https://github.com/marksweb/django-bleach/pull/55) (Thanks [Laityned](https://github.com/Laityned))
* Deprecate bleach's `allowed_styles` kwarg
* Added support for bleach's `css_sanitizer` kwarg
Expand Down
2 changes: 1 addition & 1 deletion django_bleach/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "2.0.0"
__version__ = "3.0.0"

VERSION = __version__.split(".")
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
# built documents.
#
# The short X.Y version.
version = '2.0.0'
version = '3.0.0'
# The full version, including alpha/beta/rc tags.
# release = '1.0.0'

Expand Down
16 changes: 8 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.0.0
current_version = 3.0.0
commit = True
tag = False

Expand All @@ -12,24 +12,24 @@ search = version = '{current_version}'
replace = version = '{new_version}'

[bumpversion:file:CHANGELOG.md]
search =
search =
[unreleased](https://github.com/marksweb/django-bleach/compare/{current_version}...master) changes
-------------------------------------------------------------------------------------
replace =
replace =
[unreleased](https://github.com/marksweb/django-bleach/compare/{new_version}...master) changes
-------------------------------------------------------------------------------------

Version {new_version}
=============
**{utcnow:%%d-%%m-%%Y}**
**{utcnow:%%d-%%m-%%Y}**

[bdist_wheel]
universal = 1

[flake8]
accept-encodings = utf-8,utf-16
max-line-length = 119
exclude =
exclude =
*.egg-info,
.git,
.settings,
Expand All @@ -42,7 +42,7 @@ exclude =
*migrations*,
tests,
data
ignore =
ignore =
E800,
W503,
C812,
Expand All @@ -68,5 +68,5 @@ sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER

[codespell]
skip = ./.git,./.env,./.venv,./.tox,./.eggs,./django_bleach/tests,./docs/_build,./testproject,./htmlcov
count =
count =
quiet-level = 3

2 comments on commit 63ada81

@Laityned
Copy link
Contributor

@Laityned Laityned commented on 63ada81 May 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why a major release and not a minor release?
There where no breaking changes.

Edit:
wait, I see... dropped support for django 2

@marksweb
Copy link
Owner Author

@marksweb marksweb commented on 63ada81 May 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Laityned That's right, given that 2.2 is EOL I had a branch ready to merge dropping that. Also because this forces bleach >=5 I felt that required a major bump.

Please sign in to comment.