Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@
Change history
==============

2.18.1
======
*September 3, 2026*

**Maintenance**
Comment thread
Floris272 marked this conversation as resolved.

* Upgrade python dependencies

* ``notifications-api-common`` to 0.13.1


* [:open-api-workflows:`64`] Add action to generate and update Docker Hub description
* [:open-api-framework:`228`] Add environment variable CELERY_RESULT_EXPIRES to change how long the results will be stored in Redis (see :ref:`installation_env_config` > Celery for more information)

**Bugfixes**

* [:open-klant:`656`] Change notification kenmerken back to use string values to ensure compliance with Notificaties API specification

2.18.0
======
*August 18, 2026*
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Open Klant
:height: 100px
:alt: Open Klant

:Version: 2.18.0
:Version: 2.18.1
:Source: https://github.com/maykinmedia/open-klant
:Keywords: klanten, klantinteracties, contactgegevens, api, common ground
:License: EUPL
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openklant",
"version": "2.18.0",
"version": "2.18.1",
"description": "openklant project",
"main": "src/static/openklant/js/openklant.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ requires-python = "== 3.12"
[tool.bumpversion]
commit = false
tag = false
current_version = "2.18.0"
current_version = "2.18.1"
pre_commit_hooks = [
"npm i", # ensure that package-lock.json is updated
]
Expand Down
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ mozilla-django-oidc-db==2.0.1
# via
# -r requirements/base.in
# open-api-framework
notifications-api-common==0.13.0
notifications-api-common==0.13.1
# via commonground-api-common
open-api-framework==0.14.1
# via -r requirements/base.in
Expand Down
2 changes: 1 addition & 1 deletion requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ mozilla-django-oidc-db==2.0.1
# -c requirements/base.txt
# -r requirements/base.txt
# open-api-framework
notifications-api-common==0.13.0
notifications-api-common==0.13.1
# via
# -c requirements/base.txt
# -r requirements/base.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ mozilla-django-oidc-db==2.0.1
# open-api-framework
nodeenv==1.9.1
# via pre-commit
notifications-api-common==0.13.0
notifications-api-common==0.13.1
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
Expand Down
2 changes: 1 addition & 1 deletion src/openklant/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .celery import app as celery_app

__all__ = ("celery_app",)
__version__ = "2.18.0"
__version__ = "2.18.1"
__author__ = "Maykin"
__homepage__ = "https://github.com/maykinmedia/open-klant"
1 change: 0 additions & 1 deletion src/openklant/celery/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
assert app.steps is not None
app.steps["worker"].add(DjangoStructLogInitStep)
app.steps["worker"].add(EventLoopProbe)

app.autodiscover_tasks()
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def to_internal_value(self, data) -> OrderedDict:

return internal_value

def to_representation(self, instance) -> OrderedDict:
def to_representation(self, instance, context: dict | None = None) -> OrderedDict:
discriminator_value = getattr(instance, self.discriminator_field)
serializer = self.mapping.get(discriminator_value)
if serializer is None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ def setUpTestData(cls):
"taal": "nld",
"vertrouwelijk": False,
"hoofdOnderwerpType": "https://openzaak-zgw.maykin.nl/catalogi/api/v1/zaaktypen/b51b2a95-36ab-4628-8dbe-c2ecabc23afa",
"indicatieContactGelukt": False,
"verdereActieOndernomen": False,
"indicatieContactGelukt": "False",
"verdereActieOndernomen": "False",
}

def test_send_notification_create_object(self, m):
Expand All @@ -348,8 +348,8 @@ def test_send_notification_create_object(self, m):
"aanmaakdatum": "2024-02-02T00:00:00Z",
"kenmerken": {
"hoofdOnderwerpType": "https://openzaak-zgw.maykin.nl/catalogi/api/v1/zaaktypen/b51b2a95-36ab-4628-8dbe-c2ecabc23afa",
"indicatieContactGelukt": False,
"verdereActieOndernomen": False,
"indicatieContactGelukt": "False",
"verdereActieOndernomen": "False",
},
},
None,
Expand All @@ -371,8 +371,8 @@ def test_send_notification_update_object(self, m):
"aanmaakdatum": "2024-02-02T00:00:00Z",
"kenmerken": {
"hoofdOnderwerpType": "https://openzaak-zgw.maykin.nl/catalogi/api/v1/zaaktypen/b51b2a95-36ab-4628-8dbe-c2ecabc23afa",
"indicatieContactGelukt": False,
"verdereActieOndernomen": False,
"indicatieContactGelukt": "False",
"verdereActieOndernomen": "False",
},
},
None,
Expand All @@ -396,8 +396,8 @@ def test_send_notification_partial_update_object(self, m):
"aanmaakdatum": "2024-02-02T00:00:00Z",
"kenmerken": {
"hoofdOnderwerpType": "",
"indicatieContactGelukt": False,
"verdereActieOndernomen": False,
"indicatieContactGelukt": "False",
"verdereActieOndernomen": "False",
},
},
None,
Expand All @@ -418,8 +418,8 @@ def test_send_notification_delete_object(self, m):
"aanmaakdatum": "2024-02-02T00:00:00Z",
"kenmerken": {
"hoofdOnderwerpType": "",
"indicatieContactGelukt": True,
"verdereActieOndernomen": False,
"indicatieContactGelukt": "True",
"verdereActieOndernomen": "False",
},
},
None,
Expand Down Expand Up @@ -448,8 +448,8 @@ def test_send_notification_maak_klantcontact(self, m):
"aanmaakdatum": "2024-02-02T00:00:00Z",
"kenmerken": {
"hoofdOnderwerpType": "",
"indicatieContactGelukt": False,
"verdereActieOndernomen": False,
"indicatieContactGelukt": "False",
"verdereActieOndernomen": "False",
},
},
None,
Expand Down