Skip to content

Commit a13b7cc

Browse files
committed
🔖 Bumped to version 2.0.0
1 parent d8456d9 commit a13b7cc

File tree

10 files changed

+54
-32
lines changed

10 files changed

+54
-32
lines changed

.bumpversion.cfg

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[bumpversion]
2+
commit = False
3+
tag = False
4+
current_version = 2.0.0
5+
6+
[bumpversion:file:README.rst]
7+
8+
# [bumpversion:file:README.EN.rst]
9+
10+
[bumpversion:file:package.json]
11+
search = "version": "{current_version}",
12+
replace = "version": "{new_version}",
13+
14+
[bumpversion:file:src/openklant/__init__.py]
15+
16+
# [bumpversion:file:docs/api/index.rst]
17+
18+
# [bumpversion:file:publiccode.yaml]
19+
# search = softwareVersion: {current_version}
20+
# replace = softwareVersion: {new_version}

CHANGELOG.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Change history
55
2.0.0
66
=====
77

8-
*t.b.d.*
8+
*March 15, 2024*
99

1010
*VNG officially retired the Klanten and Contactmomenten API, which never had an
1111
official release. These API's are replaced by the Klantinteractie API. In

README.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Open Klant
33
==========
44

5-
:Version: 0.5.0-pre
5+
:Version: 2.0.0
66
:Source: https://github.com/maykinmedia/open-klant
77
:Keywords: klanten, klantinteracties, contactmomenten, api, common ground
88
:License: EUPL
@@ -37,9 +37,9 @@ API-specificatie wordt aangeboden.
3737
================== ============== ============= ================
3838
Open Klant versie API versie Release datum API specificatie
3939
================== ============== ============= ================
40-
master master n/a `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/open-klant/master/src/openklant/components/klantinteracties/openapi.yaml>`_,
40+
master/latest n/a n/a `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/open-klant/master/src/openklant/components/klantinteracties/openapi.yaml>`_,
4141
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/open-klant/master/src/openklant/components/klantinteracties/openapi.yaml>`_
42-
2.0.0 0.0.3 t.b.d. `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/open-klant/2.0.0/src/openklant/components/klantinteracties/openapi.yaml>`_,
42+
2.0.0 0.0.3 2024-03-15 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/open-klant/2.0.0/src/openklant/components/klantinteracties/openapi.yaml>`_,
4343
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/open-klant/2.0.0/src/openklant/components/klantinteracties/openapi.yaml>`_
4444
1.0.0 0.0.1 2023-08-05 Klanten:
4545
`ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/open-klant/1.0.0/src/openklant/components/klanten/openapi.yaml>`_,

package-lock.json

+14-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openklant",
3-
"version": "1.0.0-alpha.0",
3+
"version": "2.0.0",
44
"description": "openklant project",
55
"main": "src/static/openklant/js/openklant.js",
66
"directories": {

src/openklant/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from .celery import app as celery_app
22

33
__all__ = ("celery_app",)
4-
__version__ = "0.5-pre"
4+
__version__ = "2.0.0"
55
__author__ = "Maykin"
66
__homepage__ = "https://github.com/maykinmedia/open-klant"

src/openklant/components/klantinteracties/openapi.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: 3.0.3
22
info:
33
title: klantinteracties
4-
version: 1.0.0
4+
version: 0.0.3
55
description: |2
66
77
Description WIP.
@@ -1258,8 +1258,8 @@ paths:
12581258
description: |-
12591259
Aanduiding van de vordering bij afhandeling van de interne taak.
12601260
1261-
* `te_verwerken` - Het verzoek is afgehandeld.
1262-
* `verwerkt` - Het verzoek ID buiten behandeling gesteld.
1261+
* `te_verwerken` - Te verwerken.
1262+
* `verwerkt` - Verwerkt
12631263
- in: query
12641264
name: toegewezenAanActor__url
12651265
schema:
@@ -3255,8 +3255,8 @@ components:
32553255
description: |-
32563256
Aanduiding van de vordering bij afhandeling van de interne taak.
32573257
3258-
* `te_verwerken` - Het verzoek is afgehandeld.
3259-
* `verwerkt` - Het verzoek ID buiten behandeling gesteld.
3258+
* `te_verwerken` - Te verwerken.
3259+
* `verwerkt` - Verwerkt
32603260
toegewezenOp:
32613261
type: string
32623262
format: date-time
@@ -4397,8 +4397,8 @@ components:
43974397
description: |-
43984398
Aanduiding van de vordering bij afhandeling van de interne taak.
43994399
4400-
* `te_verwerken` - Het verzoek is afgehandeld.
4401-
* `verwerkt` - Het verzoek ID buiten behandeling gesteld.
4400+
* `te_verwerken` - Te verwerken.
4401+
* `verwerkt` - Verwerkt
44024402
toegewezenOp:
44034403
type: string
44044404
format: date-time
@@ -4799,8 +4799,8 @@ components:
47994799
- verwerkt
48004800
type: string
48014801
description: |-
4802-
* `te_verwerken` - Het verzoek is afgehandeld.
4803-
* `verwerkt` - Het verzoek ID buiten behandeling gesteld.
4802+
* `te_verwerken` - Te verwerken.
4803+
* `verwerkt` - Verwerkt
48044804
Vertegenwoordigden:
48054805
type: object
48064806
properties:

src/openklant/conf/api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
KLANTEN_API_VERSION = "1.0.0"
88
CONTACTMOMENTEN_API_VERSION = "1.0.0"
9-
KLANTINTERACTIES_API_VERSION = "1.0.0"
9+
KLANTINTERACTIES_API_VERSION = "0.0.3"
1010
CONTACTGEGEVENS_API_VERSION = "1.0.0"
1111

1212
REST_FRAMEWORK = BASE_REST_FRAMEWORK.copy()

src/openklant/conf/ci.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Continuous integration settings module.
33
"""
4+
45
import os
56
import warnings
67

src/openklant/tests/api_strategy/test_api_versioning.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from unittest.mock import patch
22

3+
from django.conf import settings
34
from django.test import override_settings
45

56
import yaml
@@ -8,8 +9,8 @@
89
from vng_api_common.tests import reverse
910

1011
EXPECTED_VERSIONS = (
11-
("klantinteracties", "1.0.0"),
12-
("contactgegevens", "1.0.0"),
12+
("klantinteracties", settings.KLANTINTERACTIES_API_VERSION),
13+
("contactgegevens", settings.CONTACTGEGEVENS_API_VERSION),
1314
)
1415

1516

0 commit comments

Comments
 (0)