apostrophe
Advanced tools
Changelog
4.5.0 (2024-07-10)
shortcut: false
color
schema field. This also adds the same pickerOptions
and format
options to the rich-text-widget configuration that exist in the color
schema field.AposLoadingBlock
that uses AposLoading
instead of the purple screen in media manager.data-apos-field
attributes to the fields inside AposImageRelationshipEditor.vue
.getShowAdminBar
method. This method can be overriden in projects to drive the admin bar visibility for logged-in users.this.modified
was not working properly (set to false when saving). We can now avoid to reload images when saving no changes.password
field type now has a proper fallback default, the empty string, just like the string field type
and its derivatives. This resolves bugs in which the unexpected null
caused problems during validation. This bug
was old, but was masked in some situations until the release of version 4.4.3
.menu-offset
props that were causing AposContextMenu
to not display properly.AposContextMenu
to set the offset of the context menu (main and cross axis see floating-ui
documentation).checkedDocs
passed to AposSlatList
not being reactive and not seeing updated relationship fields.Choose Images
selection behavior. When choosing images as part of a relationship, you click on the image or checkbox to add the image to the selection.
If a max is set to allow only one image, clicking on the selected image will remove it from the selection. Clicking on another image will update the selection with the newly clicked image.
If a max is set to allow multiple images, you can remove images from the selection by using the checkbox. Clicking on the image will bring the image schema in the right panel.
You can upload images even if the max has been reached. We will append the uploaded images to the existing selection up to the max if any.@apostrophecms/emulate-mongo-3-driver
dependency to keep supporting mongodb@3.x
queries while using mongodb@6.x
.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)