Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apostrophe

Package Overview
Dependencies
Maintainers
1
Versions
1080
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apostrophe - npm Package Versions

1
108

3.67.1

Diff

boutell
published 4.4.3 •

Changelog

Source

4.4.3 (2024-06-17)

Fixes

  • Do not use schema 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.
  • As a convenience, using 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.
  • Rollbacks watcher on checked array. Fixes, checked docs not being properly updated.
boutell
published 4.4.2 •

Changelog

Source

4.4.2 (2024-06-14)

Fixes

  • Hotfix: the new _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.
boutell
published 4.4.1 •

Changelog

Source

4.4.1 (2024-06-12)

Fixes

  • Depend on stylelint-config-apostrophe properly via npm, not github.
boutell
published 3.67.0 •

boutell
published 4.4.0 •

Changelog

Source

4.4.0 (2024-06-12)

Adds

  • Adds a pinia store to handle modals logic.
  • Methods from the store are registered on apos.modal instead of methods from TheAposModals component.
  • No more need to emit safe-close when defining an AposModal, modal is automatically resolved when closed.
  • Adds field components access to the reactive document value.
  • Expose AposContextMenu owned method for re-calculation of the content position.
  • Field Meta components of 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.
  • Add T,S shortcut to open the Personal Settings.
  • Add T,D shortcut to open the Submitted Drafts.
  • Add a scrollbar to the shortcut list.
  • Add breadcrumbs to search results page.
  • Pages relationships have now their checkboxes disabled when max is reached.

Changes

  • Improves widget tabs for the hidden entries, improves UX when validation errors are present in non-focused tabs.
  • When moving a page, recognize when the slug of a new child already contains the new parent's slug and not double it. For example, given we have two pages as children of the home page, page A and page B. Page A and page B are siblings. Page A has the slug /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.
  • Set G,Shift+I shortcut to open the Image Tags manager modal.
  • Set G,Shift+F shortcut to open the File Tags manager modal.
  • Remove slug from suggestion for images.
  • Increase suggestion search image size to 50px.
  • For suggestions with image, keep title on a single line and truncate title field with ... when it hits the right side.

Fixes

  • Rich Text editor properly unsets marks on heading close.
  • Widget client side schema validation.
  • Allow G,Shift+I shortcut style.
  • Detect shortcut conflicts when using multiple shortcuts.
  • Updating schema fields as read-only no longer reset the value when updating the document.
  • Fixes stylelint config file, uses config from our shared configuration, fixes all lint errors.
  • Fixes TheAposCommandMenu modals not computing shortcuts from the current opened modal.
  • Fixes select boxes of relationships, we can now check manually published relationships, and AposSlatList renders properly checked relationships.
  • Fixes issues in AposInputArray on production build to be able to add, remove and edit array items after required error.
  • Relationships browse button isn't disabled when max is reached.
  • In media manager images checkboxes are disabled when max is reached.
boutell
published 4.3.3 •

Changelog

Source

4.3.3 (2024-06-04)

Fixes

  • Removes $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.
  • In media manager image checkboxes are disabled when max is reached.
  • Fixes tiptap bubble menu jumping on Firefox when clicking on buttons. Also fixes the fact that double clicking on bubble menu out of buttons would prevent it from closing when unfocusing the rich text area.
  • In media manager images checkboxes are disabled when max is reached.
  • Makes the final fields accessible in the media manager right rail.
boutell
published 4.3.2 •

Changelog

Source

4.3.2 (2024-05-18)

Fixes

  • Corrects a regression introduced in version 4.3.0 that broke the validation of widget modals, resulting in a confusing error on the page. A "required" field in a widget, for instance, once again blocks the save operation properly.

Changes

  • Improves widget tab UI for the hidden entries, improves UX when validation errors are present in non-focused tabs.
boutell
published 4.3.1 •

Changelog

Source

4.3.1 (2024-05-17)

Fixes

  • Databases containing documents that no longer correspond to any module no longer cause the migration that adds missing mode properties to fail (an issue introduced in version 4.2.0). Databases with no such "orphaned" documents were not affected.
boutell
published 4.3.0 •

Changelog

Source

4.3.0 (2024-05-15)

Adds

  • Allows to disable page refresh on content changed for page types.
  • Widget editor can now have tabs.
  • Adds prop to AposInputMixin to disable blur emit.
  • Adds throttle function in ui module utils.
  • Adds a 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.

Fixes

  • Do not show widget editor tabs when the developer hasn't created any groups.
  • npm link now works again for Apostrophe modules that are dependencies of a project.
  • Re-crop image attachments found in image widgets, etc. when replacing an image in the Media Manager.
  • Fixes visual transitions between modals, as well as slider transition on overlay opacity.
  • Changing the aspect ratio multiple times in the image cropper modal no longer makes the stencil smaller and smaller.

Changes

  • Improves debounce function to handle async properly (waiting for previous async call to finish before triggering a new one).
  • Adds the copyOfId property to be passed to the apos.doc.edit() method, while still allowing the entire copyOf object for backwards compatibility.

Fixes

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc