Skip to content

Commit

Permalink
Merge pull request #97 from jazzband/release/0.4.0
Browse files Browse the repository at this point in the history
Release 0.4.0
  • Loading branch information
sergei-maertens authored Jun 11, 2023
2 parents 0707e7c + fb265f0 commit 2578fc0
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 12 deletions.
2 changes: 1 addition & 1 deletion cookie_consent/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.0-dev.0"
__version__ = "0.4.0"
19 changes: 13 additions & 6 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@
Changelog
=========

0.4.0 (in development)
----------------------
0.4.0 (2023-06-11)
------------------

.. note::

.. note:: These release notes are incomplete!
The 0.4.0 release mainly has had a project management overhaul. The project has
transferred to the Jazzband organization. This release mostly focuses on Python/Django
version compatibility and organization of tests, CI etc.

.. note:: The 0.4.0 release has had a project management overhaul. There are no
functional changes (yet) to the project, but things *around the project* have changed.
Please check the release notes carefully.
Many thanks for people who reported bugs, and especially, your patience for getting
this release on PyPI.


**Breaking changes**
Expand All @@ -31,6 +34,7 @@ These versions are (nearly) end-of-life and no longer supported by their upstrea
* Fixed support for Django 4.1 (#73) - thanks @alahdal
* Fixed default settings being bytestrings (#24, #55, #69)
* Fixed the middleware to clean cookies (#13) - thanks @some1ataplace
* Fixed bug in JS ``beforeDeclined`` attribute

**Project maintenance**

Expand All @@ -42,6 +46,7 @@ These versions are (nearly) end-of-life and no longer supported by their upstrea
* 'Removed' the example app - the ``testapp`` in the repository is still a good example
* Configured tbump for the release flow
* Confirmed support for Python 3.11 and Django 4.2
* Added explicit template tag tests (#39)

**Documentation**

Expand All @@ -50,6 +55,8 @@ Did some initial restructuring to make the docs easier to digest, more to come.
* Added documentation on how to contribute
* Corrected settings documentation (#53, #14)
* Documented ``cookiebar.js`` usage (#90) - thanks @MrCordeiro
* Added better contributor documentation and example app documentation based on the
``testapp`` in the repository.

0.3.1 (2022-02-17)
------------------
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# see http://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files
[metadata]
name = django-cookie-consent
version = 0.4.0-dev.0
version = 0.4.0
description = Django cookie consent application
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down
12 changes: 8 additions & 4 deletions tbump.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[version]
current = "0.4.0-dev.0"
current = "0.4.0"
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
(\-(?P<pre>.+))?
(?P<pre>\-.+)?
'''

[git]
Expand All @@ -15,8 +15,12 @@ tag_template = "{new_version}"

[[file]]
src = "setup.cfg"
version_template = "{major}.{minor}.{patch}-{pre}"
version_template = "{major}.{minor}.{patch}{pre}"

[[file]]
src = "cookie_consent/__init__.py"
version_template = "{major}.{minor}.{patch}-{pre}"
version_template = "{major}.{minor}.{patch}{pre}"

[[field]]
name = "pre"
default = ""

0 comments on commit 2578fc0

Please sign in to comment.