From aeaca531de9bceb1b74abc4de8f32444a64df8b3 Mon Sep 17 00:00:00 2001 From: Sidney Richards Date: Wed, 14 Aug 2024 14:51:54 +0200 Subject: [PATCH] Release 0.35.1 --- CHANGELOG.rst | 23 +++++++++++++++++++++-- README.rst | 2 +- pyproject.toml | 4 ++-- 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7b6de2c..0c4e74e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,16 +1,35 @@ Changes ======= -0.35.0 (2024-07-31) +0.35.1 (2024-08-15) ------------------- +Bugfix release. + +* 🐛 The data migration introduced in 0.35.0 would initialize the ``slug`` + field in such a way that the generated slug would typically exceed the + field's ``max_length``. This release fixes the field and the underlying + migration. + +0.35.0💥 (2024-08-13) +------------------- + +**💥 0.35.0 has been yanked and should not be used to avoid ending up in +an inconsistent migration state. Use 0.35.1 instead.** + Small feature release. * ✨ Added a slug field to the ``Service`` model for improved indexing across instances. As this field is required, the included migration will initiaize this field with a slugified version of the ``api_root`` field. * ✨ Added natural key getters to the ``Service`` model to support Django's - natural key-based (de)serialization methods. + natural key-based (de)serialization methods. + +**💥 Breaking changes** + +* Because ``slug`` is now a required field, you may have to update your + custom ``Service`` creation or testing logic to ensure the field is + properly set. 0.34.0 (2024-07-31) ------------------- diff --git a/README.rst b/README.rst index 3951cb3..aa668c1 100644 --- a/README.rst +++ b/README.rst @@ -5,7 +5,7 @@ Welcome to ZGW Consumers' documentation! ======================================== -:Version: 0.35.0 +:Version: 0.35.1 :Source: https://github.com/maykinmedia/zgw-consumers :Keywords: OpenAPI, Zaakgericht Werken, Common Ground, NLX diff --git a/pyproject.toml b/pyproject.toml index 9735a02..877a269 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "zgw-consumers" -version = "0.35.0" +version = "0.35.1" description = "Configuration for service (OpenAPI 3 or other) consumers" authors = [ {name = "Maykin Media", email = "support@maykinmedia.nl"} @@ -101,7 +101,7 @@ testpaths = ["tests"] DJANGO_SETTINGS_MODULE = "testapp.settings" [tool.bumpversion] -current_version = "0.35.0" +current_version = "0.35.1" files = [ {filename = "pyproject.toml"}, {filename = "README.rst"},