-
Notifications
You must be signed in to change notification settings - Fork 6
/
CHANGELOG.rst
1014 lines (737 loc) · 32.4 KB
/
CHANGELOG.rst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
===========
Wijzigingen
===========
1.5.1 (2023-09-25)
===========
New Features and Bug Fixes
---------------------------
`Issue 2157`_:
**Field Removal**
- **Removed:** The 'resultaattoelichting' field has been removed, resolving issue #2157.
.. _Issue 2157: https://github.com/VNG-Realisatie/gemma-zaken/issues/2157
`Issue 2345`_:
**Enhancements**
- **Added:** Introduced the 'expand' query parameter to the '/zoek' endpoint.
.. _Issue 2345: https://github.com/VNG-Realisatie/gemma-zaken/issues/2157
===========
1.5.0 (2023-08-22)
===========
Implementation changes
----------------------
`Issue 2192`_:
**Enhancements, Bug Fixes, and Code Refactoring**
- **Added:** Extension of list call functionality to accept expand parameters for enriched data retrieval.
- **Added:** Introduction of 'ExpandField' class to manage and process expand parameters.
- **Added:** 'Inclusion' class to facilitate data inclusion and enhance response customization.
- **Added:** Method for building inclusion schemas.
- **Added:** Recursion logic in later stages to support nested data inclusion.
- **Added:** 'Inclusions' class for streamlined management of included external API calls.
- **Added:** External API calls within the 'Inclusions' class for comprehensive data integration.
- **Added:** Clear and descriptive text to the expand filter for better understanding.
- **Added:** Validation mechanism and resolved issues with external API calls within 'Inclusions'.
- **Added:** Regex validator to enhance input validation.
- **Added:** Explanation regarding the use of regex validation.
- **Added:** Support for nested dictionary types like 'relevante_andere_zaken' in the expansions model.
- **Added:** Integration of the 'expand' feature into the OpenAPI Specification (OAS) and expanded GET detail endpoints.
- **Changed:** Hard-coded mappings from 'expensions.py' for increased flexibility.
- **Changed:** Relocated 'routers' import into a function to address circular import concerns.
- **Changed:** Reworked the expansions model to resolve previous errors and improve reliability.
- **Changed:** Various issues related to specific problem reports: #2280, #2279, #2269, #2270, #2271, #2288, #2287.
- **Changed:** Updated OAS description and resolved a bug in the expansions.
- **Updated:** Requirements files, including 'psyopg2' for proper functionality.
These changes encompass a wide range of enhancements, bug fixes, and code clean-up, significantly improving the functionality, stability, and maintainability of the system. The introduction of expand parameters, 'ExpandField' class, 'Expand' class, and various bug fixes contribute to a more robust and efficient system.
.. _Issue 2192: https://github.com/VNG-Realisatie/gemma-zaken/issues/2192
1.4.0 (2023-03-27)
===========
Implementation changes
----------------------
* Added new search parameters to `_zoek` request and added new query parameters to the LIST call. (`Issue 2139`_):
1.3.2 (2022-03-03)
===========
Implementation changes
----------------------
* Added ``ENV`` variable to turn off Notifications when running in a Container
1.3.1 (2023-02-21)
===========
API spec New Features
----------------
* Added search parameters to request body of ``_zoek``. (`Issue 2166`_):
API spec bugfixes
-----------------
* Fixed generation of openapi.yaml to not include ``/api/v1``
Implementation changes
----------------------
* Bumps ``vng-api-common`` to version ``2.0.4``
* Sets baseUrl to production server
.. _Issue 2166: https://github.com/VNG-Realisatie/gemma-zaken/issues/2166
===========
1.3.0 (2022-12-19)
===========
API Spec New features
------------
* Add ``indicatieLaatstGezetteStatus`` query parameter to ``Status`` (`Issue 1642`_):
* Added ``kvk-nummer`` (`Issue 2125`_):
* Added ``indicatie_laatst_gezette_datum`` (`Issue 2088`_):
* Added missing RGBZ attributes for existing resources. (`Issue 1847`_):
* Added validation of the ``Zaak`` resource with a `gearchiveerd` status to related resources. (`Issue 1498`_):
* Ordering of a list of ``Zaken`` can be done on the following attributes: (`Issue 1659`_):
- ``startdatum``
- ``-startdatum``
- ``einddatum``
- ``-einddatum``
- ``publicatiedatum``
- ``-publicatiedatum``
- ``archiefactiedatum``
API spec changes
----------------
* ``ZaakObject`` can be configured in Catalogi API and refered to via ``zaakobjecttype``. (`Issue 1848`_):
* ``ZaakType.identificatie`` added to ``Zaak`` resource. (`Issue 1838`_):
Implementation changes
----------------------
* Corrected ZIO create documentation
* Added new notifications module
* replaced ``drf-yasg`` by ``drf-spectacular`` due to yasg not supporting Django 3.2
* Add missing ``bleach`` dependency
.. _Issue 2125: https://github.com/VNG-Realisatie/gemma-zaken/issues/2125
.. _Issue 2088: https://github.com/VNG-Realisatie/gemma-zaken/issues/2088
.. _Issue 1642: https://github.com/VNG-Realisatie/gemma-zaken/issues/1642
.. _Issue 1659: https://github.com/VNG-Realisatie/gemma-zaken/issues/1659
.. _Issue 1498: https://github.com/VNG-Realisatie/gemma-zaken/issues/1498
.. _Issue 1848: https://github.com/VNG-Realisatie/gemma-zaken/issues/1848
.. _Issue 1838: https://github.com/VNG-Realisatie/gemma-zaken/issues/1838
.. _Issue 1847: https://github.com/VNG-Realisatie/gemma-zaken/issues/1847
1.2.0 (2021-08-27)
==================
New features
------------
* Added support for ``ZaakObject.objectTypeOverigeDefinitie``, so you can refer to
object type and object registrations that are not part of the standard while keeping
strict schema validation and retaining sufficient information for clients to visualize
the data.
``ZaakObject.objectTypeOverigeDefinitie`` takes a URL pointing to the type definition,
a ``schema`` key which is a valid `jq <http://stedolan.github.io/jq/>`_ expression to
extract the JSON schema from the object type (currently only JSON schema is supported!)
and a ``objectData`` key which is also a valid ``jq`` expression pointing to the data
of the related object.
* Added PUT/PATCH/DELETE operations for the following API resources:
- ``ZaakEigenschap``
- ``ZaakObject``
1.1.1 (2021-06-11)
==================
* Several resources that can be part of ``Rol.betrokkeneIdentificatie`` have become nullable:
- ``VerblijfsAdres``
- ``SubVerblijfBuitenland``
* Several resources that can be part of ``ZaakObject.objectIdentificatie`` have become nullable:
- ``TerreinGebouwdObjectAdres``
- ``ObjectTerreinGebouwdObject``
- ``WozObjectAdres``
1.1.0 (2021-01-08)
==================
API spec new features
---------------------
* Add ETag headers to the following resources (`Issue 1096`_):
- ``Zaak``
- ``Status``
- ``ZaakInformatieObject``
- ``ZaakEigenschap``
- ``Rol``
- ``Resultaat``
* Add new ``ZaakContactMoment`` resource (`Issue 1323`_)
- With the introduction of this resource, the ``KlantContact`` has been marked deprecated
* Add new ``ZaakVerzoek`` resource (`Issue 1392`_)
* Add ``opdrachtgevendeOrganisatie`` attribute to ``Zaak`` resource (`Issue 654`_)
* Add ``uuid__in`` attribute to ``zaak__zoek`` operation, allowing UUID based search (`Utrecht issue 611`_)
* Add ``rol__betrokkeneIdentificatie__organisatorischeEenheid__identificatie`` filter parameter to ``Zaak`` endpoint (`Issue 1686`_)
API spec bugfixes
-----------------
* Set proper ``maxLength`` for query parameters on ``Zaken`` endpoint (`Issue 1637`_):
- ``rol__betrokkeneIdentificatie__natuurlijkPersoon__inpBsn`` ``maxLength``: 9
- ``rol__betrokkeneIdentificatie__medewerker__identificatie`` ``maxLength``: 24
* Fix incorrect filter parameter name on ``rol_list`` operation (`Issue 1685`_):
- ``betrokkeneIdentificatie__vestiging__identificatie`` -> ``betrokkeneIdentificatie__organisatorischeEenheid__identificatie``
* Add missing audit trail logging parameters for ``rol_delete`` operation (`Issue 1542`_)
Implementation changes
----------------------
* Implement caching (conditional GET with ETag headers) (`Issue 1096`_)
* Add synchronisation with Contactmomenten API for ``ZaakContactMoment`` resource (`Issue 1323`_)
* Add synchronisation with Verzoeken API for ``ZaakVerzoek`` resource (`Issue 1392`_)
* Add validation on ``Zaak`` resource that checks if ``Zaak.hoofdzaak`` is allowed given ``Zaak.hoofdzaak.deelzaaktypen`` (`Issue 1534`_)
* Fix issue with audittrails not being logged and notifications not being sent for ``rol_delete`` operation (`Issue 1542`_)
* Add validation on ``zaak_delete`` operation that checks if there are still ``Besluiten`` related to it, and if so returns a 400 (`Issue 1494`_)
* Upgrade to Python 3.7 (`Commit fd3113`_)
Breaking changes
----------------
* Add pagination to following resources (`Commit 25eb1c`_):
- ``Status``
- ``ZaakObject``
- ``KlantContact``
- ``Rol``
- ``Resultaat``
* Add new ``ZaakContactMoment`` resource (`Issue 1323`_)
- With the introduction of this resource, the ``KlantContact`` has been marked deprecated
.. _Issue 1096: https://github.com/VNG-Realisatie/gemma-zaken/issues/1096
.. _Issue 1222: https://github.com/VNG-Realisatie/gemma-zaken/issues/1222
.. _Commit 25eb1c: https://github.com/VNG-Realisatie/gemma-zaakregistratiecomponent/pull/157/commits/25eb1c73028a21ada631a8b29c7b9f1bf1c39302
.. _Issue 1338: https://github.com/VNG-Realisatie/gemma-zaken/issues/1338
.. _Issue 536: https://github.com/VNG-Realisatie/gemma-zaken/issues/536
.. _Issue 1323: https://github.com/VNG-Realisatie/gemma-zaken/issues/1323
.. _Issue 1392: https://github.com/VNG-Realisatie/gemma-zaken/issues/1392
.. _Issue 1637: https://github.com/VNG-Realisatie/gemma-zaken/issues/1637
.. _Issue 654: https://github.com/VNG-Realisatie/gemma-zaken/issues/654
.. _Issue 1685: https://github.com/VNG-Realisatie/gemma-zaken/issues/1685
.. _Issue 1534: https://github.com/VNG-Realisatie/gemma-zaken/issues/1534
.. _Issue 1542: https://github.com/VNG-Realisatie/gemma-zaken/issues/1542
.. _Issue 1494: https://github.com/VNG-Realisatie/gemma-zaken/issues/1494
.. _Utrecht issue 611: https://github.com/GemeenteUtrecht/ZGW/issues/611
.. _Issue 1686: https://github.com/VNG-Realisatie/gemma-zaken/issues/1686
.. _Commit fd3113: https://github.com/VNG-Realisatie/gemma-zaakregistratiecomponent/commit/fd311363903e5f5cb1daddc42d07aa1174391b64
1.0.3 (2021-03-29)
==================
API spec changes
----------------
* Filter parameter ``betrokkeneIdentificatie__vestiging__identificatie`` on ``rol_list``
operation was corrected to ``betrokkeneIdentificatie__organisatorischeEenheid__identificatie``
* Added missing audittrail headers on some operations:
* ``X-Audit-Toelichting``
* Renamed ``X-NLX-Request-Application-Id`` header to ``X-NLX-Logrecord-ID``.
The previously documented headers were never emitted by NLX and specified at a time
when this was not clear yet.
* Dropped the ``X-NLX-Request-User-Id`` header - is was never emitted by NLX. You should
use the ``user_id`` claim in the JWT instead.
* Added missing ``rol__betrokkeneIdentificatie__organisatorischeEenheid__identificatie``
filter to ``zaak_list`` operation
* Added ``nullable: true`` attributes to some resources. The behaviour of the API was
already accepting ``null``, however the API schema did not reflect this:
* ``rol.betrokkeneIdentificatie.verblijfsadres``
* ``rol.betrokkeneIdentificatie.subVerblijfBuitenland``
* ``zaakobject.objectIdentificatie.adresAanduidingGrp``
* ``zaakobject.objectIdentificatie.isGehuisvestIn``
* ``zaakobject.objectIdentificatie.aanduidingWozObject``
* Dropped some ``title`` attributes that were generated from code rather than
human-readable labels.
Implementation changes
----------------------
* Upgraded libraries:
* Django
* djangorestframework
* djangorestframework-camel-case
* drf-nested-routers
* drf-yasg
* vng-api-common
1.0.2 (2020-06-13)
==================
API spec changes
----------------
* Add ``zaken.geforceerd-bijwerken`` scope to allow fixing of data related to a closed ``Zaak`` (`Issue 1537`_)
* Fix documentation references in API schema description (`Issue 1552`_)
* Add ``maximaleVertrouwelijkheidaanduiding`` filter parameter on Zaken endpoint (`PR 1624`_)
* Add filter parameters on Zaken endpoint to support werkvoorraad (`PR 1625`_):
- ``rol__betrokkeneType``
- ``rol__betrokkene``
- ``rol__omschrijvingGeneriek``
- ``rol__betrokkeneIdentificatie__natuurlijkPersoon__inpBsn``
- ``rol__betrokkeneIdentificatie__medewerker__identificatie``
Implementation changes
----------------------
* If a ``Zaak`` is closed, data mutations to it are now blocked (unless ``zaken.geforceerd-bijwerken`` is used). Also extends to related objects (`Issue 1537`_):
- ``ZaakInformatieObject``
- ``ZaakObject``
- ``Resultaat``
- ``KlantContact``
- ``Status``
- ``ZaakEigenschap``
- ``Rol``
- ``ZaakBesluit``
.. _Issue 1552: https://github.com/VNG-Realisatie/gemma-zaken/issues/1552
.. _PR 1624: https://github.com/VNG-Realisatie/gemma-zaken/pull/1624
.. _PR 1625: https://github.com/VNG-Realisatie/gemma-zaken/pull/1625
.. _Issue 1537: https://github.com/VNG-Realisatie/gemma-zaken/issues/1537
1.0.1 (2019-12-16)
==================
API spec bugfix release. There are some fixes and clarifications in the API
spec compared to 1.0.0. Additionally, some bugfixes without effect on the API
spec have been carried out.
API spec changes
----------------
* Fix ``Zaak`` validations documentation:
- ``Zaak.zaaktype`` is immutable
- ``Zaak.zaaktype`` is validated against ZTC API spec on ``zaak_create``
* Fix ``ZaakEigenschap`` validations documentation:
- ``ZaakEigenschap.eigenschap`` must be a ZTC ``Eigenschap`` resource
- ``ZaakEigenschap.eigenschap`` must belong to ``ZaakEigenschap.zaak.zaaktype``
Implementation changes
----------------------
* Updated reference (commit hash) to ZTC API spec to use
* Validate uniqueness of ``Status.zaak`` and ``Status.datumStatusGezet``
* Cache the API spec
* ``ZaakObject.object`` validation calls now make authenticated calls (#133)
* Implemented ``brondatum`` determination for:
- afleidingswijze ``gerelateerde_zaak``
- afleidingswijze ``vervaldatum_besluit``
1.0.0 final (2019-11-18)
========================
:tada: Final 1.0.0 API spec release
1.0.0-rc2 fixes (2019-11-04)
============================
Bugfixes in second release candidate
* Added missing query parameters to ``ZaakObject`` list
* Added ``KlantContact.zaak`` query parameter
* Added inline references to ``Zaak.eigenschappen``
* Fixes to GegevensGroep schema's, as they may often be ``null``
Breaking changes
----------------
* ``Zaak.zaaktype`` must now be published (validation added)
1.0.0-rc2 (2019-09-19)
======================
Second release candidate.
A number of defects were found, so this contains a couple of breaking changes.
* Documented some fields being ``null`` when they're empty/unset:
- ``Zaak.einddatum``
- ``Zaak.status``
- ``Zaak.resultaat``
* Added documentation w/r to notifications to the API spec document itself. For
provider implementations: this means you MUST send these notifications.
* Added two attributes to ``KlantContact``:
- ``KlantContact.onderwerp``
- ``KlantContact.toelichting``
Breaking changes
----------------
* Normalized enums to be only lower-cased alpha-numeric strings with underscores:
- ``RolNietNatuurlijkPersoon.innRechtsvorm``
- ``ObjectInrichtingselement.type``
- ``ObjectKunstwerkdeel.type``
- ``ObjectWaterdeel.type``
* Pagination added to the following resources (page size 100 by default):
- ``Status``
- ``KlantContact``
- ``Resultaat``
- ``Rol``
- ``ZaakObject``
* Fixed typo in audit trail ``Wijzigingen`` schema (was ``Wijzgingen``)
1.0.0-rc1 (2019-07-18)
======================
Release candidate tag
* Bumped to vng-api-common 1.0.0
* Bumped version numbers to 1.0.0-rc
0.21.0 (2019-07-15)
===================
Breaking changes release
* Made enums consistent - everything is snake_case now
0.20.0 (2019-07-11)
===================
Prepare for release candidate
* Added auth on ``/api/v1/klantcontacten``
* Build ``develop`` branch as well now, so that it can be deployed to a test
environment
* Added ``indicatieMachtiging`` attribute
* Added filters to ``ZaakObject`` API
* ``Zaak.productenOfDiensten`` is no longer a required field in the admin
* Updated to latest drf-yasg and vng-api-common
* Added management command to update URL references after domain migration
* Scope ``zaken.bijwerken`` also allows you to create ``ZaakObject`` and
``ZaakInformatieObject`` now
Breaking changes
----------------
* Reworked adres-fields from ``Betrokkene`` to ``Adres`` model, instead of a
text field
* Made ``Zaak.identificatie``, ``Zaak.zaaktype`` and ``Resultaat.resultaatType``
immutable
0.19.1 (2019-07-02)
===================
Added a data migration to handle the flattened ZTC urls.
0.19.0 (2019-07-01)
===================
Added support for all kinds of ``Zaakobjecten``.
Following the "Grenzen van het API landschap" design document,
the possible RGBZ/RSGB objects that can be related to a ``Zaak`` have been
implemented.
0.18.2 (2019-06-28)
===================
Fixed a bug in the migrations
0.18.1 (2019-06-28)
===================
Small fixes:
* Fix changelog version
* Fix display of version information (git sha was missing)
0.18.0 (2019-06-28)
===================
Third release towards release candidate
* Included version information in Docker image, which is now displayed in the
footer. Version info is the git sha and API version number.
* Enabled explicit OAS 3.x version test so that no more OAS 2.x is served
* Bumped to latest vng-api-common
* If no ``Zaak.identificatie`` is given, the generated identification is now
more human-readable.
* Added filter parameters on ``betrokkeneIdentificatie``
Breaking changes
----------------
* Added document validation when closing a ``Zaak``: all documents must be
unlocked
* Renamed identifying fields of ``Rol.betrokkene``
* Changed ``Zaak.relevanteAndereZaken`` from a list of URLs to a list of
objects (``url`` + ``aardRelatie``) so that more meta information can be
provided.
0.17.0 (2019-06-18)
===================
Second release towards release candidate
* Added filters to ``Zaak`` list endpoint: ``startdatum`` variations (equal,
greater then, etc.)
* Added fixture loading to container start script
* Added more tests
* Added models for ``Betrokkene`` types - see "Grenzen van het API-Landschap"
* Added polymorphism to ``Betrokkene`` serializer
* Fixed a bug on ZIO deletion w/r to DRC validation
* Fixed docker image build
Breaking changes
----------------
* Re-enabled validation of ``ZaakBesluit.besluit``. Requires BRC >= 0.11.1
0.16.0 (2019-05-22)
===================
First release towards release candidate
* Added representation function to all models
* Fixed fetching ``relevanteAndereZaken`` with correct headers
* Translated API docs
* Added ``ZaakBesluit`` to easily retrieve besluiten from the ``Zaak`` object.
Relation is created by BRC.
* Applied fixes to nested ``GegevensGroep``-validation
* Enabled config view to diagnose problems
* Bumped to Django 2.2 (LTS)
* Removed unused dependencies
Breaking changes
----------------
* Moved relation information ``ZaakInformatieObject`` to ZRC. Relations are now
created here instead of DRC, and are synced from ZRC to DRC. It is now a
root resource instead of a subresource.
0.15.0 (2019-05-22)
===================
Authorizations V2 and audittrail release - breaking changes!
* Reworked authorizations - authorizations are now retrieved from the
authorizations component (AC) and need to be configured there. You can use
the token tool for this.
* Authorizations are now more fine-grained, scopes/maximum
vertrouwelijkheidaanduiding apply to a ``zaaktype``, which filters data at
the source. Only ``zaken`` of the ``zaaktype``s you're authorized for are
returned. The same logic applies to related data, such as ``status``.
* Creation of ``zaken`` of a ``zaaktype`` you are not authorized for is no
longer allowed (it results in an HTTP 403).
* Renamed scopes - the ``zds.scopes`` prefix is dropped.
* Added scope-based protection on resources/operations where they were missing
* Improved URL-based reference validation
* Added audittrails - actions are now logged in an audittrail and they can be
retrieved for a ``zaak``. Consumers need to/should:
* include the ``client_id`` in the JWT (always needed)
* include the ``X-Audit-Toelichting`` header
* include the ``user_id`` claim in the JWT, or use the
``X-Nlx-Request-User-Id`` header, which should uniquely identify the
end-user (in combination with the application ID)
* include the ``user_representation`` claim in the JWT for a human-readable
representation of the end-user
0.14.0 (2019-04-24)
===================
Cleaned up some loose ends
* Bumped Jinja2 dep (security release)
* Improved accessibility in secret management [admin]
* Added a test case for complexere GeoJSON
* Implemented re-opening of ``Zaken`` & added a new scope
0.13.4 (2019-04-18)
===================
Fixed a bug when setting ``Zaak.opschorting.indicatie`` to ``false``
0.13.3 (2019-04-17)
===================
Fixed an issue with duration validation
0.13.2 (2019-04-17)
===================
Default value NRC api root fixed.
0.13.1 (2019-04-16)
===================
Bugfix in ``brondatum`` calculations
0.13.0 (2019-04-16)
===================
API-lab release
* Improved homepage layout, using vng-api-common boilerplate
* Bumped to latest bugfix release of gemma-zds-client
* Fixed a bug preventing ``ZaakInformatieObject`` being created/deleted
Breaking changes
----------------
* Flattened the ``kenmerken`` in notifications sent from a list of objects with
one key-value to a single object with multiple key-value pairs.
Requires the NC to be at version 0.4.0 or higher.
Old:
.. code-block:: json
{
"kenmerken": [
{"key1": "value1"},
{"key2": "value2"},
]
}
New:
.. code-block:: json
{
"kenmerken": {
"key1": "value1",
"key2": "value2",
}
}
* ``Zaak.archiefactiedatum`` is now calculated when the final status is being
set, instead of when the ``Resultaat`` is created. This effectively changes
the order of operations needed:
1. First, set a ``Resultaat`` on a ``Zaak``
2. Then, create an end-status for a ``Zaak`` to close the ``Zaak``
A ``Zaak`` cannot be closed if no ``Resultaat`` has been set.
* It is now no longer possible to modify a closed ``Zaak``, unless you include
the appropriate scope (``SCOPE_ZAKEN_GEFORCEERD_BIJWERKEN``).
0.12.2 (2019-04-04)
===================
Fixed another vng-api-common notifications bug
0.12.1 (2019-04-04)
===================
Fixed notifications throwing 500 errors
Notifications resolve internal paths to resources, which had a bug when
components are hosted on subpaths. This has been fixed in vng-api-common.
0.12.0 (2019-03-27)
===================
Added support for notifications
* Switched to vng-api-common, which is the rebrand of zds-schema
* Fixed CRS-parameters ending up in API spec for ``DELETE`` actions
* Added django-solo to store configuration
* Added the notifications support
* NC configuration in database possible
* viewset mixins for API endpoints, to publish notifications
* callback endpoint available on ``/api/v1/callbacks``, to receive notifications
* management command ``register_kanaal`` available to register the exchange
* added documentation page for kanalen/exchanges
0.11.2 (2019-03-11)
===================
Increased URL-length validation from 200 to 1000 characters
0.11.1 (2019-03-08)
===================
Fixed a bug where pagination parameters were incorrectly marked as invalid
params.
0.11.0 (2019-03-08)
===================
Added pagination to the ``/zaken`` endpoint
Breaking changes:
-----------------
* Response body of ``/zaken`` and ``/zaken/_zoek`` endpoints is now on object
instead of a list. The list with results can be found in the ``results`` key.
* Pagination defaults to a 100 objects, so to read all results, you'll have to
fetch the other pages and/or supply a bigger ``page_size`` parameter.
Minor changes
-------------
* Updated to security release of Django
* Included URL to the EUPL-1.2 License in the API documentation
0.10.2 (2019-03-05)
===================
Bugfix release
* Bumped gemma-zds-client via zds-schema
0.10.1 (2019-02-27)
===================
Bugfix release
* Fixed operation/scope mapping
0.10.0 (2019-02-27)
===================
Archiving feature release
Set the ``Resultaat`` for a ``Zaak`` to trigger the archiving machinery.
* Requires the ZTC to be configured correctly.
* Requires ZTC 0.9.0 or higher
Changes
-------
* added ``Resultaat`` resource
* added ``Zaak.archiefnominatie`` + filter params
* added ``Zaak.archiefactiedatum`` + filter params
* added ``Zaak.archiefstatus`` + filter params
* added ``Zaak.resultaat`` URL-reference
* added read-only ``Eigenschap.naam`` (taken from ZTC)
* added explicit ``duration`` format to duration fields
Notes
-----
The following ``afleidingswijze``s for ``brondatum`` are not implemented yet:
* ``gerelateerde_zaak``
* ``ingangsdatum_besluit``
* ``vervaldatum_besluit``
0.9.2 (2019-02-07)
==================
Documentation improvements
* #620 - better/added documentation for various resource operations
* Bumped to bugfix releases of Django and zds-schema
0.9.1 (2019-01-30)
==================
Modified data migration to set ``Zaak.vertrouwelijkheidaanduiding`` based
on zaaktype so that corrupt data doesn't crash the migrations.
0.9.0 (2019-01-30)
==================
API maturity update
See https://github.com/VNG-Realisatie/gemma-zaken/pull/673 for a more
verbose description of the changes.
* Documentation improvements
* Fixed resetting ``Zaak.einddatum`` if a status other than the end-status is
set after closing the ``Zaak`` (#660)
* Added validation on related ``Informatieobject``s when a ``Zaak`` is being
closed (#549)
* Added more attributes (#549)
* ``Zaak.productenOfDiensten``
* ``Zaak.publicatiedatum``
* ``Zaak.communicatiekanaal``
* ``Zaak.vertrouwelijkheidaanduiding`` - always set, default derived from
``Zaak.zaaktype.vertrouwelijkheidaanduiding``
* ``Zaak.resultaattoelichting``
* ``Zaak.betalingsindicatie``
* ``Zaak.laatsteBetaaldatum`` + validation with ``Zaak.betalingsindicatie``
value (no value is allowed if payment is irrelevant)
* ``Zaak.verlenging`` - which is a nested object. ``null`` is accepted to
leave the value empty. Pending change to calculate ``Zaak.einddatumGepland``
from this.
* ``Zaak.opschorting`` added as nested object
* ``ZAAK.selectielijstklasse`` added, should point to
https://ref.tst.vng.cloud/referentielijsten API
* ``Zaak.hoofdzaak`` and ``Zaak.deelzaken`` attributes + validation logic
added.
* ``ZAAK.andereGerelateerdeZaken``
* Bumped a bunch of library versions (zds-schema, gemma-zds-client)
* Improved help text of duration fields in the admin
Breaking changes
----------------
* The ``Content-Crs`` header is now required for write-requests, and
CRS-negotiation is performed on this. Update all create, update and partial
update calls to include this header, even if you are not submitting geo
data. (#639)
0.8.6 (2018-12-13)
==================
Bump Django and urllib
* urllib3<=1.22 has a CVE
* use latest patch release of Django 2.0
0.8.5 (2018-12-11)
==================
Small bugfixes
* Fixed validator using newer gemma-zds-client
* Added a name for the session cookie to preserve sessions on the same domain
between components.
* Added missing Api-Version header
* Added missing Location header to OAS
0.8.2 (2018-12-04)
==================
Client method signature fixed
0.8.1 (2018-12-03)
==================
Refs. #565 -- change URL reference to RSIN
0.8.0 (2018-11-27)
==================
Stap naar volwassenere API
* Update naar recente zds-schema versie
* HTTP 400 errors op onbekende/invalide filter-parameters
* Docker container beter te customizen via environment variables
Breaking change
---------------
De ``Authorization`` headers is veranderd van formaat. In plaats van ``<jwt>``
is het nu ``Bearer <jwt>`` geworden.
0.7.1 (2018-11-22)
==================
DSO API-srategie fix
Foutberichten bevatten een `type` key. De waarde van deze key begint niet
langer incorrect met `"URI: "`.
0.7.0 (2018-11-21)
==================
Autorisatie-feature release
* Scopes toegevoegd: ``ZAKEN_CREATE``, ``STATUSSEN_TOEVOEGEN``, ``ZAKEN_ALLES_LEZEN``
* Autorisatie-informatie toegevoegd aan API spec
* Auth/Autz via middleware en JWT toegevoegd
* Documentatie van scopes toegevoegd op ``http://localhost:8000/ref/scopes/``
* Maak authenticated calls naar ZTC
* JWT client/secret management toegevoegd
Breaking changes
----------------
Door autorisatie toe te voegen zijn bestaande endpoints niet langer functioneel
zonder een geldige ``Authentication`` header. Je kan de `token issuer`_ gebruiken
om geldige credentials te verkrijgen.
Kleine wijzigingen
------------------
* dwing gebruik van timeze-aware datetimes af (hard error in dev)
* OAS 3.0 versie wordt nu geserveerd vanaf ``/api/v1/schema/openapi.yaml?v=3``.
Zonder ``?v=3`` querystring krijg je nog steeds Swagger 2.0.
.. _token issuer: https://ref.tst.vng.cloud/tokens/
0.6.1 (2018-11-16)
==================
Added CORS-headers
0.6.0 (2018-11-01)
==================
Feature release: zaak afsluiten & status filteren
* ``Zaak.einddatum`` is alleen-lezen geworden
* ``Zaak.einddatum`` wordt gezet indien de gezette status de eindstatus is
* ``Status`` list endpoint accepteert filters op ``zaak`` en ``statusType``
0.5.2 (2018-10-22)
==================
Bugfix in bugfix release
* Commit vergeten te pushen voor: Docker image fixed: ontbrekende
``swagger2openapi`` zit nu in image.
0.5.1 (2018-10-19)
==================
Bugfix release i.v.m. zaakinformatieobjecten
* ``zaakinformatieobject_destroy`` operatie verwijderd. Deze bestaat ook niet in
het DRC namelijk.
* ``zds-schema`` versiebump - DNS errors worden nu HTTP 400 in plaats van
HTTP 500 bij url-validatie.
* Fix in ``ZaakInformatieObject`` serializer door het ontbreken van een detail
URL.
* Docker image fixed: ontbrekende ``swagger2openapi`` zit nu in image.
0.5.0 (2018-10-03)
==================
Deze release heeft backwards incompatible wijzigingen op gebied van
zaakinformatieobjecten.
* licentiebestand toegevoegd (Boris van Hoytema <[email protected]>)
* toevoeging API resources documentatie (markdown uit API spec)
* correctie op error-response MIME-types
* #166 - expliciet zaak-informatieobject relatieresource toegevoegd, met
validatie-implementaties
0.4.0 (2018-09-06)
==================
* nieuwe velden (waaronder ``Kenmerken``) toegevoegd aan de ZAAK-resource
(vng-Realisatie/gemma-zaken#153)
* DSO API-50: implementatie formaat van error-responses & documentatie (
vng-Realisatie/gemma-zaken#130)
* Validatie (business logic) toegevoegd:
* ``zaaktype`` URL referentie moet een geldige URL zijn
* strengere validatie wordt gradueel ingevoerd
* Uniciteit validator (combinatie ``bronorganisatie`` en ``identificatie``)
bouwt op generieke validator uit ``gemma-zaken-common``.
0.3.1 (2018-08-20)
==================
* Validatie toegevoegd op aantal initiators/coordinatoren voor een zaak
* ``rolomschrijvingGeneriek`` weggehaald
* validatie op unieke ZAAK.``identificatie`` binnen een bronorganisatie
0.3.0 (2018-08-16)
==================
* Unit test toegevoegd voor vng-Realisatie/gemma-zaken#163
Breaking changes
----------------
* Hernoem ``zaakidentificatie`` -> ``identificatie`` cfr. de design decisions
0.2.5 (2018-08-15)
==================
* Fixes in CI
* README netjes gemaakt
* Aanpassingen aan BETROKKENEn bij ZAAKen
* rol betrokkene is nu een referentie naar een andere resource via URL,
mogelijks in een externe registratie (zoals BRP)
* ``OrganisatorischeEenheid`` verwijderd door bovenstaande
* ``startdatum``, ``einddatum`` en ``einddatum_gepland`` velden
toegevoegd
* ``registratiedatum`` optioneel gemaakt, met een default van 'vandaag'
indien niet opgegeven
* Polymorfisme mechanischme toegevoegd voor betrokkenen en zaakobjecten
* Filter parameters toegevoegd
0.2.5 (2018-07-30)
==================
Fixes in OAS 3.0 schema op gebied van GeoJSON definities.
0.2.4 (2018-07-30)
==================
Dependency ``zds_schema`` versie verhoogd, met een fix voor de ``required`` key
in het OAS 3.0 schema.
0.2.3 (2018-07-25)
==================