in blog | Matthias Kestenholz |
---|---|
original entry | Weeknotes (2025 week 27) |
I have again missed a few weeks, so the releases section will be longer than usual since it covers six weeks.
I have totally restructured the documentation to make it clearer. The configuration chapter is shorter and more focussed, and the custom extensions chapter actually shows all required parts now.
The most visible change is probably the refactored menu system. Extensions now
have an addMenuItems
method where they can add their own buttons to the menu
bar. I wanted to do this for a long time but have only just this week found a
way to achieve this which I actually like.
I’ve reported a bug to Tiptap where a .can()
chain always succeeded even though the actual operation could fail (#6306).
Finally, I have also switched from esbuild to rslib; I’m a heavy user of rspack anyway and am more at home with its configuration.
The 7.4 release mostly contains minor changes, one new feature is the
content_editor.admin.RefinedModelAdmin
class. It includes tweaks to Django’s
standard behavior such as supporting a Ctrl-S
shortcut for the “Save and
continue editing” functionality and an additional warning when people want to
delete inlines and instead delete the whole object. This seems to happen often
even though people are shown the full list of objects which will be deleted.
format: "prose"
) and also includes validation support for foreign key references in the JSON data.lxml>=6
when being fed strings with control characters inside.UNION ALL
instead of UNION
when determining which objects to fetch from all tables.tree_info
and recursetree
template tags. Optimized the performance by avoiding the rank table if easily possible. Added stronger recommendations to pre-filter the table using .tree_filter()
or .tree_exclude()
when working with small subsets of large datasets.