Unreleased
---
local:
depth: 1
---
HOSTNAMES
parameter on WAGTAILFRONTENDCACHE
to define which hostnames a backend should respond to (Jake Howard, sponsored by Oxfam America)EditView
and breadcrumbs (Rohit Sharma)WAGTAILIMAGES_CHOOSER_PAGE_SIZE
setting functional again (Rohit Sharma)richtext
template tag to convert lazy translation values (Benjamin Bach).ico
images (Julie Rymer)restriction_type
field on PageViewRestriction (Shlomo Markowitz)DjangoJSONEncoder
instead of custom LazyStringEncoder
to serialize Draftail config (Sage Abdullah)WAGTAILIMAGES_CHOOSER_PAGE_SIZE
at runtime (Matt Westcott)client/scss
directory in Tailwind content config to speed up CSS compilation (Sage Abdullah)contrib.frontend_cache.backends
into dedicated sub-modules (Andy Babic)Previous versions allowed passing a dict for DISTRIBUTION_ID
within the WAGTAILFRONTENDCACHE
configuration for a CloudFront backend, to allow specifying different distribution IDs for different hostnames. This is now deprecated; instead, multiple distribution IDs should be defined as multiple backends, with a HOSTNAMES
parameter to define the hostnames associated with each one. For example, a configuration such as:
WAGTAILFRONTENDCACHE = {
'cloudfront': {
'BACKEND': 'wagtail.contrib.frontend_cache.backends.CloudfrontBackend',
'DISTRIBUTION_ID': {
'www.wagtail.org': 'your-distribution-id',
'www.madewithwagtail.org': 'other-distribution-id',
},
},
}
should now be rewritten as:
WAGTAILFRONTENDCACHE = {
'mainsite': {
'BACKEND': 'wagtail.contrib.frontend_cache.backends.CloudfrontBackend',
'DISTRIBUTION_ID': 'your-distribution-id',
'HOSTNAMES': ['www.wagtail.org'],
},
'madewithwagtail': {
'BACKEND': 'wagtail.contrib.frontend_cache.backends.CloudfrontBackend',
'DISTRIBUTION_ID': 'other-distribution-id',
'HOSTNAMES': ['www.madewithwagtail.org'],
},
}