ApostropheCMS v3.10.0 Release Notes
Release Date: 2021-12-22 // over 2 years ago-
🛠 Fixes
slug
type fields can now have an empty string ornull
as theirdef
value without the string'none'
populating automatically.- 🔧 The
underline
feature works properly in tiptap toolbar configuration. - Required checkbox fields now properly prevent editor submission when empty.
- 🔒 Pins
vue-click-outside-element
to a version that does not attempt to useeval
in its distribution build, which is incompatible with a strict Content Security Policy.
➕ Adds
- ➕ Adds a
last
option to fields. Settinglast: true
on a field puts that field at the end of the field's widget order. If more than one field has that option active the true last item will depend on general field registration order. If the field is ordered with thefields.order
array or field group ordering, those specified orders will take precedence.
🔄 Changes
- ➕ Adds deprecation notes to the widget class methods
getWidgetWrapperClasses
andgetWidgetClasses
from A2. - ➕ Adds a deprecation note to the
reorganize
query builder for the next major version. - 🐎 Uses the runtime build of Vue. This has major performance and bundle size benefits, however it does require changes to Apostrophe admin UI apps that use a
template
property (components should require no changes, just apps require an update). These apps must now use arender
function instead. Since custom admin UI apps are not yet a documented feature we do not regard this as a bc break. - 🔒 Compatible with the
@apostrophecms/security-headers
module, which supports a strictContent-Security-Policy
. - ➕ Adds a deprecation note to the
addLateCriteria
query builder. - ⚡️ Updates the
toCount
doc type query method to use Math.ceil rather than Math.floor plus an additional step.