Apostrophe 2 v3.17.0 Release Notes

Release Date: 2022-03-31 // about 2 months ago
  • ➕ Adds

    • 📄 Full support for the object field type, which works just like array but stores just one sub-object as a property, rather than an array of objects.
    • 💻 To help find documents that reference related ones via relationship fields, implement backlinks of related documents by adding a relatedReverseIds field to them and keeping it up to date. There is no UI based on this feature yet but it will permit various useful features in the near future.
    • ➕ Adds possibility for modules to extend the webpack configuration.
    • ➕ Adds possibility for modules to add extra frontend bundles for scss and js. This is useful when the ui/src build would otherwise be very large due to code used on rarely accessed pages.
    • Loads the right bundles on the right pages depending on the page template and the loaded widgets. Logged-in users have all the bundles on every page, because they might introduce widgets at any time.
    • 🛠 Fixes deprecation warnings displayed after running npm install, for dependencies that are directly included by this package.

    🛠 Fixes

    • 🏗 Apostrophe's webpack build now works properly when developing code that imports module-specific npm dependencies from ui/src or ui/apos when using npm link to develop the module in question.
    • The es5: true option to @apostrophecms/asset works again.

Previous changes from v3.16.1

  • 🛠 Fixes

    • 🛠 Fixes a bug in the new Cache-Control support introduced by 3.16.0 in which we get the logged-out homepage right after logging in. This issue only came into play if the new caching options were enabled.