Skip to content

Commit ade4514

Browse files
🔖 Release 2.6.0
1 parent 447d4e6 commit ade4514

File tree

12 files changed

+49
-23
lines changed

12 files changed

+49
-23
lines changed

.bumpversion.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[bumpversion]
22
commit = False
33
tag = False
4-
current_version = 2.5.0
4+
current_version = 2.6.0
55

66
[bumpversion:file:README.rst]
77

CHANGELOG.rst

+33
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,39 @@
22
Change history
33
==============
44

5+
2.6.0
6+
=====
7+
*February, 28, 2025*
8+
9+
**New features**
10+
11+
* [#233] Fix set of values for PartijIdentificatoren (ENUM)
12+
* [#267] Enforce uniqueness of Partij and PartijIdentificatoren
13+
* [#309] Add separate fields for dutch addresses
14+
* [#310] Update BAG ID fields with new validations
15+
* [#311] Update country codes fields with ISO 3166
16+
17+
.. warning::
18+
19+
Issues ``#311``, ``#310``, ``#267`` modify existing fields and add new constraints to models, which can cause them to break,
20+
as some previous values will no longer be valid.
21+
During migration, invalid values are logged so that they can be fixed manually and then migrations have to be executed again.
22+
23+
24+
**Project maintenance**
25+
26+
* Upgrade open-api-framework to 0.9.3
27+
* [#324] Upgrade django-setup-configuration to 0.7.1
28+
* [#324] Upgrade mozilla-django-oidc-db to 0.22.0
29+
* [maykinmedia/open-api-framework#79] Disable admin nav sidebar
30+
* [maykinmedia/open-api-framework#99] Add quick-start workflow to test docker-compose.yml
31+
* [maykinmedia/open-api-framework#107] Add prepare release template
32+
33+
**Documentation**
34+
35+
* [#324] Update documentation for setup-configuration
36+
37+
538
2.5.0
639
=====
740
*January, 28, 2025*

README.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Open Klant
33
==========
44

5-
:Version: 2.5.0
5+
:Version: 2.6.0
66
:Source: https://github.com/maykinmedia/open-klant
77
:Keywords: klanten, klantinteracties, contactmomenten, api, common ground
88
:License: EUPL
@@ -39,10 +39,10 @@ Open Klant versie API versie Release datum API specificatie
3939
================== ============== ============= ================
4040
master/latest n/a n/a `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/open-klant/master/src/openklant/components/klantinteracties/openapi.yaml>`_,
4141
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/open-klant/master/src/openklant/components/klantinteracties/openapi.yaml>`_,
42-
(`diff <https://github.com/maykinmedia/open-klant/compare/2.5.0..master>`_)
43-
2.5.0 0.0.4 2025-01-28 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/open-klant/2.5.0/src/openklant/components/klantinteracties/openapi.yaml>`_,
44-
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/open-klant/2.5.0/src/openklant/components/klantinteracties/openapi.yaml>`_,
45-
(`diff <https://github.com/maykinmedia/open-klant/compare/2.4.0..2.5.0>`_)
42+
(`diff <https://github.com/maykinmedia/open-klant/compare/2.6.0..master>`_)
43+
2.6.0 0.0.4 2025-01-28 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/open-klant/2.6.0/src/openklant/components/klantinteracties/openapi.yaml>`_,
44+
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/open-klant/2.6.0/src/openklant/components/klantinteracties/openapi.yaml>`_,
45+
(`diff <https://github.com/maykinmedia/open-klant/compare/2.4.0..2.6.0>`_)
4646
2.4.0 0.0.3 2024-11-22 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/open-klant/2.4.0/src/openklant/components/klantinteracties/openapi.yaml>`_,
4747
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/open-klant/2.4.0/src/openklant/components/klantinteracties/openapi.yaml>`_,
4848
(`diff <https://github.com/maykinmedia/open-klant/compare/2.3.0..2.4.0>`_)

docs/installation/config.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ Optional
9090
* ``NUM_PROXIES``: the number of reverse proxies in front of the application, as an integer. This is used to determine the actual client IP adres. On Kubernetes with an ingress you typically want to set this to 2. Defaults to: ``1``.
9191
* ``CSRF_TRUSTED_ORIGINS``: A list of trusted origins for unsafe requests (e.g. POST). Defaults to: ``[]``.
9292
* ``NOTIFICATIONS_DISABLED``: indicates whether or not notifications should be sent to the Notificaties API for operations on the API endpoints. Defaults to ``True`` for the ``dev`` environment, otherwise defaults to ``False``.
93+
* ``SENTRY_DSN``: URL of the sentry project to send error reports to. Default empty, i.e. -> no monitoring set up. Highly recommended to configure this.
9394
* ``DISABLE_2FA``: Whether or not two factor authentication should be disabled. Defaults to: ``False``.
9495
* ``LOG_OUTGOING_REQUESTS_EMIT_BODY``: Whether or not outgoing request bodies should be logged. Defaults to: ``True``.
9596
* ``LOG_OUTGOING_REQUESTS_DB_SAVE``: Whether or not outgoing request logs should be saved to the database. Defaults to: ``False``.
9697
* ``LOG_OUTGOING_REQUESTS_DB_SAVE_BODY``: Whether or not outgoing request bodies should be saved to the database. Defaults to: ``True``.
9798
* ``LOG_OUTGOING_REQUESTS_MAX_AGE``: The amount of time after which request logs should be deleted from the database. Defaults to: ``7``.
98-
* ``SENTRY_DSN``: URL of the sentry project to send error reports to. Default empty, i.e. -> no monitoring set up. Highly recommended to configure this.
9999

100100

101101

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openklant",
3-
"version": "2.5.0",
3+
"version": "2.6.0",
44
"description": "openklant project",
55
"main": "src/static/openklant/js/openklant.js",
66
"directories": {

requirements/base.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ mozilla-django-oidc-db==0.22.0
240240
# open-api-framework
241241
notifications-api-common==0.3.1
242242
# via commonground-api-common
243-
open-api-framework==0.9.2
243+
open-api-framework==0.9.3
244244
# via -r requirements/base.in
245245
orderedmultidict==1.0.1
246246
# via furl
@@ -371,4 +371,3 @@ zgw-consumers==0.35.1
371371
# via
372372
# commonground-api-common
373373
# notifications-api-common
374-
# open-api-framework

requirements/ci.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ notifications-api-common==0.3.1
507507
# -c requirements/base.txt
508508
# -r requirements/base.txt
509509
# commonground-api-common
510-
open-api-framework==0.9.2
510+
open-api-framework==0.9.3
511511
# via
512512
# -c requirements/base.txt
513513
# -r requirements/base.txt
@@ -837,4 +837,3 @@ zgw-consumers==0.35.1
837837
# -r requirements/base.txt
838838
# commonground-api-common
839839
# notifications-api-common
840-
# open-api-framework

requirements/dev.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ notifications-api-common==0.3.1
582582
# -c requirements/ci.txt
583583
# -r requirements/ci.txt
584584
# commonground-api-common
585-
open-api-framework==0.9.2
585+
open-api-framework==0.9.3
586586
# via
587587
# -c requirements/ci.txt
588588
# -r requirements/ci.txt
@@ -1006,4 +1006,3 @@ zgw-consumers==0.35.1
10061006
# -r requirements/ci.txt
10071007
# commonground-api-common
10081008
# notifications-api-common
1009-
# open-api-framework

src/openklant/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from .celery import app as celery_app
22

33
__all__ = ("celery_app",)
4-
__version__ = "2.5.0"
4+
__version__ = "2.6.0"
55
__author__ = "Maykin"
66
__homepage__ = "https://github.com/maykinmedia/open-klant"

src/openklant/conf/api.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44
# Remove the reference - we don't have a single API version.
55
del API_VERSION # noqa
66

7-
KLANTEN_API_VERSION = "1.0.0"
8-
CONTACTMOMENTEN_API_VERSION = "1.0.0"
9-
KLANTINTERACTIES_API_VERSION = "0.0.4"
10-
CONTACTGEGEVENS_API_VERSION = "1.0.0"
7+
KLANTINTERACTIES_API_VERSION = "0.1.0"
8+
CONTACTGEGEVENS_API_VERSION = "1.1.0"
119

1210
REST_FRAMEWORK = BASE_REST_FRAMEWORK.copy()
1311
REST_FRAMEWORK["PAGE_SIZE"] = 100

src/openklant/conf/base.py

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
from .api import * # noqa
55

6-
init_sentry()
7-
86
#
97
# APPLICATIONS enabled for this project
108
#

0 commit comments

Comments
 (0)