From 6b369139335ff3b599f637cf3f0a66977e250e2e Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Wed, 27 Mar 2024 20:18:43 +0100 Subject: [PATCH] chore: Bump version and update changelog (#231) --- CHANGELOG.rst | 19 +++++++++++++++++-- djangocms_alias/__init__.py | 2 +- .../context_alias_template/alias.html | 1 + 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 tests/templates/djangocms_alias/context_alias_template/alias.html diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7120b68..00d4da5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,8 +2,23 @@ Changelog ========= -2.0.0rc3 (2023-12-12) -===================== +2.0.1 (2024-03-27) +================== + +* fix: Remove newline from alias template by @fsbraun in https://github.com/django-cms/djangocms-alias/pull/220 +* fix Sync pre-commit checks (#216) by @raffaellasuardini in https://github.com/django-cms/djangocms-alias/pull/226 +* fix: Remove `get_absolute_url` from both `Alias` and `AliasContent` models by @fsbraun in https://github.com/django-cms/djangocms-alias/pull/199 +* fix djangocms-versioning draft deletion bug (#214) by @fscherf in https://github.com/django-cms/djangocms-alias/pull/215 + +Contributors + +* @aacimov made their first contribution in https://github.com/django-cms/djangocms-alias/pull/213 +* @raffaellasuardini made their first contribution in https://github.com/django-cms/djangocms-alias/pull/217 +* @fscherf made their first contribution in https://github.com/django-cms/djangocms-alias/pull/215 + + +2.0.0 (2023-12-12) +================== * fix: avoid generating migrations based on settings.LANGUAGE by @vasekch in https://github.com/django-cms/djangocms-alias/pull/186 * fix: Enable caching for `static_alias` template tag by @vasekch in https://github.com/django-cms/djangocms-alias/pull/200 * fix: `static_alias` unnecessarily creates new content objects when used with versioning by @fsbraun in https://github.com/django-cms/djangocms-alias/pull/202 diff --git a/djangocms_alias/__init__.py b/djangocms_alias/__init__.py index 8c0d5d5..159d48b 100644 --- a/djangocms_alias/__init__.py +++ b/djangocms_alias/__init__.py @@ -1 +1 @@ -__version__ = "2.0.0" +__version__ = "2.0.1" diff --git a/tests/templates/djangocms_alias/context_alias_template/alias.html b/tests/templates/djangocms_alias/context_alias_template/alias.html new file mode 100644 index 0000000..faadde6 --- /dev/null +++ b/tests/templates/djangocms_alias/context_alias_template/alias.html @@ -0,0 +1 @@ +{% load djangocms_alias_tags %}{{ alias_static_code }}{% render_alias instance.alias %} \ No newline at end of file