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

🔖 release 2.2.1 #125

Merged
merged 1 commit into from
Aug 29, 2024
Merged
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
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[bumpversion]
commit = False
tag = False
current_version = 2.2.0
current_version = 2.2.1

[bumpversion:file:README.rst]

Expand Down
20 changes: 18 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,33 @@
Change history
==============

2.x (TBD)
2.2.1 (2024-08-29)
------------------

**New features**

* made user emails unique to prevent two users logging in with the same email, causing an error
* made user emails unique to prevent two users logging in with the same email, causing an error (maykinmedia/open-api-framework#39)
* updated open-api-framework to 0.8.0, which includes adding CSRF, CSP and HSTS settings (#124).
All new environment variables are added to the `documentation <https://objects-and-objecttypes-api.readthedocs.io/en/latest/installation/config.html>`_

.. warning::
User email addresses will now be unique on a database level. The database migration will fail if there are already
two or more users with the same email address. You must ensure this is not the case before upgrading.

.. warning::

SECURE_HSTS_SECONDS has been added with a default of 31536000 seconds, ensure that
before upgrading to this version of open-api-framework, your entire application is served
over HTTPS, otherwise this setting can break parts of your application (see https://docs.djangoproject.com/en/4.2/ref/middleware/#http-strict-transport-security)


**Bugfixes and QOL**

* fixed CSS style of help-text icon in the Admin (open-zaak/open-notificaties#150)
* bumped python dependencies due to security issues: django, celery, certifi, maykin-2fa, mozilla-django-oidc-db,
sentry-sdk, webob and others (#122, #123)


2.2.0 (2024-06-27)
------------------

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.0
:Version: 2.2.1
: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.0..master#diff-b9c28fec6c3f3fa5cff870d24601d6ab7027520f3b084cc767aefd258cb8c40a>`_)
(`verschillen <https://github.com/maykinmedia/objecttypes-api/compare/2.2.1..master#diff-b9c28fec6c3f3fa5cff870d24601d6ab7027520f3b084cc767aefd258cb8c40a>`_)
2.2.1 2022-08-23 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/2.2.1/src/objecttypes/api/v2/openapi.yaml>`_,
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/2.2.1/src/objecttypes/api/v2/openapi.yaml>`_
(`verschillen <https://github.com/maykinmedia/objecttypes-api/compare/2.2.0..2.2.1#diff-b9c28fec6c3f3fa5cff870d24601d6ab7027520f3b084cc767aefd258cb8c40a>`_)
2.2.0 2022-06-24 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/2.2.0/src/objecttypes/api/v2/openapi.yaml>`_,
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/2.2.0/src/objecttypes/api/v2/openapi.yaml>`_
(`verschillen <https://github.com/maykinmedia/objecttypes-api/compare/2.0.0..2.2.0#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.0
:Version: 2.2.1
: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.0..master#diff-b9c28fec6c3f3fa5cff870d24601d6ab7027520f3b084cc767aefd258cb8c40a>`_)
(`diff <https://github.com/maykinmedia/objecttypes-api/compare/2.2.1..master#diff-b9c28fec6c3f3fa5cff870d24601d6ab7027520f3b084cc767aefd258cb8c40a>`_)
2.2.1 2022-08-23 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/2.2.1/src/objecttypes/api/v2/openapi.yaml>`_,
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/2.2.1/src/objecttypes/api/v2/openapi.yaml>`_
(`diff <https://github.com/maykinmedia/objecttypes-api/compare/2.2.0..2.2.1#diff-b9c28fec6c3f3fa5cff870d24601d6ab7027520f3b084cc767aefd258cb8c40a>`_)
2.2.0 2022-06-24 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/2.2.0/src/objecttypes/api/v2/openapi.yaml>`_,
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/2.2.0/src/objecttypes/api/v2/openapi.yaml>`_
(`diff <https://github.com/maykinmedia/objecttypes-api/compare/2.0.0..2.2.0#diff-b9c28fec6c3f3fa5cff870d24601d6ab7027520f3b084cc767aefd258cb8c40a>`_)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.0",
"version": "2.2.1",
"description": "objecttypes project",
"main": "src/objecttypes/static/bundles/objecttypes-js.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion publiccode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publiccodeYmlVersion: '0.2'
name: Objecttypes API
url: 'http://github.com/maykinmedia/objecttypes-api.git'
softwareType: standalone/backend
softwareVersion: 2.2.0
softwareVersion: 2.2.1
releaseDate: '2021-01-13'
logo: 'https://github.com/maykinmedia/objects-api/blob/master/docs/logo.png'
platforms:
Expand Down
2 changes: 1 addition & 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.0 (v2)
version: 2.2.1 (v2)
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 / Run with version v2

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 / Run with version v2

operation-description Operation `description` must be present and non-empty string.
operationId: objecttype_create
parameters:
- in: header
Expand Down Expand Up @@ -109,7 +109,7 @@
$ref: '#/components/schemas/ObjectType'
description: Created
/objecttypes/{objecttype_uuid}/versions:
get:

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

View workflow job for this annotation

GitHub Actions / Run with version v2

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

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

View workflow job for this annotation

GitHub Actions / Run with version v2

operation-description Operation `description` must be present and non-empty string.
operationId: objectversion_create
parameters:
- in: header
Expand Down Expand Up @@ -177,7 +177,7 @@
$ref: '#/components/schemas/ObjectVersion'
description: Created
/objecttypes/{objecttype_uuid}/versions/{version}:
get:

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

View workflow job for this annotation

GitHub Actions / Run with version v2

operation-description Operation `description` must be present and non-empty string.
operationId: objectversion_read
parameters:
- in: path
Expand Down Expand Up @@ -206,7 +206,7 @@
schema:
$ref: '#/components/schemas/ObjectVersion'
description: OK
put:

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

View workflow job for this annotation

GitHub Actions / Run with version v2

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

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

View workflow job for this annotation

GitHub Actions / Run with version v2

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

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

View workflow job for this annotation

GitHub Actions / Run with version v2

operation-description Operation `description` must be present and non-empty string.
operationId: objectversion_delete
parameters:
- in: path
Expand All @@ -316,7 +316,7 @@
'204':
description: No response body
/objecttypes/{uuid}:
get:

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

View workflow job for this annotation

GitHub Actions / Run with version v2

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

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

View workflow job for this annotation

GitHub Actions / Run with version v2

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

API_VERSION = "2.2.0"
VERSIONS = {"v1": "1.2.0", "v2": "2.2.0"}
API_VERSION = "2.2.1"
VERSIONS = {"v1": "1.2.0", "v2": "2.2.1"}


# api settings
Expand Down
Loading