Releases: django-cms/djangocms-versioning
2.1.0
What's Changed
- feat: Add versioning actions to settings (admin change view) of versioned objects by @fsbraun in #408
- fix: Remove workaround for page-specific rendering by @fsbraun in #411
- fix: Compare versions' back button sometimes returns to invalid URL by @fsbraun in #413
- feat: Optimize db evaluation by @fsbraun in #416
- fix-permissions-adding-page by @jrief in #419
- chore: Prepare release 2.1.0 by @fsbraun in #415
- fix: Run tests without setup tools by @fsbraun in #420
- fix: Unnecessary complexity in
current_content
query set by @fsbraun in #417 - feat: Prefetch page content version objects for faster page tree by @fsbraun in #418
- fix: get_page_content retrieved non page-content objects from the toolbar by @fsbraun in #423
- Update README.rst by @fsbraun in #424
- feat: add support for Django 5.0 and 5.1 by @fsbraun in #429
Full Changelog: 2.0.2...2.1.0
2.0.2
What's Changed
- fix: Do not show edit action for version objects where editing is not possible by @fsbraun in #405
- fix: Avoid unnecessary loading of
actions.js
asset into the toolbar by @fsbraun in #403 - Updates for file djangocms_versioning/locale/en/LC_MESSAGES/django.po in ar by @transifex-integration in #407
- feat: Update locales by @fsbraun in #406
Full Changelog: 2.0.1...2.0.2
2.0.1
What's Changed
- fix: Create missing init.py in management folder by @fsbraun in #366
- ci: Add testing against django main by @marksweb in #353
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #373
- build(deps): bump actions/cache from 3.3.1 to 3.3.3 by @dependabot in #372
- build(deps): bump codecov/codecov-action from 2 to 3 by @dependabot in #370
- build(deps): bump actions/setup-python from 3 to 5 by @dependabot in #369
- build(deps): bump actions/cache from 3.3.3 to 4.0.0 by @dependabot in #375
- build(deps): bump codecov/codecov-action from 3 to 4 by @dependabot in #377
- ci: Improve efficiency of ruff workflow by @marksweb in #378
- Chore: update ruff and pre-commit hook by @raffaellasuardini in #381
- build(deps): bump actions/cache from 4.0.0 to 4.0.1 by @dependabot in #385
- fix #363: Better UX in versioning listview by @jrief in #364
- fix: Several fixes for the versioning forms: #382, #383, #384 by @fsbraun in #386
- build(deps): bump github/codeql-action from 2 to 3 by @dependabot in #371
- fix: For Django CMS 4.1.1 and later do not automatically register versioned CMS Menu by @fsbraun in #388
- feat: Add content object level publish permissions by @fsbraun in #390
- fix: Post requests from the side frame were sent to wrong URL by @fsbraun in #396
- build(deps): bump actions/cache from 4.0.1 to 4.0.2 by @dependabot in #397
- fix: Consistent use of action buttons by @fsbraun in #392
- fix: Avoid duplication of placeholder checks for locked versions by @fsbraun in #393
- chore: bump version by @fsbraun in #398
New Contributors
- @dependabot made their first contribution in #373
- @raffaellasuardini made their first contribution in #381
- @jrief made their first contribution in #364
Full Changelog: 2.0.0...2.0.1
2.0.0
What's Changed
- ci: Added concurrency to workflows by @marksweb in #271
- ci: Remove
os
from test workflow matrix by @marksweb in #270 - ci: Update actions to latest versions by @marksweb in #269
- ci: Update isort params for v5 by @marksweb in #268
- Add CodeQL workflow for GitHub code scanning by @lgtm-com in #297
- feat: Django 4.0, 4.1 / Python 3.10/3.11, mysql support, running tests on sqlite, postgres and mysql by @fsbraun in #287
- feat: Compat with cms page content extension changes by @marksweb in #291
- fix: Additional change missed in #291 by @marksweb in #301
- Add: Allow simple version management commands from the page tree indicator drop down menus by @fsbraun in #295
- fix: Adds compatibility for User models with no username field [#292] by @marksweb in #293
- feat: Use same icons in page tree state indicators and Manage verisons by @fsbraun in #302
- fix: Remove patching the django CMS core by @fsbraun in #300
- fix: test requirements after removing the patching pattern by @fsbraun in #303
- feat: add localization and transifex support by @fsbraun in #305
- feat: Add management command to create version objects by @fsbraun in #304
- feat: add Dutch translations, transifex integration file by @fsbraun in #306
- feat: French localization by @fsbraun in #307
- feat: Albanian localization, Transifex integration by @fsbraun in #308
- Some fixed strings are now translatable by @svandeneertwegh in #310
- Translate '/djangocms_versioning/locale/en/LC_MESSAGES/django.po' in 'de' by @transifex-integration in #311
- Translate '/djangocms_versioning/locale/en/LC_MESSAGES/django.po' in 'nl' by @transifex-integration in #312
- fix: translation inconsistencies by @fsbraun in #313
- feat: Add preview button to view published mode by @fsbraun in #316
- feat: Huge performance improvement for admin_manager by @fsbraun in #318
- fix: Minor usability improvements by @fsbraun in #317
- fix: update messages by @fsbraun in #321
- Translate 'djangocms_versioning/locale/en/LC_MESSAGES/django.po' in 'de' by @transifex-integration in #322
- fix: deletion of version objects blocked by source fields by @fsbraun in #320
- feat: allow reuse of status indicators by @fsbraun in #319
- fix: burger menu to also work with new core icons by @fsbraun in #323
- Translate 'djangocms_versioning/locale/en/LC_MESSAGES/django.po' in 'nl' by @transifex-integration in #328
- ci: Switch flake8 and isort for ruff by @marksweb in #329
- fix: Added related_name to version content type field by @marksweb in #274
- feat: Django 4.2, Django CMS 4.1.0rc2 compatibility, and version locking by @fsbraun in #326
- Translations for djangocms_versioning/locale/en/LC_MESSAGES/django.po in de by @transifex-integration in #330
- Translations for djangocms_versioning/locale/en/LC_MESSAGES/django.po in nl by @transifex-integration in #331
- fix: Modify language menu for pages only if it is present by @fsbraun in #333
- feat: Add pypi actions by @fsbraun in #335
- feat: Reversable generic foreign key lookup from version by @Aiky30 in #241
- Add caching to PageContent bool by @stefanw in #346
- Fix tests by @FinalAngel in #349
- Updates for file djangocms_versioning/locale/en/LC_MESSAGES/django.po in fr on branch master by @transifex-integration in #347
- docs: List
DJANGOCMS_VERSIONING_LOCK_VERSIONS
in settings by @fsbraun in #350 - docs: Update documentation by @fsbraun in #351
- fix: Update templates for better styling w/o djangocms-admin-style by @fsbraun in #352
- fix: PageContent extension's
copy_relations
method not called by @fsbraun in #344 - Bugfix/use keyword arguments in admin render change form method by @vipulnarang95 in #356
- Provide additional information when sending publish/unpublish events by @GaretJax in #348
- fix: Preview link language by @fsbraun in #357
- docs: Document version states by @fsbraun in #362
- feat: Add configuration to manage redirect on publish by @fsbraun in #358
New Contributors
- @marksweb made their first contribution in #271
- @lgtm-com made their first contribution in #297
- @fsbraun made their first contribution in #287
- @svandeneertwegh made their first contribution in #310
- @transifex-integration made their first contribution in #311
- @stefanw made their first contribution in #346
- @FinalAngel made their first contribution in #349
- @vipulnarang95 made their first contribution in #356
- @GaretJax made their first contribution in #348
Full Changelog: 1.2.2...2.0.0
2.0.0rc1
-
fix: Only try modifying page language menu if it is present
-
fix: Added
related_name
attribute to thecontent_type
foreign key of theVersion
model. -
fix: burger menu adjusts to the design of django cms core dropdown
-
fix: bug that showed an archived version as unpublished in some cases in the state indicator
-
add: Dutch and French translations thanks to Stefan van den Eertwegh and François Palmierso
-
add: transifex support, German translations
-
add: Revert button as replacement for dysfunctional Edit button for unpublished
versions -
add: status indicators and drop down menus for django cms page tree
-
fix: only offer languages for plugin copy with available content
-
feat: Add support for Django 4.0, 4.1 and Python 3.10 and 3.11
-
fix: migrations for MySql
-
ci: Updated isort params in lint workflow to meet current requirements.
-
ci: Update actions to v3 where possible, and coverage to v2 due to v1 sunset in Feb
-
ci: Remove
os
from test workflow matrix because it's unused -
ci: Added concurrency option to cancel in progress runs when new changes occur
-
fix: Added setting to make the field to identify a user configurable in
ExtendedVersionAdminMixin.get_queryset()
to fix issue for custom user models with nousername
-
ci: Run tests on sqlite, mysql and postgres db
-
feat: Compatibility with page content extension changes to django-cms
-
ci: Added basic linting pre-commit hooks