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

apostrophe

Package Overview
Dependencies
Maintainers
8
Versions
1080
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apostrophe - npm Package Versions

13
108

2.227.9

Diff

boutell
published 4.6.0 •

Changelog

Source

4.6.0 (2024-08-08)

Adds

  • Add a locale switcher in pieces and pages editor modals. This is available for localized documents only, and allows you to switch between locales for the same document. The locale can be switched at only one level, meaning that sub documents of a document that already switched locale will not be able to switch locale itself.
  • Adds visual focus states and keyboard handlers for engaging with areas and widgets in-context
  • Adds method simulateRelationshipsFromStorage method in schema module. This method populates the relationship field with just enough information to allow convert to accept it. It does not fully fetch the related documents. It does the opposite of prepareForStorage.
  • A new options object has been added to the convert method. Setting the fetchRelationships option to false will prevent convert from actually fetching relationships to check which related documents currently exist. The shape of the relationship field is still validated.

Changes

  • Refactors Admin UI SASS to eliminate deprecation warnings from declarations coming after nested rules.
  • Bumps the sass-loader version and adds a webpack option to suppress mixed declaration deprecation warnings to be removed when all modules are updated.
  • Add title and _url to select all projection.
  • Display Select all message on all pages in the manager modal.
  • Refresh checked in manager modal after archive action.
  • Update @apostrophecms/emulate-mongo-3-driver dependency to keep supporting mongodb@3.x queries while using mongodb@6.x.
  • Updates rich text link tool's keyboard key detection strategy.
  • Buttons that appear on slats (preview, edit crop/relationship, remove) are visually focusable and keyboard accessible.
  • Added tooltip for update button. Thanks to gkumar9891 for this addition.

Fixes

  • Fixes the rendering of conditional fields in arrays where the inline: true option is used.
  • Fixes the rich text link tool's detection and display of the Remove Link button for removing existing links
  • Fixes the rich text link tool's detection and display of Apostrophe Page relationship field.
  • Overriding standard Vue.js components with editorModal and managerModal are now applied all the time.
  • Accommodate old-style replica set URIs with comma-separated servers by passing any MongoDB URIs that Node.js cannot parse directly to the MongoDB driver, and avoiding unnecessary parsing of the URI in general.
  • Bump oembetter dependency to guarantee compatibility with YouTube. YouTube recently deployed broken link rel="undefined" tags on some of their video pages.
  • It is now possible to see the right filename and line number when debugging the admin UI build in the browser. This is automatically disabled when @apostrophecms/security-headers is installed, because its defaults are incompatible by design.
boutell
published 3.67.2 •

boutell
published 2.227.8 •

etlaurent
published 4.5.4 •

Changelog

Source

4.5.4 (2024-07-22)

Fixes

  • Add a default projection to ancestors of search results in order to load a reasonable amount of data and avoid request timeouts.
bodonkey
published 4.5.3 •

Changelog

Source

4.5.3 (2024-07-17)

Fixes

  • Enhanced media selection with touchpad on Windows by extending focus timeout.
boutell
published 4.5.2 •

Changelog

Source

4.5.2 (2024-07-11)

Fixes

  • Ensure that apos.doc.walk never gets caught in an infinite loop even if circular references are present in the data. This is a hotfix for an issue that can arise when the new support for breadcrumbs in search results is combined with a more inclusive projection for page ancestors.
  • Correct a longstanding bug in apos.doc.walk that led items to be listed twice in the ancestors array passed to the iterator.
  • Correct a longstanding bug in apos.doc.walk that led ancestors that are themselves arrays to be misrepresented as a series of objects in the ancestors array passed to the iterator.
  • For additional guarantees of reliability the _dotPath and _ancestors arguments to apos.doc.walk, which were always clearly documented as for internal use only, can no longer be passed in externally.
bodonkey
published 4.5.1 •

Changelog

Source

4.5.1 (2024-07-11)

Changes

  • Allow tiptap rich-text widget to open modals for images and links without closing the toolbar.
boutell
published 2.227.7 •

boutell
published 4.5.0 •

Changelog

Source

4.5.0 (2024-07-10)

Adds

  • Allow to disable shortcut by setting the option shortcut: false
  • Adds a new color picker tool for the rich-text-widget toolbar that matches the existing 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.
  • Add missing UI translation keys.
  • Infite scroll in media manager instead of pagination and related search fixes.
  • Improves loaders by using new AposLoadingBlock that uses AposLoading instead of the purple screen in media manager.
  • Select the configured aspect ratio and add data-apos-field attributes to the fields inside AposImageRelationshipEditor.vue.
  • Add getShowAdminBar method. This method can be overriden in projects to drive the admin bar visibility for logged-in users.

Fixes

  • Removes unnecessary, broadly applied line-height setting that may cause logged-in vs logged-out visual discrepencies.
  • Remove double GET request when saving image update.
  • Fix filter menu forgetting selecting filters and not instantiating them.
  • Remove blur emit for filter buttons and search bar to avoid re requesting when clicking outside…
  • this.modified was not working properly (set to false when saving). We can now avoid to reload images when saving no changes.
  • In media manager images checkboxes are disabled when max is reached.
  • In media manager when updating an image or archiving, update the list instead of fetching and update checked documents to see changes in the right panel selected list.
  • The 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.
  • Identify and mark server validation errors in the admin UI. This helps editors identify already existing data fields, having validation errors when schema changes (e.g. optional field becomes required).
  • Removes menu-offset props that were causing AposContextMenu to not display properly.
  • Allows to pass a number or an array to AposContextMenu to set the offset of the context menu (main and cross axis see floating-ui documentation).
  • Fixes the relationship fields not having the data when coming from the relationship modal.
  • Fixes watch on checkedDocs passed to AposSlatList not being reactive and not seeing updated relationship fields.
  • Adds styles for 1 column expanded area (#4608)
  • Fixes weird slug computations based on followed values like title. Simplifies based on the new tech design.
  • Prevent broken admin UI when there is a missing widget.
  • Fixes media manager not loading images when last infinite scroll page have been reached (when uploading image for example).
  • Upgrade oembetter versions to allow all vimeo urls.

Changes

  • Update 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.
  • Update @apostrophecms/emulate-mongo-3-driver dependency to keep supporting mongodb@3.x queries while using mongodb@6.x.
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