Skip to content

Commit 80c1c23

Browse files
committed
🔖 [#691] Release version 3.4.0
1 parent 3a4394c commit 80c1c23

File tree

10 files changed

+60
-13
lines changed

10 files changed

+60
-13
lines changed

CHANGELOG.rst

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,37 @@
22
Change history
33
==============
44

5+
3.4.0 (2025-10-28)
6+
------------------
7+
8+
.. warning::
9+
10+
This version contains a data migration which denormalizes the ``object_type`` on the ObjectRecord
11+
model to make queries more performant, by avoiding additional JOINs.
12+
13+
This data migration can take around **40 minutes to 1.5 hours**, dependent
14+
on the amount of ObjectRecords in the database. It was tested on a dataset of 3.8 million
15+
ObjectRecords, for which this migration took 45 minutes. This data migration does handle newly
16+
created ObjectRecords if the Objects API is still running simultaneously.
17+
18+
If the Objects API is still running while this migration is applied and if there is
19+
always a constant influx of created ObjectRecords, this migration could theoretically
20+
keep running indefinitely, or there could be a small window (if the data migration does finish)
21+
where the ``NOT NULL`` constraint is not yet applied and ``NULL`` values are being inserted,
22+
causing errors. Although this is unlikely, if your instance is at risk for this,
23+
it could be safer to take the Objects API offline before migrating to avoid this.
24+
25+
**Performance optimizations**
26+
27+
* [#677] Denormalize ``ObjectRecord`` by adding ``_object_type`` to avoid JOINs in queries.
28+
This improves performance for read operations via the API.
29+
30+
**Project maintenance**
31+
32+
* [:open-api-framework:`163`] Integrate django-common to make uses of shared views/templates
33+
* [:objects-api:`663`] Upload performance tests results to bencher
34+
* [:open-api-workflows:`30`] Run API Design Rules linter on OpenAPI specification in CI
35+
536
3.3.1 (2025-10-16)
637
------------------
738

README.NL.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Objecten API
33
============
44

5-
:Version: 3.3.1
5+
:Version: 3.4.0
66
:Source: https://github.com/maykinmedia/objecttypes-api
77
:Keywords: objecten, assets, zaakobjecten
88

@@ -38,7 +38,13 @@ Applicatie versie Release datum API specificatie
3838
================= ============== =============================
3939
latest n/a `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/master/src/objects/api/v2/openapi.yaml>`_,
4040
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/master/src/objects/api/v2/openapi.yaml>`_,
41-
(`verschillen <https://github.com/maykinmedia/objects-api/compare/3.3.0..master>`_)
41+
(`verschillen <https://github.com/maykinmedia/objects-api/compare/3.4.0..master>`_)
42+
3.4.0 2025-10-28 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/3.4.0/src/objects/api/v2/openapi.yaml>`_,
43+
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/3.4.0/src/objects/api/v2/openapi.yaml>`_
44+
(`verschillen <https://github.com/maykinmedia/objects-api/compare/3.3.1..3.4.0>`_)
45+
3.3.1 2025-10-16 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/3.3.1/src/objects/api/v2/openapi.yaml>`_,
46+
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/3.3.1/src/objects/api/v2/openapi.yaml>`_
47+
(`verschillen <https://github.com/maykinmedia/objects-api/compare/3.3.0..3.3.1>`_)
4248
3.3.0 2025-10-02 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/3.3.0/src/objects/api/v2/openapi.yaml>`_,
4349
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/3.3.0/src/objects/api/v2/openapi.yaml>`_
4450
(`verschillen <https://github.com/maykinmedia/objects-api/compare/3.2.0..3.3.0>`_)

README.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Objects API
33
===========
44

5-
:Version: 3.3.1
5+
:Version: 3.4.0
66
:Source: https://github.com/maykinmedia/objects-api
77
:Keywords: objects, assets, zaakobjecten
88

@@ -36,7 +36,13 @@ Application version Release date API specification
3636
=================== ============== =============================
3737
latest n/a `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/master/src/objects/api/v2/openapi.yaml>`_,
3838
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/master/src/objects/api/v2/openapi.yaml>`_,
39-
(`diff <https://github.com/maykinmedia/objects-api/compare/3.3.0..master>`_)
39+
(`diff <https://github.com/maykinmedia/objects-api/compare/3.4.0..master>`_)
40+
3.4.0 2025-10-28 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/3.4.0/src/objects/api/v2/openapi.yaml>`_,
41+
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/3.4.0/src/objects/api/v2/openapi.yaml>`_
42+
(`diff <https://github.com/maykinmedia/objects-api/compare/3.3.1..3.4.0>`_)
43+
3.3.1 2025-10-16 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/3.3.1/src/objects/api/v2/openapi.yaml>`_,
44+
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/3.3.1/src/objects/api/v2/openapi.yaml>`_
45+
(`diff <https://github.com/maykinmedia/objects-api/compare/3.3.0..3.3.1>`_)
4046
3.3.0 2025-10-02 `ReDoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/3.3.0/src/objects/api/v2/openapi.yaml>`_,
4147
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/3.3.0/src/objects/api/v2/openapi.yaml>`_
4248
(`diff <https://github.com/maykinmedia/objects-api/compare/3.2.0..3.3.0>`_)

docs/api/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ API Specification version(s)
1515
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objecttypes-api/3.0.3/src/objecttypes/api/v2/openapi.yaml>`__
1616
)
1717
`Objects API`_ 2.4.4 (
18-
`Redoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/3.3.1/src/objects/api/v2/openapi.yaml>`__,
19-
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/3.3.1/src/objects/api/v2/openapi.yaml>`__
18+
`Redoc <https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/3.4.0/src/objects/api/v2/openapi.yaml>`__,
19+
`Swagger <https://petstore.swagger.io/?url=https://raw.githubusercontent.com/maykinmedia/objects-api/3.4.0/src/objects/api/v2/openapi.yaml>`__
2020
)
2121
====================== ==========================================
2222

docs/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@
123123
"https://github.com/maykinmedia/open-api-framework/issues/%s",
124124
"#%s",
125125
),
126+
"open-api-workflows": (
127+
"https://github.com/maykinmedia/open-api-workflows/issues/%s",
128+
"#%s",
129+
),
126130
"charts": (
127131
"https://github.com/maykinmedia/charts/issues/%s",
128132
"#%s",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "objects",
3-
"version": "3.3.1",
3+
"version": "3.4.0",
44
"description": "objects project",
55
"main": "src/objects/static/bundles/objects-js.js",
66
"directories": {

publiccode.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ publiccodeYmlVersion: '0.2'
77
name: Objects API
88
url: 'http://github.com/maykinmedia/objects-api.git'
99
softwareType: standalone/backend
10-
softwareVersion: 3.3.1
11-
releaseDate: '2025-10-16'
10+
softwareVersion: 3.4.0
11+
releaseDate: '2025-10-28'
1212
logo: 'https://github.com/maykinmedia/objects-api/blob/master/docs/logo.png'
1313
platforms:
1414
- web

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ requires-python = "== 3.12"
66
[tool.bumpversion]
77
commit = false
88
tag = false
9-
current_version = "3.3.1"
9+
current_version = "3.4.0"
1010
pre_commit_hooks = [
1111
"npm i", # ensure that package-lock.json is updated
1212
]

src/objects/__init__.py

Lines changed: 1 addition & 1 deletion
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__ = "3.3.1"
4+
__version__ = "3.4.0"
55
__author__ = "Maykin Media"
66
__homepage__ = "https://github.com/maykinmedia/objects-api"

0 commit comments

Comments
 (0)