diff --git a/CHANGELOG.rst b/CHANGELOG.rst index dba43328..813a7458 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,5 +1,12 @@ =========== Wijzigingen +=========== +1.3.1 (2023-02-21) +=========== +* add search parameters to request body of `_zoek`. +* set vng-api-common to 2.0.4. +* remove standard /api/v1 prefix from OAS generation. + =========== 1.3.0 (2022-12-19) =========== @@ -31,7 +38,7 @@ Implementation changes ---------------------- * Corrected ZIO create documentation -* Added new notifications module +* Added new notifications module * replaced ``drf-yasg`` by ``drf-spectacular`` due to yasg not supporting Django 3.2 * Add missing ``bleach`` dependency diff --git a/README.rst b/README.rst index 12937bce..15e14ebc 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ Zaken API ========= -:Version: 1.3.0 +:Version: 1.3.1 :Source: https://github.com/VNG-Realisatie/zaken-api :Keywords: zaken, zaakgericht werken, GEMMA, RGBZ, ZRC diff --git a/package.json b/package.json index d4d594b5..9d6bef51 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zrc", - "version": "1.3.0", + "version": "1.3.1", "description": "zrc referentie implementatie API", "directories": { "doc": "doc" diff --git a/src/openapi.yaml b/src/openapi.yaml index 37be32a5..06f888d9 100644 --- a/src/openapi.yaml +++ b/src/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: title: Zaken API - version: 1.3.0 + version: 1.3.1 description: "Een API om een zaakregistratiecomponent (ZRC) te benaderen. diff --git a/src/zrc/api/tests/test_dso_api_strategy.py b/src/zrc/api/tests/test_dso_api_strategy.py index db8e438d..b7640b74 100644 --- a/src/zrc/api/tests/test_dso_api_strategy.py +++ b/src/zrc/api/tests/test_dso_api_strategy.py @@ -23,7 +23,7 @@ def test_api_19_documentation_version_yaml(self): @override_settings(ROOT_URLCONF="zrc.api.tests.test_urls") def test_api_24_version_header(self): response = self.client.get("/test-view") - self.assertEqual(response["API-version"], "1.3.0") + self.assertEqual(response["API-version"], "1.3.1") class DSOApi50Tests(APITestCase): diff --git a/src/zrc/api/tests/test_zaak_zoek.py b/src/zrc/api/tests/test_zaak_zoek.py index 58d67810..bec7248e 100644 --- a/src/zrc/api/tests/test_zaak_zoek.py +++ b/src/zrc/api/tests/test_zaak_zoek.py @@ -375,9 +375,16 @@ def test_zoek_rol__omschrijving_generiek(self): def test_zoek_maximale_vertrouwelijkheidaanduidingn(self): zaak1, zaak2, zaak3 = ZaakFactory.create_batch(3) url = get_operation_url("zaak__zoek") + + zaak1.vertrouwelijkheidaanduiding = VertrouwelijkheidsAanduiding.vertrouwelijk + zaak1.save() + zaak2.vertrouwelijkheidaanduiding = VertrouwelijkheidsAanduiding.openbaar zaak2.save() + zaak3.vertrouwelijkheidaanduiding = VertrouwelijkheidsAanduiding.confidentieel + zaak3.save() + data = { "maximale_vertrouwelijkheidaanduiding": zaak2.vertrouwelijkheidaanduiding } diff --git a/src/zrc/conf/includes/api.py b/src/zrc/conf/includes/api.py index a2e5554a..3f234ee1 100644 --- a/src/zrc/conf/includes/api.py +++ b/src/zrc/conf/includes/api.py @@ -2,7 +2,7 @@ from vng_api_common.conf.api import * # noqa - imports white-listed -API_VERSION = "1.3.0" +API_VERSION = "1.3.1" REST_FRAMEWORK = BASE_REST_FRAMEWORK.copy() REST_FRAMEWORK["PAGE_SIZE"] = 100