From 154968f8c8a1b3e9be816e6e9ff4378f340a300e Mon Sep 17 00:00:00 2001 From: Angelo Dini Date: Fri, 19 Aug 2022 15:32:43 +0200 Subject: [PATCH] Bumped version to 3.1.0 (#204) * Bumped version to 3.1.0 * fix build for now * do we need it? * added missing migration * run isort :D --- .github/workflows/test.yml | 2 +- CHANGELOG.rst | 5 +++-- djangocms_link/__init__.py | 2 +- .../0016_alter_link_cmsplugin_ptr.py | 20 +++++++++++++++++++ tests/requirements/base.txt | 1 - tests/settings.py | 1 - 6 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 djangocms_link/migrations/0016_alter_link_cmsplugin_ptr.py diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5a08bd7d..e1a36a6c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ 3.7, 3.8, 3.9, ] # latest release minus two + python-version: [ 3.8, 3.9, ] # latest release minus two requirements-file: [ dj22_cms37.txt, dj22_cms38.txt, diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 595705cf..50203817 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,8 +2,9 @@ Changelog ========= -Unreleased -========== + +3.1.0 (2022-08-19) +================== * Added support for Django 4.0 * Display page title instead of menu title diff --git a/djangocms_link/__init__.py b/djangocms_link/__init__.py index 4eb28e38..7f5601d9 100644 --- a/djangocms_link/__init__.py +++ b/djangocms_link/__init__.py @@ -1 +1 @@ -__version__ = '3.0.0' +__version__ = '3.1.0' diff --git a/djangocms_link/migrations/0016_alter_link_cmsplugin_ptr.py b/djangocms_link/migrations/0016_alter_link_cmsplugin_ptr.py new file mode 100644 index 00000000..d244b356 --- /dev/null +++ b/djangocms_link/migrations/0016_alter_link_cmsplugin_ptr.py @@ -0,0 +1,20 @@ +# Generated by Django 4.0.7 on 2022-08-19 08:09 + +import django.db.models.deletion +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('cms', '0022_auto_20180620_1551'), + ('djangocms_link', '0015_auto_20190621_0407'), + ] + + operations = [ + migrations.AlterField( + model_name='link', + name='cmsplugin_ptr', + field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='%(app_label)s_%(class)s', serialize=False, to='cms.cmsplugin'), + ), + ] diff --git a/tests/requirements/base.txt b/tests/requirements/base.txt index 384f3b94..b8239246 100644 --- a/tests/requirements/base.txt +++ b/tests/requirements/base.txt @@ -1,6 +1,5 @@ django-select2>=5.11,<7 # 7 works in Django 2+ django-filer>=1.5.0 -djangocms-text-ckeditor==4.0.0 html5lib>=1 django-app-helper tox diff --git a/tests/settings.py b/tests/settings.py index 98e72ad5..699f6900 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -6,7 +6,6 @@ 'INSTALLED_APPS': [ 'filer', 'django_select2', - 'djangocms_text_ckeditor', 'tests.utils', ], 'CMS_LANGUAGES': {