Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#513] Release 2.3.0 #146

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,38 @@
Change history
==============

2.3.0 (2025-01-08)
------------------

**New features**

* added support for configuring ``mozilla-django-oidc-db`` through ``django-setup-configuration``
version ``0.4.0`` [objects-api/#480]
* added support for configuring token authorizations through ``django-setup-configuration``
version ``0.4.0`` [objects-api/#485]

**Bugfixes and QOL**

* fixed ``latest`` docker image tag not being pushed [open-api-framework/#92]
* updated ``django-setup-configuration`` to ``0.5.0`` and ``open-api-framework`` to ``0.9.1``
* updated zgw-consumers to 0.35.1 [open-api-framework/#66]

.. warning::

Configuring external services is now done through the ``Service`` model. This
replaces the ``APICredential`` model in the admin interface. A data migration
was added to move to the `Service` model. It is advised to verify the ``Service``
instances in the admin to check that the data migration was ran as expected.

* removed V1 endpoints [objects-api/#453]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment applies here too

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment about this being more visible

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also again, I think we decided a major update

* re-enabled Trivy image scanning [#463]

**Project maintenance**

* security updates [open-api-framework/#93]
* switched from ``pip-compile`` to ``uv`` [open-api-framework/#81]
* implementend open-api-workflows [open-api-framework/#13]

2.2.2 (2024-10-01)
------------------

Expand Down
7 changes: 5 additions & 2 deletions README.NL.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Objecttypen API
===============

:Version: 2.2.2
:Version: 2.3.0
:Source: https://github.com/maykinmedia/objecttypes-api
:Keywords: objecten, assets, zaakobjecten

Expand Down Expand Up @@ -36,7 +36,10 @@ Versie Release datum API specificatie
============== ============== =============================
latest n/a `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/master/src/objecttypes/api/v2/openapi.yaml>`_,
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/master/src/objecttypes/api/v2/openapi.yaml>`_,
(`verschillen <https://github.com/maykinmedia/objecttypes-api/compare/2.2.2..master#diff-b9c28fec6c3f3fa5cff870d24601d6ab7027520f3b084cc767aefd258cb8c40a>`_)
(`verschillen <https://github.com/maykinmedia/objecttypes-api/compare/2.3.0..master>`_)
2.3.0 2025-01-08 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/2.3.0/src/objecttypes/api/v2/openapi.yaml>`_,
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/2.3.0/src/objecttypes/api/v2/openapi.yaml>`_
(`verschillen <https://github.com/maykinmedia/objecttypes-api/compare/2.2.2..2.3.0>`_)
2.2.2 2022-08-23 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/2.2.2/src/objecttypes/api/v2/openapi.yaml>`_,
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/2.2.2/src/objecttypes/api/v2/openapi.yaml>`_
(`verschillen <https://github.com/maykinmedia/objecttypes-api/compare/2.2.0..2.2.2#diff-b9c28fec6c3f3fa5cff870d24601d6ab7027520f3b084cc767aefd258cb8c40a>`_)
Expand Down
7 changes: 5 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Objecttypes API
===============

:Version: 2.2.2
:Version: 2.3.0
:Source: https://github.com/maykinmedia/objecttypes-api
:Keywords: objects, assets, zaakobjecten

Expand Down Expand Up @@ -35,7 +35,10 @@ Version Release date API specification
============== ============== =============================
latest n/a `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/master/src/objecttypes/api/v2/openapi.yaml>`_,
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/master/src/objecttypes/api/v2/openapi.yaml>`_,
(`diff <https://github.com/maykinmedia/objecttypes-api/compare/2.2.2..master#diff-b9c28fec6c3f3fa5cff870d24601d6ab7027520f3b084cc767aefd258cb8c40a>`_)
(`diff <https://github.com/maykinmedia/objecttypes-api/compare/2.3.0..master>`_)
2.3.0 2025-01-08 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/2.3.0/src/objecttypes/api/v2/openapi.yaml>`_,
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/2.3.0/src/objecttypes/api/v2/openapi.yaml>`_
(`diff <https://github.com/maykinmedia/objecttypes-api/compare/2.2.2..2.3.0>`_)
2.2.2 2022-08-23 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/2.2.2/src/objecttypes/api/v2/openapi.yaml>`_,
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/2.2.2/src/objecttypes/api/v2/openapi.yaml>`_
(`diff <https://github.com/maykinmedia/objecttypes-api/compare/2.2.0..2.2.2#diff-b9c28fec6c3f3fa5cff870d24601d6ab7027520f3b084cc767aefd258cb8c40a>`_)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "objecttypes",
"version": "2.2.2",
"version": "2.3.0",
"description": "objecttypes project",
"main": "src/objecttypes/static/bundles/objecttypes-js.js",
"directories": {
Expand Down
4 changes: 2 additions & 2 deletions publiccode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ publiccodeYmlVersion: '0.2'
name: Objecttypes API
url: 'http://github.com/maykinmedia/objecttypes-api.git'
softwareType: standalone/backend
softwareVersion: 2.2.2
releaseDate: '2021-01-13'
softwareVersion: 2.3.0
releaseDate: '2025-01-8'
logo: 'https://github.com/maykinmedia/objects-api/blob/master/docs/logo.png'
platforms:
- web
Expand Down
116 changes: 115 additions & 1 deletion src/objecttypes/api/v2/openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.3
info:
title: Objecttypes API
version: 2.2.2
version: 2.3.0
description: |+
An API to manage Object types.

Expand Down Expand Up @@ -38,7 +38,7 @@
name: EUPL-1.2
paths:
/objecttypes:
get:

Check warning on line 41 in src/objecttypes/api/v2/openapi.yaml

View workflow job for this annotation

GitHub Actions / open-api-workflow-lint-oas (v2) / lint-oas-files

operation-description Operation `description` must be present and non-empty string.
operationId: objecttype_list
parameters:
- in: query
Expand Down Expand Up @@ -80,7 +80,7 @@
schema:
$ref: '#/components/schemas/PaginatedObjectTypeList'
description: OK
post:

Check warning on line 83 in src/objecttypes/api/v2/openapi.yaml

View workflow job for this annotation

GitHub Actions / open-api-workflow-lint-oas (v2) / lint-oas-files

operation-description Operation `description` must be present and non-empty string.
operationId: objecttype_create
parameters:
- in: header
Expand Down Expand Up @@ -111,6 +111,25 @@
/objecttypes/{objecttype_uuid}/versions:
get:
operationId: objectversion_list
description: |-
Abstract base class for generic types.

A generic type is typically declared by inheriting from
this class parameterized with one or more type variables.
For example, a generic mapping type might be defined as::

class Mapping(Generic[KT, VT]):
def __getitem__(self, key: KT) -> VT:
...
# Etc.

This class can then be used as follows::

def lookup_name(mapping: Mapping[KT, VT], key: KT, default: VT) -> VT:
try:
return mapping[key]
except KeyError:
return default
parameters:
- in: path
name: objecttype_uuid
Expand Down Expand Up @@ -144,6 +163,25 @@
description: OK
post:
operationId: objectversion_create
description: |-
Abstract base class for generic types.

A generic type is typically declared by inheriting from
this class parameterized with one or more type variables.
For example, a generic mapping type might be defined as::

class Mapping(Generic[KT, VT]):
def __getitem__(self, key: KT) -> VT:
...
# Etc.

This class can then be used as follows::

def lookup_name(mapping: Mapping[KT, VT], key: KT, default: VT) -> VT:
try:
return mapping[key]
except KeyError:
return default
parameters:
- in: header
name: Content-Type
Expand Down Expand Up @@ -179,6 +217,25 @@
/objecttypes/{objecttype_uuid}/versions/{version}:
get:
operationId: objectversion_read
description: |-
Abstract base class for generic types.

A generic type is typically declared by inheriting from
this class parameterized with one or more type variables.
For example, a generic mapping type might be defined as::

class Mapping(Generic[KT, VT]):
def __getitem__(self, key: KT) -> VT:
...
# Etc.

This class can then be used as follows::

def lookup_name(mapping: Mapping[KT, VT], key: KT, default: VT) -> VT:
try:
return mapping[key]
except KeyError:
return default
parameters:
- in: path
name: objecttype_uuid
Expand Down Expand Up @@ -208,6 +265,25 @@
description: OK
put:
operationId: objectversion_update
description: |-
Abstract base class for generic types.

A generic type is typically declared by inheriting from
this class parameterized with one or more type variables.
For example, a generic mapping type might be defined as::

class Mapping(Generic[KT, VT]):
def __getitem__(self, key: KT) -> VT:
...
# Etc.

This class can then be used as follows::

def lookup_name(mapping: Mapping[KT, VT], key: KT, default: VT) -> VT:
try:
return mapping[key]
except KeyError:
return default
parameters:
- in: header
name: Content-Type
Expand Down Expand Up @@ -250,6 +326,25 @@
description: OK
patch:
operationId: objectversion_partial_update
description: |-
Abstract base class for generic types.

A generic type is typically declared by inheriting from
this class parameterized with one or more type variables.
For example, a generic mapping type might be defined as::

class Mapping(Generic[KT, VT]):
def __getitem__(self, key: KT) -> VT:
...
# Etc.

This class can then be used as follows::

def lookup_name(mapping: Mapping[KT, VT], key: KT, default: VT) -> VT:
try:
return mapping[key]
except KeyError:
return default
parameters:
- in: header
name: Content-Type
Expand Down Expand Up @@ -292,6 +387,25 @@
description: OK
delete:
operationId: objectversion_delete
description: |-
Abstract base class for generic types.

A generic type is typically declared by inheriting from
this class parameterized with one or more type variables.
For example, a generic mapping type might be defined as::

class Mapping(Generic[KT, VT]):
def __getitem__(self, key: KT) -> VT:
...
# Etc.

This class can then be used as follows::

def lookup_name(mapping: Mapping[KT, VT], key: KT, default: VT) -> VT:
try:
return mapping[key]
except KeyError:
return default
parameters:
- in: path
name: objecttype_uuid
Expand All @@ -316,7 +430,7 @@
'204':
description: No response body
/objecttypes/{uuid}:
get:

Check warning on line 433 in src/objecttypes/api/v2/openapi.yaml

View workflow job for this annotation

GitHub Actions / open-api-workflow-lint-oas (v2) / lint-oas-files

operation-description Operation `description` must be present and non-empty string.
operationId: objecttype_read
parameters:
- in: path
Expand All @@ -337,7 +451,7 @@
schema:
$ref: '#/components/schemas/ObjectType'
description: OK
put:

Check warning on line 454 in src/objecttypes/api/v2/openapi.yaml

View workflow job for this annotation

GitHub Actions / open-api-workflow-lint-oas (v2) / lint-oas-files

operation-description Operation `description` must be present and non-empty string.
operationId: objecttype_update
parameters:
- in: header
Expand Down Expand Up @@ -372,7 +486,7 @@
schema:
$ref: '#/components/schemas/ObjectType'
description: OK
patch:

Check warning on line 489 in src/objecttypes/api/v2/openapi.yaml

View workflow job for this annotation

GitHub Actions / open-api-workflow-lint-oas (v2) / lint-oas-files

operation-description Operation `description` must be present and non-empty string.
operationId: objecttype_partial_update
parameters:
- in: header
Expand Down Expand Up @@ -406,7 +520,7 @@
schema:
$ref: '#/components/schemas/ObjectType'
description: OK
delete:

Check warning on line 523 in src/objecttypes/api/v2/openapi.yaml

View workflow job for this annotation

GitHub Actions / open-api-workflow-lint-oas (v2) / lint-oas-files

operation-description Operation `description` must be present and non-empty string.
operationId: objecttype_delete
parameters:
- in: path
Expand Down
2 changes: 1 addition & 1 deletion src/objecttypes/conf/api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from vng_api_common.conf.api import * # noqa - imports white-listed

API_VERSION = "2.2.2"
API_VERSION = "2.3.0"


# api settings
Expand Down
Loading