mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
2.1 KiB
2.1 KiB
Wagtail 5.2 release notes - IN DEVELOPMENT
Unreleased
---
local:
depth: 1
---
What's new
Other features
- Add
wagtailcache
andwagtailpagecache
template tags to ensure previewing Pages or Snippets will not be cached (Jake Howard) - Always set help text element ID for form fields with help text in
field.html
template (Sage Abdullah)
Bug fixes
- Ensure that StreamField's
FieldBlock
s correctly set therequired
andaria-describedby
attributes (Storm Heg)
Documentation
- ...
Maintenance
- Fix snippet search test to work on non-fallback database backends (Matt Westcott)
- Update Eslint, Prettier & Jest npm packages (LB (Ben) Johnston)
- Add npm scripts for TypeScript checks and formatting SCSS files (LB (Ben) Johnston)
- Run tests in parallel in some of the CI setup (Sage Abdullah)
- Remove unused WorkflowStatus view, urlpattern, and workflow-status.js (Storm Heg)
- Add support for options/attrs in Telepath widgets so that attrs render on the created DOM (Storm Heg)
- Update pre-commit hooks to be in sync with latest changes to Eslint & Prettier for client-side changes (Storm Heg)
- Add
WagtailTestUtils.get_soup()
method to get aBeautifulSoup
object from anHttpResponse
object (Storm Heg) - Allow
ViewSet
subclasses to customiseurl_prefix
andurl_namespace
logic (Matt Westcott)
Upgrade considerations - changes affecting all projects
Upgrade considerations - deprecation of old functionality
Upgrade considerations - changes affecting Wagtail customisations
ModelViewSet
automatically registers the model to the reference index
Models that are registered with a ModelViewSet
now have reference index tracking enabled by default. This means that you no longer need to call ReferenceIndex.register_model()
in your app's ready()
method for such models. If this is undesired, you can disable it by setting {attr}~wagtail.admin.viewsets.model.ModelViewSet.add_to_reference_index
to False
on the ModelViewSet
subclass. For more details, see .