diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 25b31cc..11e72f1 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,7 +1,7 @@ [bumpversion] commit = False tag = False -current_version = 0.4.0 +current_version = 0.5.0 [bumpversion:file:setup.cfg] diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 88145d5..fa68bcb 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,18 +2,29 @@ Changelog ========= +0.5.0 (2024-12-20) +------------------ + +* Changes to ``Kanaal.get_kenmerken`` to: + + * support nested kenmerken + * allow using the ``request`` parameter + * specify custom help texts for kenmerken +* Add ``generate_notificaties`` management command (ported over from ``commonground-api-common``) +* Update existing kanalen when running the ``register_kanalen`` management command + 0.4.0 (2024-12-12) ------------------ -* Added an `identifier` field to the ``Subscription`` model -* Introduced support for ``django-setup-configuration`` and added two +* Added an ``identifier`` field to the ``Subscription`` model +* Introduced support for ``django-setup-configuration`` and added two ``ConfigurationStep`` implementations: ``NotificationConfigurationStep`` and ``NotificationSubscriptionConfigurationStep`` 0.3.1 (2024-10-27) ------------------ -* Fixed kanalen not being registered. This regression was introduced in `0.3.0`. +* Fixed kanalen not being registered. This regression was introduced in ``0.3.0``. 0.3.0 (2024-10-24) ------------------ @@ -21,13 +32,14 @@ Changelog * Upgraded Django requirement to >= 4.2 * Upgraded minimum python requirement to >= 3.10 * Added python 3.12 support -* Added the `NOTIFICATIONS_GUARANTEE_DELIVERY` environment variable which allows - `RuntimeError`s to be raised (or not to) whenever no Notifications API is - configured. The default for this setting is set to `True`. +* Added the ``NOTIFICATIONS_GUARANTEE_DELIVERY`` environment variable which allows + ``RuntimeError`` to be raised (or not to) whenever no Notifications API is + configured. The default for this setting is set to ``True``. * Upgraded zgw-consumers to 0.35.1 - * This removed support for retrieving external OAS files to determine - * This requires `zgw_consumers.models.Service` ("service") instances to be - created to do external API calls through `zgw_consumer` + + * This removed support for retrieving external OAS files to determine + * This requires ``zgw_consumers.models.Service`` ("service") instances to be + created to do external API calls through ``zgw_consumers`` 0.2.2 (2023-04-20) ------------------ diff --git a/README.rst b/README.rst index b479fb5..b78fb68 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ notifications-api-common ======================== -:Version: 0.4.0 +:Version: 0.5.0 :Source: https://github.com/maykinmedia/notifications-api-common :Keywords: notifications, REST, API, Common Ground, ZGW :PythonVersion: 3.10 diff --git a/docs/changelog.rst b/docs/changelog.rst new file mode 100644 index 0000000..565b052 --- /dev/null +++ b/docs/changelog.rst @@ -0,0 +1 @@ +.. include:: ../CHANGELOG.rst diff --git a/docs/conf.py b/docs/conf.py index 4099bce..3b6ee5c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -26,7 +26,7 @@ author = "Maykin Media" # The full version, including alpha/beta/rc tags -release = "0.4.0" +release = "0.5.0" # -- General configuration --------------------------------------------------- diff --git a/docs/index.rst b/docs/index.rst index f995ef3..632e886 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -24,6 +24,7 @@ Features quickstart setup_config + changelog Indices and tables diff --git a/notifications_api_common/locale/en/LC_MESSAGES/django.po b/notifications_api_common/locale/en/LC_MESSAGES/django.po index 513231a..bce13a4 100644 --- a/notifications_api_common/locale/en/LC_MESSAGES/django.po +++ b/notifications_api_common/locale/en/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: 0.3.1\n" +"Project-Id-Version: 0.5.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-12-12 15:28+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" diff --git a/notifications_api_common/locale/nl/LC_MESSAGES/django.po b/notifications_api_common/locale/nl/LC_MESSAGES/django.po index 730b4a9..7d651b0 100644 --- a/notifications_api_common/locale/nl/LC_MESSAGES/django.po +++ b/notifications_api_common/locale/nl/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: 0.3.1\n" +"Project-Id-Version: 0.5.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-12-12 15:28+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" diff --git a/setup.cfg b/setup.cfg index 6fd15ee..43a9f0f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,7 +2,7 @@ # see http://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files [metadata] name = notifications-api-common -version = 0.4.0 +version = 0.5.0 description = Re-usable integration layer for the Common Ground Notifications API specification. long_description = file: README.rst url = https://github.com/maykinmedia/notifications-api-common