diff --git a/.bumpversion.cfg b/.bumpversion.cfg index d8beb090..a42a262d 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,7 +1,7 @@ [bumpversion] commit = False tag = False -current_version = 2.3.1 +current_version = 2.4.0 [bumpversion:file:README.rst] diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e9de3884..e8d436cb 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,13 +2,43 @@ Change history ============== -2.4.0 (WIP) ------------ +2.4.0 (2024-07-05) +------------------ + +**New features** + +* added superuser permissions to API (#369) +* added `setup_configuration` management command which can configure API with environment variables (#368) +* added `Record.data` as a search filter in the Admin (#381) +* displayed `Objecttype.uuid` in the Objecttype and Object admin pages (#315) + **Bugfixes and QOL** +* supported `correctionFor` = `null` in POST/PUT requests (#268) +* added tests for `additionalProperties` keyword in JSON schema (#330) +* fixed creating objects with empty data (#371) +* fixed displaying the Token admin page if Object Types API is unavailable (#373) +* fixed styling of OIDC login page (#392) +* fixed styling of the help text icon in the Admin (#421) +* updated demo data used in quick start process (#398, #400) + +**Project maintance** + +* updated Python to 3.11 (#379) +* added `open-api-framework` dependency (#358) +* refactored settings using `open-api-framework` (#413) +* added logging of outgoind requests (#344) +* added Trivy into the CI as an docker image scaner (#402) +* added GitHub issue templates (#389) +* merged quick start and regular docker compose files into one (#408) * changed caching backend from LocMem to Redis * Elastic APM service name can now be configured with ``ELASTIC_APM_SERVICE_NAME`` envvar +** Documentation** + +* added security policy (#390) +* updated Quick start documentation (#348) + .. warning:: Because the caching backend was changed to Redis, existing deployments must add a Redis container or Redis instance @@ -19,6 +49,17 @@ Change history The service name for Elastic APM is now configurable via the ``ELASTIC_APM_SERVICE_NAME`` environment variable. The default value changed from ``Objects API`` to ``objects - `` + +2.3.2 (2024-05-03) +------------------ + +Bugfix release + +This release addresses a security weakness. + +* [GHSA-3wcp-29hm-g82c] replaced PK for Token model. + + 2.3.1 (2024-03-22) ------------------ diff --git a/README.NL.rst b/README.NL.rst index 15673cd2..f6809471 100644 --- a/README.NL.rst +++ b/README.NL.rst @@ -2,7 +2,7 @@ Objecten API ============ -:Version: 2.3.1 +:Version: 2.4.0 :Source: https://github.com/maykinmedia/objecttypes-api :Keywords: objecten, assets, zaakobjecten @@ -38,10 +38,10 @@ Versie Release datum API specificatie ============== ============== ============================= latest n/a `ReDoc `_, `Swagger `_, - (`verschillen `_) -2.3.1 2024-03-22 `ReDoc `_, - `Swagger `_ - (`verschillen `_) + (`verschillen `_) +2.4.0 2024-03-22 `ReDoc `_, + `Swagger `_ + (`verschillen `_) 2.3.0 2024-03-15 `ReDoc `_, `Swagger `_ (`verschillen `_) diff --git a/README.rst b/README.rst index 22fa73bb..f0a970e0 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ Objects API =========== -:Version: 2.3.1 +:Version: 2.4.0 :Source: https://github.com/maykinmedia/objects-api :Keywords: objects, assets, zaakobjecten @@ -36,10 +36,10 @@ Version Release date API specification ============== ============== ============================= latest n/a `ReDoc `_, `Swagger `_, - (`diff `_) -2.3.1 2024-03-22 `ReDoc `_, - `Swagger `_ - (`diff `_) + (`diff `_) +2.4.0 2024-03-22 `ReDoc `_, + `Swagger `_ + (`diff `_) 2.3.0 2024-03-15 `ReDoc `_, `Swagger `_ (`diff `_) diff --git a/docs/api/index.rst b/docs/api/index.rst index 8e8213b3..d3fa25ce 100644 --- a/docs/api/index.rst +++ b/docs/api/index.rst @@ -14,9 +14,9 @@ API Specification version(s) `Redoc `__, `Swagger `__ ) -`Objects API`_ 2.3.1 ( - `Redoc `__, - `Swagger `__ +`Objects API`_ 2.4.0 ( + `Redoc `__, + `Swagger `__ ) ====================== ========================================== diff --git a/package-lock.json b/package-lock.json index 3800075c..92e002e1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "objects", - "version": "2.3.1", + "version": "2.4.0", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package.json b/package.json index 4527c326..717b7b44 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "objects", - "version": "2.3.1", + "version": "2.4.0", "description": "objects project", "main": "src/objects/static/bundles/objects-js.js", "directories": { diff --git a/publiccode.yaml b/publiccode.yaml index 8865acf8..298aee8c 100644 --- a/publiccode.yaml +++ b/publiccode.yaml @@ -7,7 +7,7 @@ publiccodeYmlVersion: '0.2' name: Objects API url: 'http://github.com/maykinmedia/objects-api.git' softwareType: standalone/backend -softwareVersion: 2.3.1 +softwareVersion: 2.4.0 releaseDate: '2021-01-13' logo: 'https://github.com/maykinmedia/objects-api/blob/master/docs/logo.png' platforms: diff --git a/src/objects/__init__.py b/src/objects/__init__.py index 2c7d1d1e..878156a2 100644 --- a/src/objects/__init__.py +++ b/src/objects/__init__.py @@ -1,6 +1,6 @@ from .celery import app as celery_app __all__ = ("celery_app",) -__version__ = "2.3.1" +__version__ = "2.4.0" __author__ = "Maykin Media" __homepage__ = "https://github.com/maykinmedia/objects-api" diff --git a/src/objects/api/v2/openapi.yaml b/src/objects/api/v2/openapi.yaml index 57168261..fc9aa086 100644 --- a/src/objects/api/v2/openapi.yaml +++ b/src/objects/api/v2/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: title: Objects API - version: 2.3.1 (v2) + version: 2.4.0 (v2) description: | An API to manage Objects. diff --git a/src/objects/conf/api.py b/src/objects/conf/api.py index 61177d88..fd21d8e8 100644 --- a/src/objects/conf/api.py +++ b/src/objects/conf/api.py @@ -1,7 +1,7 @@ from vng_api_common.conf.api import * # noqa - imports white-listed -API_VERSION = "2.3.1" -VERSIONS = {"v1": "1.3.0", "v2": "2.3.1"} +API_VERSION = "2.4.0" +VERSIONS = {"v1": "1.3.0", "v2": "2.4.0"} # api settings REST_FRAMEWORK = {