LB Johnston
2f8fe9aa3f
Add 5.1 release notes for changed `attrs.html` template location ( #10887 )
...
Fixes #10874
2023-09-14 06:19:29 +10:00
Matt Westcott
7dceae5feb
Add release note recommending the use of AutocompleteField
2023-09-11 19:07:44 +01:00
Sage Abdullah
b5937cb2bf
Call out ModelAdmin migration guide in 5.1 upgrade considerations
2023-08-10 13:08:24 +01:00
Sage Abdullah
1890e8320d
Fill in release date for 5.1
2023-08-01 14:28:50 +01:00
Sage Abdullah
6f59eb6924
Group 5.1 upgrade considerations by impact
2023-08-01 13:37:03 +01:00
Thibaud Colas
678b32e4e7
Move permissions consolidation and snippet enhancements to their own release notes sections
2023-08-01 14:16:08 +02:00
Sage Abdullah
2ca6708db4
Fix incorrect GroupPagePermission import in 5.1 release notes
2023-08-01 09:51:09 +01:00
Robert Rollins
d75d6e6f5d
Corrected a typo in {% page_header_buttons %} #10592
...
Fixes #10730
2023-08-01 07:44:27 +10:00
Andy Chosak
f84cea6715
Don't update the reference index while deleting it
...
The rebuild_reference_index management command starts by
deleting the entire ReferenceIndex table.
In Wagtail versions 4.1 and 4.2, all models are tracked in the
reference index. Unfortunately this also includes the
ReferenceIndex model itself. This is changed in 5.0 to only track certain Wagtail-related models [0].
This means that when rebuild_reference_index runs in versions
4.1 or 4.2, and deletes the ReferenceIndex table, it runs the code that checks whether ReferenceIndex instances have any
references.
If the index contains a large number of references (as could
happen if an upgrade to 4.1 built an index for a non-Wagtail
model), this process becomes extremely slow. There's no need
for the rebuild_reference_index command to update the index
when deleting it, so this can be significantly optimized by
disabling auto update here.
[0] https://docs.wagtail.org/en/stable/releases/5.0.html#referenceindex-no-longer-tracks-models-used-outside-of-wagtail
2023-07-31 15:38:09 +01:00
Sage Abdullah
96a2d9093b
Add migration to replace JSON null values with empty objects in log entries' data
2023-07-31 15:14:21 +01:00
Sage Abdullah
06b0c2f413
Guard against TypeError in 0088_fix_log_entry_json_timestamps migration
...
Old logs may have the data set to JSON `null` instead of an empty JSON
object `{}`.
See https://github.com/wagtail/wagtail/pull/8021#issuecomment-1658082683
and https://github.com/wagtail/wagtail/pull/9590#discussion_r1279096075
for more details.
2023-07-31 14:19:34 +01:00
Sage Abdullah
05880bfcad
Fix search_promotions 0004_copy_queries migration for long-lived Wagtail instances
...
This migration would fail on Wagtail instances that have been around
since v0.5 (when we still used django-south), because the column order
of the wagtailsearch_querydailyhits table is different from the newly-created
wagtailsearchpromotions_querydailyhits.
If you hit this issue, you deserve a 🌟
2023-07-31 11:30:37 +01:00
Sage Abdullah
0a9f7d6726
Release notes for #10174
2023-07-31 09:53:50 +01:00
Sage Abdullah
0c4156eba0
Add docs for migrating from modeladmin to snippets
2023-07-27 09:26:44 +01:00
LB Johnston
143e45d474
Update Sphinx Wagtail Theme to v6.1.1 ( #10699 )
2023-07-20 07:51:18 +10:00
LB Johnston
febf2dc2ca
Fix a few minor typos in the 5.1 release notes / changelog ( #10700 )
2023-07-20 07:47:20 +10:00
sgfost
61594a2616
Add docs for managing stored queries in searchpromotions
...
and update docs about the search -> searchpromotions migration.
2023-07-18 15:00:56 +01:00
LB Johnston
f3c3d31e23
Ensure userbar dialog can sit above other website content
...
- Fixes #10471
2023-07-18 13:53:06 +01:00
Storm B. Heg
fef8c4ac3c
Ensure StreamField panels validation errors are visible ( #10673 )
...
...by rendering panels as expanded, regardless of the collapse
setting specified by the Wagtail implementor.
Fixes #8990 partially.
2023-07-18 12:43:17 +01:00
LB Johnston
bebbcfb48d
Fix a few grammar / spelling typos in the 5.1 release notes
2023-07-18 21:38:52 +10:00
Sage Abdullah
191ddf8a55
Deprecate wagtail.contrib.modeladmin
2023-07-18 12:33:42 +01:00
Sage Abdullah
f8da5f1be1
Release notes for #10689
2023-07-18 10:42:14 +01:00
Matt Westcott
5fcb58f929
Deprecate Elasticsearch 5 and 6 search backends
2023-07-18 09:32:37 +01:00
LB Johnston
995809a318
Adopt data attribute usage of SwapController (w-swap) for all header searches
...
- Removes six inline scripts completely, no longer relying on window.headerSearch
- Update the fallback Stimulus Swap controller afterLoad to be a deprecated method
- Add upgrade considerations
- Fix regression from d554cbe310
where manually submitting page search results would load the partial, not full page response
- Closes #9950
2023-07-18 07:09:28 +10:00
Storm B. Heg
09aee38ca9
Reinstate `field_as_li.html`
...
Other packages and projects may still rely on the existence of this
template. We cannot simply remove it without a proper deprecation.
Add a note to remove the template in the next release.
2023-07-18 07:05:34 +10:00
LB Johnston
94ebf435f5
Fix changelog for #10397
...
- Remove maintenance entry from release notes as already in the callout at the top of the notes
- Add to changelog
2023-07-18 06:41:49 +10:00
LB Johnston
48307ca587
Add changelog for #9961
2023-07-18 06:39:10 +10:00
Tidiane Dia
a6c9409e03
Avoid N+1 queries in users index view
2023-07-17 17:23:12 +01:00
Matt Westcott
71d19a7827
Release note for snippet inspect view ( #10621 )
2023-07-17 17:22:15 +01:00
Matt Westcott
16140d7e53
Release notes for #10618
2023-07-17 16:50:54 +01:00
Matt Westcott
a3e282491e
Release notes for Elasticsearch 8 support ( #10686 )
2023-07-17 16:24:39 +01:00
LB Johnston
0f97838381
Documentation - revise usage of e.g.
...
- Replace one usage of 'eg' with more suitable alternatives
- As per guidelines https://docs.wagtail.org/en/stable/contributing/general_guidelines.html#latin-phrases-and-abbreviations
2023-07-17 15:13:30 +10:00
Albina Starykova
457e260622
Update styles for userbar and a11y checker in dark mode
2023-07-16 22:07:24 +10:00
Storm B. Heg
a4d29494ac
Refactor all `field_as_li.html` includes
...
`field_as_li.html` merely wraps a <li> and includes `field.html`.
Remove `field_as_li.html` template
It is no longer used.
Historical mention in 1.0 release notes [^1] has
been left intact.
[^1]: docs/releases/1.0.rst
Relates to #9031
2023-07-16 21:38:38 +10:00
Albina Starykova
ecb2126cea
Update Wagtail logo to the latest version
...
- Partial progress on #10404
2023-07-16 17:20:26 +10:00
Stefan Hammer
8960e237ea
Add upgrade considerations for the changed audit log timestamps
...
See #9590
2023-07-16 16:44:44 +10:00
LB Johnston
74af3e3b45
Add changelog & upgrade considerations for Stimulus dialog/teleport usage
...
- Closes #10174
- See PR #10397
2023-07-15 23:03:57 +10:00
Daniel Kirkham
1873c49d5d
Revise release note for model ordering #10469
2023-07-15 10:37:16 +10:00
zerolab
1a4e5dde12
Add release notes for #10657
2023-07-14 16:17:53 +01:00
Sage Abdullah
92f37fe377
Release notes for #10596
2023-07-14 15:24:28 +01:00
Albina
e5da22586b
Update styles for block picker in dark mode ( #10644 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-07-14 14:42:12 +01:00
Matt Westcott
aca754aa36
Release note for dropping Python 3.7 support ( #10676 )
2023-07-14 13:09:55 +01:00
Sage Abdullah
3d0282573d
Release notes for #10619
2023-07-14 10:20:45 +01:00
Albina
a84fdd4919
Update styles for critical buttons in dark mode ( #10643 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-07-14 09:35:43 +01:00
Shohan Dutta Roy
3a10f925a3
feat(elasticsearch6): Add support for field boosting ( #10653 )
2023-07-13 15:02:37 +01:00
Thibaud Colas
602cc6f334
Remove unused snippets _header_with_history.html
2023-07-13 18:05:16 +10:00
Albina
0b2ea1edac
Update rich text Link/Document Tooltip styles ( #10639 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-07-13 08:19:59 +01:00
Thibaud Colas
80b696c0d6
Release notes for #10598
2023-07-13 07:51:26 +01:00
Thibaud Colas
d86d889c76
Move Stimulus adoption changelog entries to their own section
2023-07-13 00:52:48 +01:00
Thibaud Colas
596a1363f5
Switch release notes to use semantic headings
2023-07-13 00:45:29 +01:00