- Add support for automated bundles injection in Edit (apos) mode, required for supporting the new core "manifest" builds (when available).
- Prevent the
Connection: Upgrade
header from breaking Astro'sfetch
calls to Apostrophe when hosted in an environment that permits websocket upgrades of existing connections. - Refactored redundant code for building requests with the external front key, etc.
- The
renderWidget
route will no longer crash if there was an issue getting therender-widget
route from Apostrophe (like a mandatory field missing), it will respond with a 500 only, with a log message in the console. Thanks to Michelin for contributing this fix.
- Visiting the
/login
page when already logged in no longer results in an undesired direct response from Apostrophe. Redirects within api routes like the login issued on the Apostrophe side are now sending a redirect response as per Astro endpoints documentation. - Page refreshes no longer alternate between displaying the admin UI and not displaying it with each refresh in certain configurations.
- Thanks to Michelin for collaborating on the solution.
- Change the way we fetch from Apostrophe by using
undici
request
method, so as all headers are correctly forwarded. As on latest Node.js versions, headers likeHost
are no more forwarded by the regularfetch
global method.
- Compatible with Astro's
ViewTransition
feature when editing, via a workaround. Since this workaround imposes a performance penalty (only for editors, not the public), theviewTransitionWorkaround
option must be set totrue
to enable it.
- Documentation fixes only.
- Documentation typo that impacts Linux and other case sensitive systems fixed.
- Fix bug causing pages to crash after refresh if widget grouping is used.
- Fix bug impacting two-column widgets.
- Initial release.