diff --git a/.bumpversion.cfg b/.bumpversion.cfg index a06a7555..3ef7a396 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,7 +1,7 @@ [bumpversion] commit = False tag = False -current_version = 2.5.0 +current_version = 2.6.0 [bumpversion:file:README.rst] diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7f3d020d..37462d2a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,44 @@ Change history ============== +2.6.0 +===== +*March, 4, 2025* + +**New features** + +* [:open-klant:`233`] Fix set of values for PartijIdentificatoren (ENUM) +* [:open-klant:`267`] Enforce uniqueness of Partij and PartijIdentificatoren +* [:open-klant:`309`] Add separate fields for Dutch addresses next to address lines 1 to 3 +* [:open-klant:`310`] Update BAG ID fields with new validations +* [:open-klant:`311`] Update country codes fields with ISO 3166 + +.. warning:: + + Issues ``#311``, ``#310``, ``#267`` modify existing fields and add new constraints to models, which can cause them to break, + as some previous values will no longer be valid. + During migration, invalid values are logged so that they can be fixed manually and then migrations have to be executed again. + + +**Project maintenance** + +* Upgrading dependencies: + + * Upgrade open-api-framework to 0.9.3 + * Upgrade Django to 4.2.19 + * Upgrade cryptography to 44.0.1 + * [:open-klant:`324`] Upgrade django-setup-configuration to 0.7.1 + * [:open-klant:`324`] Upgrade mozilla-django-oidc-db to 0.22.0 +* [:open-api-framework:`79`] Disable admin nav sidebar +* [:open-api-framework:`99`] Add quick-start workflow to test docker-compose.yml +* [:open-api-framework:`107`] Add release template +* [:open-klant:`299`] Add Nginx to Open Klant helm chart + +**Documentation** + +* [:open-klant:`324`] Update documentation for setup-configuration + + 2.5.0 ===== *January, 28, 2025* diff --git a/README.rst b/README.rst index 7f1ddd88..8f4c444b 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ Open Klant ========== -:Version: 2.5.0 +:Version: 2.6.0 :Source: https://github.com/maykinmedia/open-klant :Keywords: klanten, klantinteracties, contactmomenten, api, common ground :License: EUPL @@ -39,7 +39,10 @@ Open Klant versie API versie Release datum API specificatie ================== ============== ============= ================ master/latest n/a n/a `ReDoc `_, `Swagger `_, - (`diff `_) + (`diff `_) +2.6.0 0.0.4 2025-03-04 `ReDoc `_, + `Swagger `_, + (`diff `_) 2.5.0 0.0.4 2025-01-28 `ReDoc `_, `Swagger `_, (`diff `_) diff --git a/docs/changelog.rst b/docs/changelog.rst new file mode 100644 index 00000000..4068c0e6 --- /dev/null +++ b/docs/changelog.rst @@ -0,0 +1,3 @@ +.. _changelog: + +.. include:: ../CHANGELOG.rst \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 2d4c116c..3681af39 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -39,6 +39,7 @@ extensions = [ "sphinx.ext.autodoc", "sphinx.ext.todo", + "sphinx.ext.extlinks", "sphinx.ext.intersphinx", "sphinx.ext.autodoc", "django_setup_configuration.documentation.setup_config_example", @@ -110,3 +111,15 @@ r"https://.*kvk\.nl*", r"https://gdpr.eu*", ] + +extlinks = { + "open-klant": ("https://github.com/maykinmedia/open-klant/issues/%s", "#%s"), + "open-api-framework": ( + "https://github.com/maykinmedia/open-api-framework/issues/%s", + "#%s", + ), + "charts": ( + "https://github.com/maykinmedia/charts/issues/%s", + "#%s", + ), +} diff --git a/docs/index.rst b/docs/index.rst index 950dde07..9562c559 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -29,3 +29,4 @@ Open Klant `is`_ and only uses open source. installation/index development/index + changelog diff --git a/package-lock.json b/package-lock.json index a1bb87b8..01e5e075 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "openklant", - "version": "2.5.0", + "version": "2.6.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "openklant", - "version": "2.5.0", + "version": "2.6.0", "license": "UNLICENSED", "dependencies": { "microscope-sass": "^2.0.0" diff --git a/package.json b/package.json index bbb2b583..2d6cf920 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "openklant", - "version": "2.5.0", + "version": "2.6.0", "description": "openklant project", "main": "src/static/openklant/js/openklant.js", "directories": { diff --git a/requirements/base.txt b/requirements/base.txt index 28ec796f..210ce489 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -63,14 +63,14 @@ coreapi==2.3.3 # via commonground-api-common coreschema==0.0.4 # via coreapi -cryptography==43.0.0 +cryptography==44.0.1 # via # django-simple-certmanager # josepy # mozilla-django-oidc # pyopenssl # webauthn -django==4.2.17 +django==4.2.19 # via # commonground-api-common # django-admin-index @@ -268,7 +268,7 @@ pyjwt==2.9.0 # via # commonground-api-common # zgw-consumers -pyopenssl==24.2.1 +pyopenssl==25.0.0 # via # josepy # webauthn @@ -339,6 +339,7 @@ typing-extensions==4.12.2 # mozilla-django-oidc-db # pydantic # pydantic-core + # pyopenssl # qrcode # zgw-consumers tzdata==2024.1 diff --git a/requirements/ci.txt b/requirements/ci.txt index dfe22c37..0ab8a3f5 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -136,7 +136,7 @@ coreschema==0.0.4 # coreapi coverage==4.5.4 # via codecov -cryptography==43.0.0 +cryptography==44.0.1 # via # -c requirements/base.txt # -r requirements/base.txt @@ -149,7 +149,7 @@ cssselect==1.2.0 # via pyquery dill==0.3.8 # via pylint -django==4.2.17 +django==4.2.19 # via # -c requirements/base.txt # -r requirements/base.txt @@ -593,7 +593,7 @@ pyjwt==2.9.0 # zgw-consumers pylint==3.2.6 # via -r requirements/test-tools.in -pyopenssl==24.2.1 +pyopenssl==25.0.0 # via # -c requirements/base.txt # -r requirements/base.txt @@ -766,6 +766,7 @@ typing-extensions==4.12.2 # mozilla-django-oidc-db # pydantic # pydantic-core + # pyopenssl # qrcode # zgw-consumers tzdata==2024.1 diff --git a/requirements/dev.txt b/requirements/dev.txt index 3f49e5c4..3f02ec18 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -163,7 +163,7 @@ coverage==4.5.4 # -c requirements/ci.txt # -r requirements/ci.txt # codecov -cryptography==43.0.0 +cryptography==44.0.1 # via # -c requirements/ci.txt # -r requirements/ci.txt @@ -182,7 +182,7 @@ dill==0.3.8 # -c requirements/ci.txt # -r requirements/ci.txt # pylint -django==4.2.17 +django==4.2.19 # via # -c requirements/ci.txt # -r requirements/ci.txt @@ -695,7 +695,7 @@ pylint==3.2.6 # via # -c requirements/ci.txt # -r requirements/ci.txt -pyopenssl==24.2.1 +pyopenssl==25.0.0 # via # -c requirements/ci.txt # -r requirements/ci.txt @@ -921,6 +921,7 @@ typing-extensions==4.12.2 # mozilla-django-oidc-db # pydantic # pydantic-core + # pyopenssl # qrcode # zgw-consumers tzdata==2024.1 diff --git a/src/openklant/__init__.py b/src/openklant/__init__.py index 4c55b101..8e4574a3 100644 --- a/src/openklant/__init__.py +++ b/src/openklant/__init__.py @@ -1,6 +1,6 @@ from .celery import app as celery_app __all__ = ("celery_app",) -__version__ = "2.5.0" +__version__ = "2.6.0" __author__ = "Maykin" __homepage__ = "https://github.com/maykinmedia/open-klant" diff --git a/src/openklant/components/contactgegevens/openapi.yaml b/src/openklant/components/contactgegevens/openapi.yaml index 0176df50..f354379d 100644 --- a/src/openklant/components/contactgegevens/openapi.yaml +++ b/src/openklant/components/contactgegevens/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: title: contactgegevens - version: 1.0.0 + version: 1.1.0 description: |2 Description WIP. diff --git a/src/openklant/components/klantinteracties/openapi.yaml b/src/openklant/components/klantinteracties/openapi.yaml index 0009a6c9..c081ca45 100644 --- a/src/openklant/components/klantinteracties/openapi.yaml +++ b/src/openklant/components/klantinteracties/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: title: klantinteracties - version: 0.0.4 + version: 0.1.0 description: |2 Description WIP. diff --git a/src/openklant/conf/api.py b/src/openklant/conf/api.py index 6551ceeb..8b57df87 100644 --- a/src/openklant/conf/api.py +++ b/src/openklant/conf/api.py @@ -4,10 +4,8 @@ # Remove the reference - we don't have a single API version. del API_VERSION # noqa -KLANTEN_API_VERSION = "1.0.0" -CONTACTMOMENTEN_API_VERSION = "1.0.0" -KLANTINTERACTIES_API_VERSION = "0.0.4" -CONTACTGEGEVENS_API_VERSION = "1.0.0" +KLANTINTERACTIES_API_VERSION = "0.1.0" +CONTACTGEGEVENS_API_VERSION = "1.1.0" REST_FRAMEWORK = BASE_REST_FRAMEWORK.copy() REST_FRAMEWORK["PAGE_SIZE"] = 100