Releases: django-cms/django-cms
Releases · django-cms/django-cms
5.0.6
What's Changed
- fix: copying failed if a target placeholders was missing (#8399) by @fsbraun in #8402
- fix: Save fallback for includes when scanning for placeholders (#8405) by @fsbraun in #8407
- fix: copying failed if a target placeholders was missing (#8399) by @fsbraun in #8410
- fix: Fix ApphookReloadMiddleware not handling new language variants #8401 by @fsbraun in #8412
- fix: Improved UX for external placeholders (e.g., static aliases) (#8416) by @fsbraun in #8435
- feat: Preserve GET params when switching to preview or edit mode (#8444) by @fsbraun in #8446
- fix: get_permissions failed for missing global permissions (#8468) by @fsbraun in #8469
- fix: Migrations failed for django-treebeard >= 5.0.3 by @fsbraun in #8485
- fix: make-changelog script by @fsbraun in #8492
- chore: Prepare release 5.0.6 by @fsbraun in #8493
Full Changelog: 5.0.5...5.0.6
5.1.0a1
What's Changed
- fix: Structure board update sometimes failed to add all interactive elements by @fsbraun in #8227
- chore: Prepare new dev branch by @fsbraun in #8223
- chore: Move from script tags containing dom elements to template tags by @fsbraun in #8233
- docs: Require American spelling in documentation by @shundread in #8207
- fix: Update migrations to respect the
--databaseoption by @fsbraun in #8222 - fix: Page settings raised an exception when
USE_I18N = Falseby @fsbraun in #8236 - fix: replace outdated usage of
page__node__pathwithpage__pathby @PeterW-LWL in #8238 - fix: 404 no raised in CMS view when no URLs match by @stefanw in #8240
- fix: Remove unused import by @dnlzrgz in #8241
- build(deps): bump tar-fs by @dependabot[bot] in #8244
- fix: broken links in CONTRIBUTING file by @dnlzrgz in #8245
- build(deps): bump django from 4.2.21 to 4.2.22 in /docs by @dependabot[bot] in #8250
- build(deps): bump requests from 2.32.3 to 2.32.4 in /docs by @dependabot[bot] in #8252
- chore: Make
djangocms-admin-styleoptional dependency by @fsbraun in #8251 - fix: Allow legacy PlaceholderField to be deconstructed by @stefanw in #8248
- fix: Migration error with cms.0027_title_placeholders_data_migration by @jmit-modern in #8249
- refactor: Replace inline-scripts and onclick handlers for better CSP conformance by @stefanw in #8246
- build(deps): bump urllib3 from 2.3.0 to 2.5.0 in /docs by @dependabot[bot] in #8260
- build(deps-dev): bump pbkdf2 from 3.1.2 to 3.1.3 by @dependabot[bot] in #8262
- fix: Apphook widget detection (#8263) by @fsbraun in #8264
- chore: Remove legacy publication code from extensions by @fsbraun in #8270
- fix: show_placeholder did not respect edit/preview mode and failed loudly by @fsbraun in #8272
- fix: Page 'str' return page title for all pages by @mhsiddiqui in #8280
- chore: Include package data in distr by @fsbraun in #8281
- fix: Allow lazy wizard initialization by @fsbraun in #8266
- chore: Introduce dynamic badges by @mrbazzan in #8282
- chore: Run code coverage upon merge of PR by @fsbraun in #8285
- fix: Allow clicks to propagate to plugins by @fsbraun in #8288
- chore: Remove djangocms-text-ckeditor from tests by @fsbraun in #8287
- fix: GrouperAdmin Search in content model by @mhsiddiqui in #8284
- docs: link pr template link to Discord channel by @wesleyboar in #8257
- fix: The headless template included inline CSS by @fsbraun in #8291
- build(deps): bump actions/first-interaction from 1 to 2 by @dependabot[bot] in #8295
- docs: Fix broken link in 01-install.rst by @macolo in #8297
- feat: Django 6 compatibility (July 2025) by @fsbraun in #8299
- feat: Help menu on CMS5 (#8300) by @florianschieder in #8301
- build(deps): bump tmp from 0.2.1 to 0.2.4 by @dependabot[bot] in #8304
- build(deps): bump starlette from 0.46.1 to 0.47.2 in /docs by @dependabot[bot] in #8305
- build(deps): bump actions/download-artifact from 4 to 5 by @dependabot[bot] in #8308
- build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #8307
- build(deps): bump actions/first-interaction from 2 to 3 by @dependabot[bot] in #8310
- build(deps): bump amannn/action-semantic-pull-request from 5.5.3 to 6.0.1 by @dependabot[bot] in #8309
- docs: Add documentation for toolbar get_object and set_object methods by @Copilot in #8312
- build(deps-dev): bump cipher-base from 1.0.4 to 1.0.6 by @dependabot[bot] in #8316
- build(deps-dev): bump sha.js from 2.4.11 to 2.4.12 by @dependabot[bot] in #8315
- fix: Respect individual placeholder checks if they can be changed by @fsbraun in #8317
- perf: Optimize placeholder and plugin utilities by @fsbraun in #8319
- build(deps): bump amannn/action-semantic-pull-request from 6.0.1 to 6.1.1 by @dependabot[bot] in #8323
- fix: Cut children from inactive menu nodes when level is less or equal to 0 by @stefanw in #8322
- build(deps): bump actions/setup-python from 5 to 6 by @dependabot[bot] in #8329
- build(deps): bump actions/setup-node from 4 to 5 by @dependabot[bot] in #8332
- build(deps): bump actions/github-script from 7 to 8 by @dependabot[bot] in #8331
- build(deps): bump actions/stale from 9.1.0 to 10.0.0 by @dependabot[bot] in #8330
- fix: copy lang management command - include PageUrl by @vasekch in #7548
- fix: Migration 0033 failed when empty placeholder objects were not present in the db by @fsbraun in #8338
- build(deps): bump django from 4.2.22 to 4.2.24 in /docs by @dependabot[bot] in #8333
- build(deps): bump tar-fs from 3.0.9 to 3.1.1 by @dependabot[bot] in #8345
- fix: Wrong placholders rendered when using apphooks with own placeholder by @fsbraun in #8343
- build(deps): bump django from 4.2.24 to 4.2.25 in /docs by @dependabot[bot] in #8351
- build(deps): bump actions/stale from 10.0.0 to 10.1.0 by @dependabot[bot] in #8354
- fix: Searching pages for language-specific content failed due to wrong serach queryset by @fsbraun in #8355
- build(deps): bump github/codeql-action from 3 to 4 by @dependabot[bot] in #8359
- ci: Fix new contributor message by @marksweb in #8369
- build(deps): bump actions/setup-node from 5 to 6 by @dependabot[bot] in #8370
- chore: change python version by @vinitkumar in #8371
- build(deps): bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #8373
- build(deps): bump actions/download-artifact from 5 to 6 by @dependabot[bot] in #8372
- fix: avoid stringifying None-values in page attribute template tag by @wfehr in #8375
- fix: link in welcome.html for fellowship program by @fsbraun in #8365
- feat: optimize CI with conditional database testing and nightly runs by @vinitkumar in #8377
- fix: Copying x-language lead to unique constraint violation by @fsbraun in #8366
- fix: Fix default value for edit_fields parameter to avoid AttributeError by @fsbraun in #8379
- build(deps): bump starlette from 0.47.2 to 0.49.1 in /docs by @dependabot[bot] in #8376
- fix: Ensure edit endpoint language selection when admin is not using i18n_patterns by @fsbraun in #8367
- build(deps): bump django from 4.2.25 to 4.2.26 in /docs by @dependabot[bot] in #8389
- fix: Update toolbar URL to use language context by @fsbraun in #8394
- chore: Upgrade JS build pipeline by @fsbraun in #8393
- feat: Implement new Django CMS design language for Django CMS 5.1 by @fsbraun in #8320
- fix: copying failed if a target placeholders was missing by @pietzschke in https://github.com/django-cms/django-cm...
5.0.5
What's Changed
- fix: Searching pages for language-specific content failed due to wrong serach queryset (#8355) by @fsbraun in #8358
- fix: Fix default value for edit_fields parameter to avoid AttributeError by @fsbraun in #8381
- fix: avoid escaping (= stringify) None-values in PageAttribute template tag by @fsbraun in #8384
- fix: Copying x-language lead to unique constraint violation (#8366) by @fsbraun in #8386
- fix: Ensure edit endpoint language selection when admin is not using i18n_patterns (#8367) by @fsbraun in #8390
- chore: Build release 5.0.5 by @fsbraun in #8391
Full Changelog: 5.0.4...5.0.5
5.0.4
4.1.9
What's Changed
- fix: copy lang management command - include PageUrl (#7548) by @fsbraun in #8336
- fix: Migration 0033 failed when empty palceholder objects were not present in the db by @fsbraun in #8340
- chore: Prepare 4.1.8 release by @fsbraun in #8344
- chore: Prepare release 4.1.9 by @fsbraun in #8347
Full Changelog: 4.1.7...4.1.9
5.0.3
What's Changed
- feat: Django 6 compatibility (July 2025) by @fsbraun in #8302
- docs: Add documentation for toolbar get_object and set_object methods by @fsbraun in #8314
- fix: Respect individual placeholder checks if they can be changed (#8317) by @fsbraun in #8318
- fix: Cut children from inactive menu nodes when level is less or equal to 0 (#8322) by @fsbraun in #8324
- fix: copy lang management command - include PageUrl (#7548) by @fsbraun in #8335
- perf: Optimize placeholder and plugin utilities by @fsbraun in #8337
- fix: Migration 0033 failed when empty placeholder objects were not present in the db by @fsbraun in #8339
- chore: Build 5.0.3 release by @fsbraun in #8341
Full Changelog: 5.0.2...5.0.3
5.0.2
What's Changed
- chore: Move from script tags containing dom elements to template tags by @fsbraun in #8237
- fix: Add
default_auto_fieldto cms/apps.py by @fsbraun in #8254 - chore: Add hash to
FuzzyInttest class to satisfy ruff by @fsbraun in #8259 - fix: Apphook widget detection by @fsbraun in #8263
- fix: Allow lazy wizard initialization by @fsbraun in #8265
- fix: CI errors by @fsbraun in #8268
- fix: show_placeholder did not respect edit/preview mode and failed loudly by @fsbraun in #8274
- fix: Allow clicks to propagate to plugins (#8288) by @fsbraun in #8289
- fix: GrouperAdmin Search in content model (#8284) by @fsbraun in #8290
- fix: Removed inline CSS from headless template (#8291) by @fsbraun in #8292
- chore: Prepare release 5.0.2 by @fsbraun in #8293
Full Changelog: 5.0.1...5.0.2
4.1.7
5.0.1
5.0.0
What's Changed
- docs: Fix readme links by @fsbraun in #7896
- chore: Merge back release/4.1.x by @fsbraun in #7899
- build(deps): bump amannn/action-semantic-pull-request from 5.4.0 to 5.5.2 by @dependabot in #7897
- chore: Use static Discord URLs in docs by @macolo in #7908
- chore: Port forward of #7910 by @fsbraun in #7911
- build(deps): bump jinja2 from 3.1.3 to 3.1.4 in /docs by @dependabot in #7912
- docs: Explain how to route requests from an apphook back to the CMS by @jrief in #7878
- fix: Set toolbar direction based on toolbar language by @fsbraun in #7902
- fix: Allow viewing page settings even if page cannot be changed by @fsbraun in #7921
- docs: Update 01-install.rst to include MariaDB by @robertsilen in #7922
- fix: Versioning-safe implementation of placeholder inheritance by @fsbraun in #7924
- build(deps): bump requests from 2.28.1 to 2.32.0 in /docs by @dependabot in #7925
- fix: Only switch to structure endpoint on viewport breakpoint if in edit mode by @fsbraun in #7920
- feat: Reintroduce
default_pluginssetting by @fsbraun in #7919 - fix: #7859: allow special characters in page title by @jrief in #7868
- fix: Correct regression introduced in #7920 (structure board breakpoint) by @fsbraun in #7928
- feat: Re-introduce page-level publish permission just as in v4.0 by @fsbraun in #7837
- docs: Improve explanation on how to use templates with django CMS by @fsbraun in #7929
- build(deps): bump tornado from 6.2 to 6.4.1 in /docs by @dependabot in #7932
- build(deps): bump urllib3 from 1.26.18 to 1.26.19 in /docs by @dependabot in #7938
- docs: Update 02-templates_placeholders.rst by @rcooke in #7935
- docs: fix typo "crating" -> "creating" by @ls-app in #7939
- chore: Prepare develop-4 for Django CMS 4.2 by @fsbraun in #7913
- build(deps): bump amannn/action-semantic-pull-request from 5.5.2 to 5.5.3 by @dependabot in #7946
- build(deps): bump certifi from 2022.12.7 to 2024.7.4 in /docs by @dependabot in #7949
- build(deps): bump pygments from 2.13.0 to 2.15.0 in /docs by @dependabot in #7944
- feat: Performant permission calculation for pages by @fsbraun in #7943
- feat: merge page with node tree by @jrief in #7947
- chore: Fix pre-commit config file extension by @marksweb in #7958
- fix: Show pages titles using fallback languages in pagetree by @fsbraun in #7955
- fix: Fail silently when rendering a placeholder on a missing toolbar object by @fsbraun in #7954
- fix: Invalidate permissions cache if group assignment of user changes by @fsbraun in #7963
- fix: PermissionDenied error when adding page by @jrief in #7965
- docs: Update compatibility table by @jgadelange in #7950
- feat: Headless readiness by @fsbraun in #7850
- fix:
edit_mode_activewas a property, not cached property by @fsbraun in #7971 - fix: template tag
get_admin_url_for_languagedid not return the latest page content by @fsbraun in #7967 - docs: add documentation for search by @filipweidemann in #7972
- chore: fix some comments by @jianghuyiyuan in #7975
- docs: Remove merge markers from Update 3.11.4.rst by @fsbraun in #7959
- fix: Refactor menus app: significant time saving (queries and cpu) by @fsbraun in #7956
- fix: Inconsistent color codes for dark mode and
preferes-color-scheme: autoby @fsbraun in #7979 - fix: Consistent labels and help texts for page content model and page content forms by @fsbraun in #7968
- fix: Also clear menu cache if page permissions are changed by @fsbraun in #7988
- refactor: Replace PageAdmin.delete_view by two smaller methods by @jrief in #7995
- chore: Improve pagecontent caching in page admin (esp. page tree) by @fsbraun in #8002
- build(deps): bump body-parser from 1.20.2 to 1.20.3 by @dependabot in #8007
- build(deps-dev): bump elliptic from 6.5.4 to 6.5.7 by @dependabot in #8009
- fix: Respect ContentAdminManager pattern for frontend-editable models by @fsbraun in #7998
- chore: Django 5.2-compatible test fixtures by @fsbraun in #8008
- docs: add kapa ai bot by @macolo in #8010
- ci: upgrade testing infrastructure by @vinitkumar in #8015
- fix: Consistent toolbar mode by @fsbraun in #8011
- fix: Accept legacy action names for page permission check by @fsbraun in #8021
- build(deps): bump cookie and socket.io by @dependabot in #8026
- build(deps): bump serve-static and browser-sync by @dependabot in #8027
- build(deps): bump starlette from 0.38.5 to 0.40.0 in /docs by @dependabot in #8034
- fix: Sitemap: Return a QuerySet in CMSSitemap.items() by @MacLake in #8031
- fix: Improve UX when page content is missing in selected language by @jrief in #8033
- docs: Add guide on contributing a code patch by @mrbazzan in #8039
- fix: X frame options added to page settings form by @theShinigami in #8041
- docs: documentation update on PageContent by @weshy007 in #8043
- fix: Language tabs didn't show existing content due to caching issue by @filipweidemann in #8046
- chore: Added tests for GetAdminUrlForLanguage template tag by @filipweidemann in #8049
- build(deps-dev): bump elliptic from 6.5.7 to 6.6.0 by @dependabot in #8051
- fix: In rare situations the page tree preview button did not view the latest version by @MacLake in #8050
- fix: Issue 7997 remove edit page dialog by @jrief in #7999
- fix: added redirect message when in editing a redirect toolbar object by @theShinigami in #8056
- chore: Fixed randomly failing Postgres tests by @fsbraun in #8060
- feat: Updated welcome page by @fsbraun in #8057
- chore: Removed django-app-manage dependency by updating
./manage.pyby @fsbraun in #8061 - fix: Handle cms command raising error by @mrbazzan in #8054
- fix: Fall back to class name when app name is None by @halitcelik in #8059
- docs: Update LTS info and overview on supported plugins by @fsbraun in #8065
- fix: Sites menu was empty in the page tree by @fsbraun in #8064
- fix: Grouper admin raised AttributeError when used outside the admin views by @fsbraun in #8067
- feat: Add
FrontendEditableAdminMixinendpoint to plugins by @fsbraun in #8062 - fix: XSS vulnerability for page title by @fsbraun in #8075
- chore: Create security policy by @marksweb in #8077
- fix: Replaced
languagesfield fromPagewhich used to become inconsistent by @fsbraun in #8080 - chore: Linting issues brought by ruff update, remove unused imports by @fsbraun in https://github.com/django-c...