apostrophe
Advanced tools
Changelog
4.4.3 (2024-06-17)
field.def
when calling convert
. Applying defaults to new documents is the job of newInstance()
and similar code.
If you wish a field to be mandatory use required: true
.POST
for pieces and pages with _newInstance: true
keeps any additional req.body
properties in the API response.
This feature unofficially existed before, it is now supported.checked
array. Fixes, checked docs not being properly updated.Changelog
4.4.2 (2024-06-14)
_parent
property of pieces, which refers to the same piece page as _parentUrl
, is now a carefully pruned
subset to avoid the risk of infinite recursion when the piece page has a relationship to a piece. Those who want _parent
to be more complete can extend the new pruneParent
method of the relevant piece page module. This regression was
introduced in version 4.4.0.Changelog
4.4.1 (2024-06-12)
stylelint-config-apostrophe
properly via npm, not github.Changelog
4.4.0 (2024-06-12)
apos.modal
instead of methods from TheAposModals
component.safe-close
when defining an AposModal
, modal is automatically resolved when closed.AposContextMenu
owned method for re-calculation of the content position.slug
and string
types can now fire replace-field-value
events with text value payload, which will replace the respective field value.AposInputString
now accepts a rows
prop, in effect only when field.textarea
is set to true
.T,S
shortcut to open the Personal Settings.T,D
shortcut to open the Submitted Drafts./peer
and page B has the slug /peer/page
.
Now we want page B to be the child of page A.
We will now end up with page B slug as /peer/page
and not /peer/peer/page
as before.AposSpinner
now respects the colors for heavy
weight mode and also accepts second, "light" color in this mode. Props JSDoc blocks are added.AposContextMenu
now respects the menuOffset
component property.G,Shift+I
shortcut to open the Image Tags manager modal.G,Shift+F
shortcut to open the File Tags manager modal....
when it hits the right side.G,Shift+I
shortcut style.TheAposCommandMenu
modals not computing shortcuts from the current opened modal.AposSlatList
renders properly checked relationships.AposInputArray
on production build to be able to add, remove and edit array items after required
error.Changelog
4.3.3 (2024-06-04)
$nextTick
use to re render schema in AposArrayEditor
because it was triggering weird vue error in production.
Instead, makes the AposSchema for loop keys more unique using modelValue.data._id
,
if document changes it re-renders schema fields.Changelog
4.3.2 (2024-05-18)
Changelog
4.3.1 (2024-05-17)
Changelog
4.3.0 (2024-05-15)
AposInputMixin
to disable blur emit.throttle
function in ui module utils.publicBundle
option to @apostrophecms/asset
. When set to false
, the ui/src
public asset bundle is not built at all in most cases
except as part of the admin UI bundle which depends on it. For use with external front ends such as apostrophe-astro.
Thanks to Michelin for contributing this feature.npm link
now works again for Apostrophe modules that are dependencies of a project.debounce
function to handle async properly (waiting for previous async call to finish before triggering a new one).copyOfId
property to be passed to the apos.doc.edit()
method, while still allowing the entire copyOf
object for backwards compatibility.