New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

apostrophe

Package Overview
Dependencies
Maintainers
8
Versions
1087
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apostrophe - npm Package Versions

2345
109

4.14.1-beta.0

Diff
haroun
published 4.14.1-beta.0 •
boutell
published 2.227.10 •
boutell
published 4.14.0 •

Changelog

Source

4.14.0 (2025-03-19)

Adds

  • Add a label for the @apostrophecms/attachment module (error reporting reasons).
  • Add translate boolean option for report modal header configuration to force translation of the relevant items value (table cells).
  • Adds feature to generate a table from an imported CSV file inside the rich-text-widget.
  • Add data-test attributes to the login page.
  • Adds AI-generated missing translations
  • Adds the missing "Tags" filter to the chooser/manager view of files.

Changes

  • Bumps the perPage option for piece-types from 10 to 50
  • Reworks rich text popovers to use AposContextMenu, for toolbar components as well as insert menu items.

Fixes

  • The lang attribute of the <html> tag now respects localization.
  • Fixes the focus styling on AposTable headers.
  • Proper errors when widgets are badly configured in expanded mode.
  • More reliable Media Manager infinite scroll pagination.
  • Fixes margin collapse in nested areas by switching to padding instead of margin
  • Fixes Edit in Media Manager when the image is not in the currently loaded images. This may happen when the the Media Manager is in a relationship mode.
boutell
published 2.227.10-beta.1 •
boutell
published 4.13.0 •

Changelog

Source

4.13.0 (2025-02-19)

Adds

  • Supports progress notification type, can be used when no job are involved. Manage progress state into the new processes entity.
  • Moves global notification logic into Pinia store as well as job polling that updates processes.

Fixes

  • Field inputs inside an array modal can now be focused/tabbed via keyboard
  • Fixes admin bar overlapping widget area add menu.
  • Fixed the checkered background for gauging color transparency.
  • Fixes group.operations (batch configuration) merging between modules in the same way that group.fields are merged.
  • The i18n manager detects the current locale correctly in some edge cases, like when the locale is changed per document (Editor Modal) and the localization manager is opened from a relationship manager via a document context menu.

Adds

  • Add support for batch localization of pieces and pages.
  • Adds type for each file uploaded by big-upload. Moves big-upload-client to apos/ui folder and makes it esm.
  • When present, projections for reverse relationships now automatically include the special id and field storage properties for the relationship in question, allowing the related documents to be successfully returned.
  • Introduce AposModalReport component for displaying table reports. It's accessible via apos.report(content, options) method and it's now used in the @apostrophecms/i18n module for detailed reporting after a batch localization operation.

Changes

  • The array editor's isModified method is now a computed property for consistency.
  • The modal configuration property for batch operations without a group is now accepted and works as expected in the same way as for grouped operations.
  • Explicitly enable document versions for @apostrophecms/file-tag, @apostrophecms/file, @apostrophecms/image-tag and @apostrophecms/image piece types.

Adds

  • If error.cause is prevent, log the property.
boutell
published 4.12.0 •

Changelog

Source

4.12.0 (2025-01-27)

Fixes

  • Fixes ability to change color hue by clicking the color hue bar rather than dragging the indicator.
  • Prevents the rich text control bar from closing while using certain UI within the color picker.
  • Saving a document via the dialog box properly refreshes the main content area when on a "show page" (when the context document is a piece rather than a page)
  • Fixes the AposButtonSplit markup to follow the HTML5 specification, optimizes the component performance, visuals and testability.
  • Fixes a case where releationship button overlaps a context menu.

Adds

  • Ability to disable the color spectrum UI of a color picker
  • Accessibility improvement for the rich text editor Typography toolbar item.
  • Adds moduleLabels prop to AposDocContextMenu to pass it to opened modals from custom operations (used by templates to define labels to display on the export modal).

Changes

  • Range style updates.
  • The pickerOptions sub property of a color field's configuration has been merged with it's parent options object.
  • Reworks inline and micro UI of some fields (color, range, select). Improve global inline style.
  • Makes the range input being a number all the time instead of a string that we convert manually.
  • Command line tasks can run before the first frontend asset build without error messages.
boutell
published 4.11.2 •

Changelog

Source

4.11.2 (2024-12-29)

Fixes

  • Fixes a bug where images in Media manager are not selectable (click on an image does nothing) in both default and relationship mode.
  • Eliminated superfluous error messages. The convert method now waits for all recursive invocations to complete before attempting to determine if fields are visible.

Adds

  • Possibility to set a field not ready when performing async operations, when a field isn't ready, the validation and emit won't occur.
boutell
published 4.11.1 •

Changelog

Source

4.11.1 (2024-12-18)

Fixes

  • Corrected a unit test that relies on the sitemap module, as it now makes explicit that the project level baseUrl must be set for a successful experience, and the module level baseUrl was set earlier. No other changes.
boutell
published 4.11.0 •

Changelog

Source

4.11.0 (2024-12-18)

Adds

  • When validating an area field, warn the developer if widgets is not nested in options.
  • Adds support for supplying CSS variable names to a color field's presetColors array as selectable values.
  • Adds support for dynamic focus trap in Context menus (prop dynamicFocus). When set to true, the focusable elements are recalculated on each cycle step.
  • Adds option to disable tabindex on AposToggle component. A new prop disableFocus can be set to false to disable the focus on the toggle button. It's enabled by default.
  • Adds support for event on addContextOperation, an option type can now be passed and can be modal (default) or event, in this case it does not try to open a modal but emit a bus event using the action as name.

Fixes

  • Focus properly Widget Editor modals when opened. Keep the previous active focus on the modal when closing the widget editor.
  • a11y improvements for context menus.
  • Fixes broken widget preview URL when the image is overridden (module improve) and external build module is registered.
  • Inject dynamic custom bundle CSS when using external build module with no CSS entry point.
  • Range field now correctly takes 0 into account.
  • Apos style does not go through postcss-viewport-to-container-toggle plugin anymore to avoid UI bugs.
boutell
published 4.10.0 •

Changelog

Source

4.10.0 (2024-11-20)

Fixes

  • Extra bundle detection when using external build module works properly now.
  • Widget players are now properly invoked when they arrive later in the page load process.
  • Fix permission grid tooltip display.
  • Fixes a bug that crashes external frontend applications.
  • Fixes a false positive warning for module not in use for project level submodules (e.g. widges/module.js) and dot-folders (e.g. .DS_Store).
  • Bumped express-bearer-token dependency to address a low-severity npm audit warning regarding noncompliant cookie names and values. Apostrophe did not actually use any noncompliant cookie names or values, so there was no vulnerability in Apostrophe.
  • Rich text "Styles" toolbar now has visually focused state.
  • The renderPermalinks and renderImages methods of the @apostrophecms/rich-text module now correctly resolve the final URLs of page links and inline images in rich text widgets, even when the user has editing privileges. Formerly this was mistakenly prevented by logic intended to preserve the editing experience. The editing experience never actually relied on the rendered output.
  • Search bar will perform the search even if the bar is empty allowing to reset a search.
  • Fixes Color picker being hidden in an inline array schema field, also fixes rgba inputs going off the modal.

Adds

  • It's possible now to target the HMR build when registering via template.append and template.prepend. Use when: 'hmr:public' or when: 'hmr:apos' that will be evaluated against the current asset options.hmr configuration.
  • Adds asset module option options.modulePreloadPolyfill (default true) to allow disabling the polyfill preload for e.g. external front-ends.
  • Adds bundleMarkup to the data sent to the external front-end, containing all markup for injecting Apostrophe UI in the front-end.
  • Warns users when two page types have the same field name, but a different field type. This may cause errors or other problems when an editor switches page types.
  • The piece and page GET REST APIs now support ?render-areas=inline. When this parameter is used, an HTML rendering of each widget is added to that specific widget in each area's items array as a new _rendered property. The existing ?render-areas=1 parameter is still supported to render the entire area as a single _rendered property. Note that this older option also causes items to be omitted from the response.

Changes

  • Removes postcss plugin and webpack loader used for breakpoint preview mode. Uses instead the new postcss-viewport-to-container-toggle plugin in the webpack config.
  • Implement vue-color directly in Apostrophe rather than as a dependency
  • Switch color handling library from tinycolor2 to @ctrl/tinycolor
  • Removes error messages in server console for hidden fields. These messages should not have been printed out in the server console in the first place.
  • Removes invalid error messages on select fields appearing while opening an existing valid document.