- Changed: Catalogi referentie implementatie geeft tekstueel aan geforceerd-bijwerken ipv geforceerd-schrijven #2302
- Changed: zaakobjecttype to resultaattype.py and statustype.py as read_only. Inside zaakobjecttype, resultaattype and statustype POSTable, not required. #2334
- Added feature in perform_create to automatically add zaaktype relations
- Added feature in perform_create to besluittype to add zaaktype relations
- Added query parameter "datumGeldigheid" to the GET (retrieve) request
- Changed: Moved geldigheid datum validation into the PUBLISH operation from the POST operation
- Changed: Updated perform_create for gerelateerde_zaken to create correct relations
- Changed: Refactored views and updated openapi documentation
- Changed: ZIOT relatie class now uses a char model instead of a foreignfield model for informatieobjecttype
- Changed: informatieobjecttype correlates its zaaktype now through a custom serializer
- Changed: zaaktype now correlates its informatieobjecttype through a custom serializer
- Changed: zaaktype serializer outputs informatieobject URL instead of omschrijvingen
- Changed: Disabled notification in base
- Changed: post to block creation of two concepts for one zaaktype
- Changed: Zaken publish restrictions adapted to the new history model
- Fixed: Query parameter in retrieve /zaaktypen gave incorrect dates
- Fixed: Unit test using incorrect ZIOT information
- Fixed: URL creation in viewsets
- Removed: NotificationViewSetMixin from imports
- Removed hard-coded strings in extract_relevant_m2m
- Updated favicon to VNG logo
- Introduce two new scopes, 'documenten.lezen' and 'zaken.lezen', in the catalogi-api.
- These new scopes inherit permissions from the existing 'catalogi.lezen' scope.
- The addition of these scopes is essential to support the new expand model.
- The expand model involves requesting data from the catalogi-api via the documenten-api and zaken-api.
- Fixed generation of openapi.yaml to not include
/api/v1
- Bumps
vng-api-common
to version2.0.4
- Sets baseUrl to production server
- Added
ENV
variable to turn off Notifications when running in a Container
- Added 'omschrijving_generiek' to informatieobjecttype (Issue 1847):
- Added 'trefwoorden' to informatieobjecttype (Issue 2058):
- Added "geforceerd-schrijven" scope to all resources to allow
Correcties
. (Issue 1923): - Added
Eigenschap.catalogus
(Issue 1879): - Added
ZaakTypeInformatieObjectType.catalogus
(Issue 1879): - Added
StatusType.catalogus
(Issue 1879): - Added
resulttaattypenOmschrijving
andvastgelegdIn
fields toBesluitType
(Issue 1847): - Added
BesluitType.resultaattypen
(Issue 1847): - Added
Catalogus.naam
(Issue 1847): - Added
Eigenschap.zaaktype
,Eigenschap.statustype
andEigenschap.statustype
(Issue 1847): - Added
InformatieObjectType.zaaktype
andInformatieObjectType.besluittypen
(Issue 1847): - Added the following fields to
ResultaatType
: (Issue 1847): catalogus
besluittypen
informatieobjecttypen
- Added the following fields to
- Added
RolType.catalogus
(Issue 1879): - Added
StatusType.doorlooptijd
andStatusType.eigenschappen
(Issue 1847): - Added the following fields to
ZaakType
: (Issue 1847): verantwoordelijke
zaakobjecttypen
broncatalogus
bronzaaktype
- Added the following fields to
- Added Zaakobjecttype resource (Issue 1864): (Issue 1880);
- Added new notifications module (Issue 1918);
- replaced drf-yasg by drf-spectacular because yasg does not support Django 3.2 (Issue 1918);
- Updated dependencies (Issue 1918);
- Update python requirements (e.g django upgraded to 3.2) (Issue 1918);
- Replace Gulp with Webpack (Issue 1918);
- Change
ResultaatType.omschrijving
max length from 20 to 30 (`Issue 1766`_); - Change unique constraint of
ZaakType.omschrijving
&ZaakType.catalogus
toZaakType.identificatie
&ZaakType.catalogus
(Issue 1639);
Bugfix release
- Fix being able to set eindeGeldigheid=null
- [VNG-Realisatie/gemma-zaken#1976] Fixed the API schema documentation for publish actions
- Add spectral config file to fix CI build
- Fixed incorrect ETag headers and documentation in API schema
Bugfix release
- Fix being able to set eindeGeldigheid=null
- [VNG-Realisatie/gemma-zaken#1976] Fixed the API schema documentation for publish actions
- Add spectral config file to fix CI build
There were other reference implementation fixes between 1.0.0 and 1.0.1 that didn't affect the API schema. For those changes, check the commit history.
- Added ETag headers to the several resources.
- Added HEAD-method operation to several resources.
- Fixed several field descriptions.
- Compacted common response bodies in the schema.
tada: | Release the 1.0 API spec version |
---|
Set of fixes/features in RC2
- Added unique validation on
InformatieobjectType.catalogus
andInformatieobjectType.omschrijving
(constraint existed in DB before that, prevents crashes) - Added unique validation on
ZaakInformatieobjectType.zaaktype
andZaakInformatieobjectType.volgnummer
(constraint existed in DB before that, prevents crashes) - Added scope
catalogi.geforceerd-verwijderen
which allows deletion of published resources - intended for administrators/superusers. - Relaxed format of
Zaaktype.identificatie
- now allows alpha-numeric strings instead of integers.
The authorization scopes are renamed - the
zaaktypes
prefix is replaced bycatalogi
:catalogi.lezen
catalogi.schrijven
catalogi.geforceerd-verwijderen
(new)
BesluitType.zaaktypes
is renamed toBesluittype.zaaktypen
to be more consistent.
Set aan fixes op RC2
- Added support for (partial) updating (
PUT
andPATCH
operations) - Added concept-validation during updates
- Fixed schema of
GegevensGroep
- often allowed to benull
- Fixed handling of
Zaaktype.einddatumGeldigheid
- this is now exclusive instead of inclusive - Added support for
Zaaktype.deelzaaktypen
- On publish of
ZaakType
, check that there are no unpublished related objects - Changed permission errors to the correct validation errors during publishing
- Added validation that requires related objects to belong to the same catalogus
- Filtering on bad/unexpected URLs now returns an empty result list instead of validation errors.
Second release candidate.
- Documented the validation rules for
Zaaktype
create - Documented the possible options for
ResultaatType.afleidingswijze
- Documented the possible options for
Objecttype
- Fixed dumpdata fixture view (thanks Bart Jeukendrup)
- Added notifications channels for
Zaaktype
,Besluittype
andInfomratieobjecttype
- Updated dependencies to latest stable/secure versions
- Fixed issue with incorrect serialization if
Resultaattype.archiefactietermijn
derived fromselectielijstklasse
- Added validation of query parameters to all endpoints taking filter parameters
- Normalized enums to be lowercased, alpha-numeric with underscores only:
EigenschapSpecificatie.formaat
- Added explicit UniqueTogetherValidator for
Besluittype.catalogus
andBesluittype.omschrijving
- Added date overlap validation in ZTC while writing
Zaaktype
objects - Added resource validation for
Zaaktype.selectielijstProcestype
- Added resource validation for
Resultaattype.selectielijstklasse
- Added procestype match validation on
Resultaattype.selectielijstklasse
andResultaattype.zaaktype
- Added initial validation for
Resultaattype.brondatumArchiefprocedure.afleidingwijze
based onselectielijstklasse.procestermijn
- Added validation to
Resultaattype.brondatumArchiefprocedure
Release candidate tag
- Bumped to vng-api-common 1.0.0
- Bumped version numbers to 1.0.0-rc
RolType.mogelijkeBetrokkenen
verwijderd
Consistency & bugfix release
Includes the 0.16.0 changelog.
- Updated to latest vng-api-common
- Updated documentation
- Added
StatusType.informeren
- Fixed resource validation for
ResultaatType.resultaattypeomschrijving
- Renamed constants snake_case format
- Replaced
JaNee
enum withBooleanField
- Lowercased relation names (
statusType
etc. tostatustype
)
Maturity improvement
- Added create/destroy actions to resources, making the ZTC writable
- Removed
datumBeginGeldigheid
anddatumEindeGeldigheid
from models directly linked toZaaktype
- this is derived fromZaaktype
instead - Added
concept
(=draft) fields to resources. Resources may be modified as long as they're in 'concept' status. Once concept status is set tofalse
, no modifications are allowed, not on related objects either. - Added filters for concept/published/all status
- Added filters for relations (catalogus, zaaktype...)
- Added pagination to the collections
- Update to Django LTS version (2.2)
- Set up CI/CD for
develop
branch as well - Improved admin interface w/r to
ArrayField
presentation/UI - Added management command to migrate to new domains
Fixed URL reversing in the admin
Fixed bug in docker start script preventing fixtures from being loaded.
Zaaktype-versioning & small features release
- Added
Zaaktype.beginGeldigheid
andZaaktype.eindGeldigheid
, which determine when aZaaktype
is 'active' - Dropped unique constraint on
(catalogus, identificatie)
and added a check onbeginGeldigheid
-eindGeldigheid
ranges. They may not overlap for a given(catalogus, identificatie)
combination. This effectively allows you to create new versions ofZaaktype
. - Bumped dependencies to latest security releases
- Translated API specs
- Added fixture loading to container startup script
Quality of life update
- Enabled notifications application so that ZTC can subscribe to
autorisaties
channel - Fixed bunch of translations
- Added
Zaaktype.beginGeldigheid
andZaaktype.eindGeldigheid
in the admin. These are now taken into account when creatingZaaktype
objects, so you can have multiple zaaktypen in the same catalogus as long as the date ranges do not overlap. - Pinned the dev dependencies to prevent
isort
versions from creating chaos. We don't like chaos, or at least not that kind. - Added a page to check the (authorization) configuration for the provider. This should make it easier to pinpoint mis-configuration.
Migrated to new auth machinery
- this is a breaking change - old JWTs with scopes included will continue to work for a short time if the authorization is defined in the AC
- You need to configure the AC to use
- Renamed the scope labels - the
zds.scopes
prefix was dropped - Bumped various dependencies so that security fixes are applied
Bugfix & convenience release
- Fixed serialization of
relativedelta
fields - Fixed editing/representation of
relativedelta
fields - Made
zaaktype
URL-path copy-pasteable in the admin
API-lab release
- Improved homepage layout, using vng-api-common boilerplate
- Bumped to latest bugfix release of gemma-zds-client
Resultaattype.selectielijstklasse
now has resource validation with better error feedback in the admin- Some UUIDs are now exposed in the admin interface
Fixed the admin interface for Resultaattype
Fixed str representation of InformatieObjectType
Bugfixes in the admin interface
- Fixed crash when
RolType.zaaktype
was an invalid choice - Fixed crash when
StatusType.zaaktype
was an invalid choice - Fixed crash when no
BooleanRadioField
choice was selected - Fixed crash when no
scopes
key was present in the JWT claims
Quality of life update
- replaced duration fields
archiefactietermijn
,brondatum_archiefprocedure_procestermijn
to be more precise (years, months...) instead of being limited to days - added URL to license (gemma-zaken#820)
- added
InformatieObjectType.vertrouwelijkheidaanduiding
, which is a required field - replaced zds-schema with vng-api-common. Make sure to run
python manage.py migrate_from_zds_schema
to migrate the database contents
Security release
- Bumped Django to 2.0.13
Archiving feature release
- added read-only
Resultaattype
resource to API - added
Zaaktype.resultaattypen
list of URLs - added
brondatumArchiefProcedure
as part ofResultaattype
resource * contains strategy on how to determinebrondatum
* validated against 'Gemeentelijke Selectielijst 2017' where possible Resultaattype
is linked to GS 2017 + validations implemented- added
format: duration
to duration-attributes
Bump dependencies to get latest bugfixes
- Bump to zds-schema 0.20.6
- Bump to Django 2.0.10
Fixed bug in URL-resolution Zaaktype.informatieobjecttypen
API-maturity feature release
- Expose more fields/attributes of
ZaakType
resource: ZaakType.vertrouwelijkheidaanduiding
ZaakType.doel
ZaakType.aanleiding
ZaakType.toelichting
ZaakType.indicatieInternOfExtern
ZaakType.handelingInitiator
ZaakType.onderwerp
ZaakType.handelingBehandelaar
ZaakType.opschorting
ZaakType.verlengingMogelijk
ZaakType.publicatieIndicatie
ZaakType.verlengingstermijn
- ISO-8601 durationZaakType.trefwoorden
- list of keywordsZaakType.publicatietekst
ZaakType.verantwoordingsrelatie
ZaakType.referentieproces
ZaakType.productenOfDiensten
- list of external URLsZaakType.selectielijstProcestype
- URL reference to referentie/selectielijsten APIZaakType.informatieobjecttypen
- list of URLs toInformatieobjectType
resourcesZaakType.gerelateerdeZaaktypen
- list of objects containing relation information
- Expose more fields/attributes of
- Provide the
ZaakTypeInformatieObjectType
resource in the root of the API. This allows clients to look up the relation information betweenZaakType
andInformatieobjectType
. Possibly we might enforce the usage of filter parameters to anticipate performance challenges, or introduce pagination.
Minor text fixes
- Bumped to never zds-schema, which includes help-texts for durations
- Fixed label of some resource/relations in API spec [semantics improvement]
API maturity update
Breaking changes:
- Renamed StatusType.is_van to StatusType.zaaktype
- Renamed X.maaktDeelUitVan to X.catalogus
New features:
- Add download of fixture data and instructions on how to use it
Bugfixes:
- Don't compare datetimes with None
Increase buffer size to accomodate large headers
Bump Django and urllib
- urllib3<=1.22 has a CVE
- use latest patch release of Django 2.0
Small bugfixes
- Updated to latest zds-schema
- Added a name for the session cookie to preserve sessions on the same domain between components.
Bugfixes n.a.v. APILab voorbereiding
- Fix voor uniciteit
RolType.omschrijvingGeneriek
bij zaaktype - Fix voor ontsluiten
InformatieObjectTypes
als catalogusonderdeel - Meer benodigde scopes toegevoegd
- Fix toegepast om API-root zonder AUTZ te bekijken
Bump to zds-schema 0.17.1
- Fixes missing Location header _when_ we get create operations
- Uses generic APIVersion middleware
- Fixes server URLs in OAS
Stap naar volwassenere API
- Informatieobjecttypen beschikbaar gemaakt via catalogus
- Besluittypen toegevoegd aan zaaktypen
- Update naar recente zds-schema versie
- HTTP 400 errors op onbekende/invalide filter-parameters
- Docker container beter te customizen via environment variables
De Authorization
headers is veranderd van formaat. In plaats van <jwt>
is het nu Bearer <jwt>
geworden.
Bump naar zds-schema 0.14.0 om JWT decode-problemen correct af te vangen.
DSO API-srategie fix
Foutberichten bevatten een type
key. De waarde van deze key begint niet
langer incorrect met "URI: "
.
Autorisatie-feature release
- Autorisatie-scopes toegevoegd
- Voeg JWT client/secret management toe
- Opzet credentialstore om URLs te kunnen valideren met auth/autz
- Support toevoegd om direct OAS 3.0 te serven op
http://localhost:8000/api/v1/schema/openapi.yaml?v=3
. Zonder querystring parameter krijg je Swagger 2.0.
Support voor BRC en afsluiten zaak toegevoegd
- 694b111 StatusType.volgnummer toegevoegd t.b.v. #153
- 5ab1bcd Ref. VNG-Realisatie/gemma-zaken#130 -- mogelijke foutantwoorden in OAS
- febaa99 Ref. VNG-Realisatie/gemma-zaken#162 -- clean up BesluitType data model
- 1063e40 Ref. VNG-Realisatie/gemma-zaken#162 -- voeg besluittype toe aan API
- 7aff079 Besluittype tests
- f745d55 Correcte MIME-types voor error responses
- 0a635f4 Set up contrib.sites
- e56f090 Bump zds-schema version
- 7c2e519 Logisch attribuut "isEindstatus" toegevoegd aan StatusType t.b.v. US 351.
- 03a4cc7 Pin node-version
- 548d490 Publicatietekst & toelichting hebben geen lengte-limitatie
Kleine Quality of Life verbeteringen
- update naar
zds-schema==0.0.26
waarinRolomschrijvingGeneriek
verwijderd is. Dit heeft geen gevolgen voor de API spec. - verschillende verbeteringen in de admin omgeving:
- tonen
uuid
in lijstweergave - mogelijke betrokkenen aan
RolType
configureerbaar gemaakt
- tonen
API resource toegevoegd & toolingverbeteringen
- InformatieObjectType toegevoegd t.b.v. VNG-Realisatie/gemma-zaken#154
- Typo gefixed in
bin/compile_dependencies.sh
- Windows script toegevoegd om dependencies te comilen
(
bin/compile_dependencies.cmd
)
Set wijzigingen om VNG-Realisatie/gemma-zaken#169 te implementeren:
- OAS 3.0 validator toegevoegd
ZaakType
resource uitgebreid:servicenorm
endoorlooptijd
velden toegevoegd- toevoeging van mogelijke (standaard) betrokkenen bij ROLTYPEn voor een ZAAKTYPE
- filter parameters toegevoegd
- Added missing migration
Aantal design decisions & reorganisatie doorgevoerd
- Docker Hub organisatie nlxio -> vngr
- Jenkins containers 100% stateless gemaakt
- Gebruik van UUID in API urls in plaats van database primary keys
- Update tooling