Update dependency wagtail to v6 - autoclosed #110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/wagtail-6.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==5.2.7->==6.4.1Release Notes
wagtail/wagtail (wagtail)
v6.4.1: 6.4.1Compare Source
none()querysets (Matt Westcott)Page.get_route_pathsdocstring (Baptiste Mispelon)v6.4: 6.4Compare Source
django-tasks(Jake Howard)specific()sub-queries usingselect_related&prefetch_related(Andy Babic)DATA_UPLOAD_MAX_NUMBER_FIELDSin project template (Matt Westcott)allowed_http_methods(Andy Babic)FieldPanel/InlinePanel(Matt Westcott)on_serve_pagehook to modify the serving chain of pages (Krystian Magdziarz, Dawid Bugajewski)WAGTAIL_GRAVATAR_PROVIDER_URLURLs with query string parameters (Ayaan Qadri, Guilhem Saurel)get_avatar_urlhook to customise user avatars (James Harrington)pageas a third parameter to theconstruct_wagtail_userbarhook (claudobahn)Fuzzyqueries (Tom Usher)StreamField.get_default()to prevent creation forms from breaking (Matt Westcott)read_onlyFieldpanels in use (Strapchay)th(table heading) elements that are not compliant with accessibility standards (Jai Vignesh J)MultipleChooserPanelusing images or documents work when nested within anInlinePanelwhen no other choosers are in use within the model (Elhussein Almasri)MultipleChooserPanelworks after doing a search in the page chooser modal (Matt Westcott)ListBlockinstances get created with unique IDs in the admin client for accessibility and mini-map element references (Srishti Jaiswal)get_block_by_content_pathonImageBlockto prevent errors on commenting (Matt Westcott)aria-expandedattribute to new column button onTypedTableBlockto reflect menu state (Ayaan Qadri, Scott Cranfill)Pagepanel definitions without importingwagtail.admin(Matt Westcott)WidgetWithScriptby raising it withstacklevel=3(Joren Hammudoglu)Site.find_for_request()fromPage.get_url_parts()(Andy Babic)StreamChildrenToListBlockOperationfrom duplicating data across multiple StreamField instances (Joshua Munn)wagtail startcommand to the management commands reference page (Damilola Oladele)DATA_UPLOAD_MAX_NUMBER_FIELDSwhen integrating Wagtail into Django (Matt Westcott)mark_safetoformat_htmlfor any script inclusions, to better avoid XSS issues from example code (Aayushman Singh)AbstractEmailFormorAbstractFormpages (John-Scott Atlakson, LB (Ben) Johnston)BlogTagIndexPageexample for clarity (Clifford Gama)wagtailcacheandwagtailpagecacheexamples to not use quotes for thefragment_name(Shiv)HTTPMethodinPage.handle_options_request()docs (Sage Abdullah)FieldPanel/InlinePanelwhere appropriate (Unyime Emmanuel Udoh)get_templatemethod on StreamField blocks (Matt Westcott)RichTextBlockto aStreamField(Matt Westcott)ALLOWED_HOSTScheck inSite.find_for_request(Jake Howard)CloneControllerto ensure thatadded/clearedevents are not dispatched as cancelable (LB (Ben) Johnston)uuidUMD module as all code is now using the NPM module (LB (Ben) Johnston)eslint-disable no-undeflinter directives withglobalcomments (LB (Ben) Johnston)PreviewControllerusage to leverage Stimulus actions instead of callingpreventDefaultmanually (Ayaan Qadri)ZoneController(w-zone) to support dynamic class name changes & event handling on container elements (Ayaan Qadri)ModalWorkflow(LB (Ben) Johnston)delayvalue inTagControllerto debounce async autocomplete tag fetch requests (Aayushman Singh)DrilldownController(Srishti Jaiswal)LinkController(w-link) (Sage Abdullah)EditViewto make better use of genericEditView(Sage Abdullah)RulesController(w-rules) to support declarative conditional field enabling from other field values in a form (LB (Ben) Johnston)RulesController(w-rules) approach (LB (Ben) Johnston)ZoneController(w-zone) to support inactive class and a mechanism to switch the mode based on data within events (Ayaan Qadri)ZoneController(w-zone) to remove ad-hoc jQuery for the privacy switch when toggling visibility of private/public elements (Ayaan Qadri)is_active&active_menu_itemsfromwagtail.admin.menu.MenuItem(Srishti Jaiswal)openpyxlat runtime to improve performance for projects that do not useReportView,SpreadsheetExportMixinandwagtail.contrib.redirects(Sébastien Corbin)mpinstead ofmmfor 'mystery person' as the default Gravatar if no avatar found (Harsh Dange)venvinstead ofpipenvin CircleCI (Sage Abdullah)FormsetController(w-formset) to support dynamic formset insertion/deletion behavior (LB (Ben) Johnston)revisions_revertview to be a subclass ofEditView(Sage Abdullah)get_usage().count()call to view code (Sage Abdullah)v6.3.3Compare Source
StreamChildrenToListBlockOperationfrom duplicating data across multiple StreamField instances (Joshua Munn)RichTextBlockto aStreamField(Matt Westcott)v6.3.2: 6.3.2Compare Source
get_block_by_content_pathonImageBlockto prevent errors on commenting (Matt Westcott)v6.3.1: 6.3.1Compare Source
ImageChooserBlocktoImageBlockdata conversions where all inputs tobulk_to_pythonare null (Storm Heg, Matt Westcott)BlogTagIndexPageexample for clarity (Clifford Gama)wagtailcacheandwagtailpagecacheexamples to not use quotes for thefragment_name(Shiv)v6.3: 6.3 (LTS)Compare Source
ImageBlockwith alt text support (Chiemezuo Akujobi for Google Summer of Code, mentored by Storm Heg, Saptak Sengupta, Thibaud Colas and Matt Westcott)getTextLabelmethod on date / time StreamField blocks (Vaughn Dickson)WAGTAIL_AUTO_UPDATE_PREVIEWsetting, useWAGTAIL_AUTO_UPDATE_PREVIEW_INTERVAL = 0instead (Sage Abdullah)capfirstfor title-casing model verbose names (Sébastien Corbin)copy_for_translation_donesignal when copying translatable models as well as pages (Coen van der Kamp)descriptionfield across all images, to better support accessible image descriptions (Chiemezuo Akujobi)file_sizefield on document model to avoid artificial 2Gb limit (Gabriel Getzie)TypedTableBlockuses the correct API representations of child blocks (Matt Westcott)mediadefinitions (Sage Abdullah)AbstractGroupApprovalTaskto ensurecan_handlechecks for the abstract class correctly (Sumana Sree Angajala)WAGTAIL_WORKFLOW_REQUIRE_REAPPROVAL_ON_EDITdocumentation to state that it defaults toFalse(Matt Westcott)TokenAuthenticationin the Wagtail API v2 Configuration Guide (Krzysztof Jeziorny)zoneinfo.available_timezones(Sage Abdullah)get_prep_valuefor closer alignment with JSONField (Sage Abdullah)IndexViewtoBaseListingView(Sage Abdullah).in_bulk()on specific querysets under Django 5.2a0 (Sage Abdullah)test-mediato .gitignore (Shlomo Markowitz)debounceutil's return type for better TypeScript usage (Sage Abdullah)wagtailConfigvalues from inline scripts to thewagtail_configtemplate tag (LB (Ben) Johnston, Sage Abdullah){% locales %}and{% js_translation_strings %}template tags (LB (Ben) Johnston, Sage Abdullah)window.wagtailConfig.BULK_ACTION_ITEM_TYPEusage in JavaScript to reduce reliance on inline scripts (LB (Ben) Johnston)window.fileupload_optsusage in JavaScript, use data attributes on fields instead to reduce reliance on inline scripts (LB (Ben) Johnston)image_format_name_to_content_typehelper function that duplicates Willow functionality (Matt Westcott)DeleteMenuItemAPI for footer actions (Sage Abdullah)v6.2.3: 6.2.3Compare Source
v6.2.2: 6.2.2Compare Source
USE_THOUSAND_SEPARATORformatting numbers where formatting is invalid (Sébastien Corbin, Matt Westcott)v6.2.1: 6.2.1Compare Source
child_blockbeing passed as a kwarg in ListBlock migrations (Matt Westcott)wagtail.admin.modelsand custom user models (Matt Westcott)v6.2: 6.2Compare Source
HOSTNAMESparameter onWAGTAILFRONTENDCACHEto define which hostnames a backend should respond to (Jake Howard, sponsored by Oxfam America)EditViewand breadcrumbs (Rohit Sharma)ChooseParentViewif only one possible valid parent page is available (Matthias Brück)copy_for_translation_donesignal when a page is copied for translation (Arnar Tumi Þorsteinsson)deactivate()method toProgressController(Alex Morega)ModelViewSet(Sage Abdullah)routable_resolver_matchattribute available on RoutablePageMixin responses (Andy Chosak)UserViewSetvia the app config (Sage Abdullah)StreamBlock/ListBlockmin_num/max_num(Matt Westcott)WAGTAILIMAGES_CHOOSER_PAGE_SIZEsetting functional again (Rohit Sharma)richtexttemplate tag to convert lazy translation values (Benjamin Bach).icoimages (Julie Rymer)verbose_nameonTranslatableMixin.localeso that it is translated when used as a label (Romein van Buren)wagtail_serveview is on a non-root path (Sage Abdullah)for_instancemethod toPageLogEntryManager(Matt Westcott)WAGTAIL_DATE_FORMAT,WAGTAIL_DATETIME_FORMATandWAGTAIL_TIME_FORMATtakeFORMAT_MODULE_PATHinto account (Sébastien Corbin)restriction_typefield on PageViewRestriction (Shlomo Markowitz)Orderableis not required for inline panels (Bojan Mihelac)prefers-reduced-motionto the accessibility documentation (Roel Koper)vary_fieldsproperty for custom image filters (Daniel Kirkham)DjangoJSONEncoderinstead of customLazyStringEncoderto serialize Draftail config (Sage Abdullah)WAGTAILIMAGES_CHOOSER_PAGE_SIZEat runtime (Matt Westcott)client/scssdirectory in Tailwind content config to speed up CSS compilation (Sage Abdullah)contrib.frontend_cache.backendsinto dedicated sub-modules (Andy Babic)docs/autobuild.shscript (Sævar Öfjörð Magnússon)urlparsewithurlsplitto improve performance (Jake Howard)'BlockWidget' object has no attribute '_block_json'from masking errors during StreamField serialization (Matt Westcott)v6.1.3: 6.1.3Compare Source
.icoimages (Julie Rymer)v6.1.2: 6.1.2Compare Source
ChoiceBlock(Matt Westcott)wagtail.contrib.settings(Victor Miti, Matt Westcott, Jake Howard)v6.1.1: 6.1.1Compare Source
v6.1: 6.1Compare Source
WAGTAIL_DATE_FORMAT,WAGTAIL_DATETIME_FORMAT,WAGTAIL_TIME_FORMATare correctly configured (Rohit Sharma, Coen van der Kamp)IndexViewusing thegeneric.IndexView(Rohit Sharma, Sage Abdullah, Storm Heg)IndexViewusing thegeneric.IndexView(Rohit Sharma, Sage Abdullah, Temidayo Azeez)PageListingViewSetfor custom per-page-type page listings (Matt Westcott)ChooseParentViewtoPageListingViewSetto allow creating pages from custom page listings (Abdelrahman Hamada, Sage Abdullah)djangorestframeworkto 3.15.1 (Sage Abdullah)IndexView.list_display(Abdelrahman Hamada)STORAGESalias name forWAGTAILIMAGES_RENDITION_STORAGE(Alec Baron)PASSWORD_REQUIRED_TEMPLATEsetting toWAGTAIL_PASSWORD_REQUIRED_TEMPLATEwith deprecation of previous naming (Saksham Misra, LB (Ben) Johnston)DOCUMENT_PASSWORD_REQUIRED_TEMPLATEsetting toWAGTAILDOCS_PASSWORD_REQUIRED_TEMPLATEwith deprecation of previous naming (Saksham Misra, LB (Ben) Johnston)get_parent(Nigel van Keulen)wagtail.contrib.settingsorModelViewSet(Ben Morse, Joshua Munn, Jake Howard, Sage Abdullah)__str__for MySQL search index (Jake Howard)dateobjects onhuman_readable_datetemplate tag (Jhonatan Lopes)verbose_namein group edit view when listing custom permissions (Sage Abdullah, Neeraj Yetheendran, Omkar Jadhav)make livehtml(Sage Abdullah)LANGUAGE_CODE(Mark Niehues)UnsavedControllerchecks for nested removal/additions of inputs so that the unsaved warning shows in more valid cases when editing a page (Karthik Ayangar)get_add_url()is always used to re-render the add button when the listing is refreshed in viewsets (Sage Abdullah)objectsmanager (Jhonatan Lopes)get_dummy_request's resulting host name when running tests withALLOWED_HOSTS = ["*"](David Buxton)timesince_last_updatetemplate tag (Matt Westcott)w-kbd-scope-valuewith support forglobalso that specific keyboard shortcuts (e.g. ctrl+s/cmd+s) trigger consistently even when focused on fields (Neeraj Yetheendran)WAGTAIL_ALLOW_UNICODE_SLUGSsetting when auto-generating slugs (LB (Ben) Johnston)convert_mariadb_uuidsmanagement command to assist with upgrading to Django 5.0+ on MariaDB (Matt Westcott)--purge-onlyinwagtail_update_image_renditionsmanagement command section (Pranith Beeram)6.3.0with a fix for the missing favicon (Sage Abdullah)wagtail_update_image_renditionsmanagement command on the using images page (LB (Ben) Johnston)html.parser(Jake Howard)html.parser& removehtml5libdependency (Jake Howard)Buttonthat only renders links (a element) toLinkand remove unused prop & behavior that was non-compliant for aria role usage (Advik Kabra)wagtail.models.AbstractWorkflowmodel to support future customizations around workflows (Hossein)classnamestemplate tag to handle nested lists of strings, use template tag for adminbodyelement (LB (Ben) Johnston)UploadedDocumentandUploadedImageinto newUploadedFilemodel for easier shared code usage (Advik Kabra, Karl Hobley)window.chooserUrlsglobals, removing the need for inline scripts (Elhussein Almasri)w-init(InitController) to support adetailvalue to be dispatched on events (Chiemezuo Akujobi)page_breadcrumbstag to use sharedbreadcrumbs.htmltemplate (Sage Abdullah)keyboardicon to admin icon set (Rohit Sharma)SwapController(LB (Ben) Johnston)w-block/BlockController) to instantiateStreamFieldblocks (Karthik Ayangar)w-kbd/KeyboardController) (Neeraj Yetheendran)xregexp(IE11 polyfill) along withwindow.XRegExpglobal util (LB (Ben) Johnston)urlifyto use TypeScript, officially deprecatewindow.URLifyglobal util (LB (Ben) Johnston)v6.0.6: 6.0.6Compare Source
v6.0.5: 6.0.5Compare Source
wagtail.contrib.settings(Victor Miti, Matt Westcott, Jake Howard)v6.0.4: 6.0.4Compare Source
v6.0.3: 6.0.3Compare Source
wagtail.contrib.settingsorModelViewSet(Ben Morse, Joshua Munn, Jake Howard, Sage Abdullah)WAGTAIL_ALLOW_UNICODE_SLUGSsetting when auto-generating slugs (LB (Ben) Johnston)convert_mariadb_uuidsmanagement command to assist with upgrading to Django 5.0+ on MariaDB (Matt Westcott)v6.0.2: 6.0.2Compare Source
make livehtml(Sage Abdullah)get_add_url()is always used to re-render the add button when the listing is refreshed in viewsets (Sage Abdullah)modal-workflow.jsscript usage to base admin template instead of ad-hoc imports so that choosers work inModelViewSets (Elhussein Almasri)InlinePanelis included by default inModelViewSet's create and edit views (Sage Abdullah)extra_footer_actionsblock in page create/edit templates (LB (Ben) Johnston, Sage Abdullah)6.3.0with a fix for the missing favicon (Sage Abdullah)v6.0.1: 6.0.1Compare Source
BooleanRadioSelectuses the same styles asRadioSelect(Thibaud Colas)collectstaticwhenManifestStaticFilesStorageis in use (Matt Westcott)v6.0: 6.0Compare Source
🎉 Special 10th anniversary release! 🎉
search_indexoption to StreamField blocks to control whether the block is indexed for searching (Vedant Pandey)UniqueConstraintin place ofunique_togetherforTranslatableMixin's system check (Temidayo Azeez, Sage Abdullah)IndexView.get_add_url()in snippets index view template (Christer Jensen, Sage Abdullah)Page.permissions_for_user()to be overridden by specific page types (Sébastien Corbin)extra_actionsblocks to Snippets and generic index templates (Bhuvnesh Sharma)panels/edit_handleronModelViewSet(Sage Abdullah)PagePermissionPolicyinwagtail.permissionsmodule (Sage Abdullah)max_length(Elhussein Almasri)TypedTableBlock(Tommaso Amici, Cynthia Kiser)TableBlockheader controls to a field that requires user input (Bhuvnesh Sharma, Aman Pandey, Cynthia Kiser)WAGTAILADMIN_LOGIN_URLsetting to allow customising the login URL (Neeraj Yetheendran)DrilldownControllerandw-drilldowncomponent to support drilldown menus (Thibaud Colas)captionon admin UI Table component (Aman Pandey)SnippetViewSet&ModelViewSetto support being copied (Shlomo Markowitz)STORAGESsetting introduced in Django 4.2 (phijma-leukeleu)index_results.htmlorindex_results_template_nameoverride on initial load (Stefan Hammer)last_published_by_user(Chiemezuo Akujobi)aliasandspecific(Tomasz Knapik)ActionControllerexplicitly checks for elements that allow select functionality (Nandini Arora)FormSubmissionsPanelon Django 5.0 when creating a new form page (Matt Westcott)MultipleChooserPanelmodal works correctly whenUSE_THOUSAND_SEPARATORisTruefor pages with ids over 1,000 (Sankalp, Rohit Sharma)th) for visual spacing, ensure this is ignored by accessibility tooling (V Rohitansh)SiteSetting.DoesNotExisterror when retrieving settings for an unrecognised site (Nick Smith)exclude_fields_in_copyare correctly excluded in new copies, resolving to the default value (Elhussein Almasri)default_orderingset on IndexView is preserved if ModelViewSet does not specify an explicit ordering (Cynthia Kiser)_()within templates (Chiemezuo Akujobi)Pagemodel referenceget_childrendocumentation (Salvo Polizzi)get_upload_tomethods (Osaf AliSayed, Dharmik Gangani)body.ready) from multiple JavaScript implementations to one Stimulus controllerw-init(Chiemezuo Akujobi)arg=_('...')in allwagtailadminmodule templates (Chiemezuo Akujobi)ruffand replaceblackwithruff format(John-Scott Atlakson)laceslibrary (Tibor Leupold){% formattedfield %}tag to replace direct use ofwagtailadmin/shared/field.html(Matt Westcott)ActionControllerto have anoopmethod to more easily leverage standalone Stimulus action options (Nandini Arora)skipLibCheckfor TypeScript (LB (Ben) Johnston)CloneControllerto auto clear the added content after a set duration (LB (Ben) Johnston)BaseListingView(Matt Westcott)c-,o-,u-,t-,is-prefixes (Thibaud Colas)initTooltipsin favour of Stimulus controller (LB (Ben) Johnston)InitControllerto allow for custom event dispatching when ready (Aditya, LB (Ben) Johnston)UnsavedController(Sai Srikar Dumpeti, LB (Ben) Johnston)OrderableControllerwith a more accessible solution (Aman Pandey, LB (Ben) Johnston)FileResponsewhen serving files such as Images or Documents (Jake Howard)WidgetWithScriptbase widget class (LB (Ben) Johnston)v5.2.8: 5.2.8Compare Source
StreamChildrenToListBlockOperationfrom duplicating data across multiple StreamField instances (Joshua Munn)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
31b286351eto795610af9b795610af9bto4a4151b3084a4151b308to22e23d2d5622e23d2d56to6b4a75a1dd6b4a75a1ddto04dd1a4e0604dd1a4e06tod3d8a49f67d3d8a49f67to61e1b22ea061e1b22ea0toc8f711155ec8f711155eto36bb42ca9336bb42ca93to4db23bbbb84db23bbbb8tod8c0fba0b7d8c0fba0b7to41e26cab5241e26cab52to7422d3e1e97422d3e1e9to67620acb2967620acb29to602eca130f602eca130fto9cebd5c3e99cebd5c3e9to64c4f5ac2664c4f5ac26to9e4ddea1eb9e4ddea1ebto19626a71c619626a71c6toc8b7e748a2c8b7e748a2to19252eaed119252eaed1tod1a26d7d26d1a26d7d26to15d23cc8f9Update dependency wagtail to v6to Update dependency wagtail to v6 - autoclosedPull request closed