diff --git a/.bumpversion.cfg b/.bumpversion.cfg index bdccf04..cea8ccf 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,11 +1,15 @@ [bumpversion] commit = False tag = False -current_version = 2.2.2 +current_version = 3.0.0 [bumpversion:file:README.rst] +search = :Version: {current_version} +replace = :Version: {new_version} [bumpversion:file:README.NL.rst] +search = :Version: {current_version} +replace = :Version: {new_version} [bumpversion:file:package.json] search = "version": "{current_version}", diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9ec19cc..9de6e87 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,53 @@ Change history ============== +3.0.0 (2025-01-14) +------------------ + +**Breaking changes** + +* removed v1 endpoints [objects-api/issues/#453] + +2.3.0 (2025-01-10) +------------------ + +**Breaking changes** + +* upgraded ``django-setup-configuration`` to ``0.5.0`` + +.. warning:: + + Previous configuration files used for ``setup_configuration`` do not work. + See the `documentation `_ + for the available settings that can now be configured through ``setup_configuration``. + +* added support for configuring token authorizations through ``django-setup-configuration`` + version ``0.4.0`` [#481] +* added support for configuring ``mozilla-django-oidc-db`` through ``django-setup-configuration`` + version ``0.4.0`` [#480] + +**New features** + +* updated OAF version to 0.9.1. This upgrade allows admin users managing their sessions through the admin. + +**Bugfixes and QOL** + +* fixed ``latest`` docker image tag not being pushed [open-api-framework/#92] +* updated zgw-consumers to 0.35.1 [open-api-framework/#66] + +.. warning:: + + Configuring external services is now done through the ``Service`` model. This + replaces the ``APICredential`` model in the admin interface. A data migration + was added to move to the `Service` model. It is advised to verify the ``Service`` + instances in the admin to check that the data migration was ran as expected. + +**Project maintenance** + +* security updates [open-api-framework/#93] +* switched from ``pip-compile`` to ``uv`` [open-api-framework/#81] +* implementend open-api-workflows [open-api-framework/#13] + 2.2.2 (2024-10-01) ------------------ diff --git a/README.NL.rst b/README.NL.rst index 64d70bf..2a0cd37 100644 --- a/README.NL.rst +++ b/README.NL.rst @@ -2,7 +2,7 @@ Objecttypen API =============== -:Version: 2.2.2 +:Version: 3.0.0 :Source: https://github.com/maykinmedia/objecttypes-api :Keywords: objecten, assets, zaakobjecten @@ -36,7 +36,13 @@ Versie Release datum API specificatie ============== ============== ============================= latest n/a `ReDoc `_, `Swagger `_, - (`verschillen `_) + (`verschillen `_) +3.0.0 2025-01-14 `ReDoc `_, + `Swagger `_ + (`verschillen `_) +2.3.0 2025-01-10 `ReDoc `_, + `Swagger `_ + (`verschillen `_) 2.2.2 2022-08-23 `ReDoc `_, `Swagger `_ (`verschillen `_) diff --git a/README.rst b/README.rst index 79ef3ba..e34a393 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ Objecttypes API =============== -:Version: 2.2.2 +:Version: 3.0.0 :Source: https://github.com/maykinmedia/objecttypes-api :Keywords: objects, assets, zaakobjecten @@ -35,7 +35,13 @@ Version Release date API specification ============== ============== ============================= latest n/a `ReDoc `_, `Swagger `_, - (`diff `_) + (`diff `_) +3.0.0 2025-01-14 `ReDoc `_, + `Swagger `_ + (`diff `_) +2.3.0 2025-01-10 `ReDoc `_, + `Swagger `_ + (`diff `_) 2.2.2 2022-08-23 `ReDoc `_, `Swagger `_ (`diff `_) diff --git a/package-lock.json b/package-lock.json index e45bc2a..e7c6f9f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "objecttypes", - "version": "2.2.2", + "version": "3.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "objecttypes", - "version": "2.2.2", + "version": "3.0.0", "license": "EUPL", "dependencies": { "microscope-sass": "latest", diff --git a/package.json b/package.json index 3872a90..2e9f734 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "objecttypes", - "version": "2.2.2", + "version": "3.0.0", "description": "objecttypes project", "main": "src/objecttypes/static/bundles/objecttypes-js.js", "directories": { diff --git a/publiccode.yaml b/publiccode.yaml index 0877083..f7d3d93 100644 --- a/publiccode.yaml +++ b/publiccode.yaml @@ -7,7 +7,7 @@ publiccodeYmlVersion: '0.2' name: Objecttypes API url: 'http://github.com/maykinmedia/objecttypes-api.git' softwareType: standalone/backend -softwareVersion: 2.2.2 +softwareVersion: 3.0.0 releaseDate: '2021-01-13' logo: 'https://github.com/maykinmedia/objects-api/blob/master/docs/logo.png' platforms: diff --git a/src/objecttypes/api/v2/openapi.yaml b/src/objecttypes/api/v2/openapi.yaml index 226ac23..3dff2a0 100644 --- a/src/objecttypes/api/v2/openapi.yaml +++ b/src/objecttypes/api/v2/openapi.yaml @@ -111,6 +111,7 @@ paths: /objecttypes/{objecttype_uuid}/versions: get: operationId: objectversion_list + description: Retrieve all versions of an OBJECTTYPE parameters: - in: path name: objecttype_uuid @@ -144,6 +145,7 @@ paths: description: OK post: operationId: objectversion_create + description: Create an OBJECTTYPE with the given version. parameters: - in: header name: Content-Type @@ -179,6 +181,7 @@ paths: /objecttypes/{objecttype_uuid}/versions/{version}: get: operationId: objectversion_read + description: Retrieve an OBJECTTYPE with the given version. parameters: - in: path name: objecttype_uuid @@ -208,6 +211,7 @@ paths: description: OK put: operationId: objectversion_update + description: Update an OBJECTTYPE with the given version. parameters: - in: header name: Content-Type @@ -250,6 +254,7 @@ paths: description: OK patch: operationId: objectversion_partial_update + description: Partially update an OBJECTTYPE with the given version. parameters: - in: header name: Content-Type @@ -292,6 +297,7 @@ paths: description: OK delete: operationId: objectversion_delete + description: Destroy the given OBJECTTYPE. parameters: - in: path name: objecttype_uuid diff --git a/src/objecttypes/api/v2/views.py b/src/objecttypes/api/v2/views.py index 1284951..ad35a10 100644 --- a/src/objecttypes/api/v2/views.py +++ b/src/objecttypes/api/v2/views.py @@ -42,8 +42,30 @@ def perform_destroy(self, instance): @extend_schema_view( - retrieve=extend_schema(operation_id="objectversion_read"), - destroy=extend_schema(operation_id="objectversion_delete"), + retrieve=extend_schema( + operation_id="objectversion_read", + description=_("Retrieve an OBJECTTYPE with the given version."), + ), + list=extend_schema( + operation_id="objectversion_list", + description=_("Retrieve all versions of an OBJECTTYPE"), + ), + create=extend_schema( + operation_id="objectversion_create", + description=_("Create an OBJECTTYPE with the given version."), + ), + destroy=extend_schema( + operation_id="objectversion_delete", + description=_("Destroy the given OBJECTTYPE."), + ), + update=extend_schema( + operation_id="objectversion_update", + description=_("Update an OBJECTTYPE with the given version."), + ), + partial_update=extend_schema( + operation_id="objectversion_partial_update", + description=_("Partially update an OBJECTTYPE with the given version."), + ), ) class ObjectVersionViewSet(NestedViewSetMixin, viewsets.ModelViewSet): queryset = ObjectVersion.objects.order_by("object_type", "-version")