Patch Changes
-
#5158
a397efcThanks @khoinguyenpham04! - Fixes links into the public site on sites that set Astro'sbase(for example/blog). These links now include the base instead of 404ing:- Preview links from the admin and the preview URL API, when they come from the collection's URL pattern or the default
/{collection}/{id}path. ApathPatternin the request orEMDASH_PREVIEW_PATH_PATTERNis still used exactly as given. - Menu items that point to content, taxonomy terms, and collection archives. Custom menu URLs are unchanged.
- The admin's View Site, Live View, View published, and calendar View live links.
- Links you insert with the editor's link picker from now on. Links already saved in your content keep their old paths.
- URLs returned by the plugin content API's
getPublicUrl(), for trusted and sandboxed plugins.
If you worked around this, remove the workaround after upgrading, or the base will appear twice:
- A base written into a collection's URL pattern.
- A template that puts the base in front of
item.urlfromgetMenu(). - A plugin that adds the base to what
getPublicUrl()returns.
- Preview links from the admin and the preview URL API, when they come from the collection's URL pattern or the default
-
#5086
4c30d0fThanks @ascorbic! - Fixes the Node.js sandbox runner creating its temporaryemdash-workerd-*directory and generated plugin wrapper files with the default permissions, which let other accounts on the same host read them. The directory is now accessible only to the user running the site. No configuration changes are required. -
Updated dependencies [
7ed8e09,db3aa05,db3aa05,723784e,db3aa05,822ac68,db3aa05,5c9b00d,4dd5dba,69a77ad,8092274,7b97204,ba1eb52,5030c20,17401f3,7e693aa,a853fe3,a0fe5c9,00367c1,a895695,e574cae,c94f442,16cb80f,060e7e7,91dfa31,35d40a3,7ed8e09,0917f1b,628ea8d,3c64f9b,405dbef,5684ca8,4874deb,9369192,a0fe5c9,0c9dd87,736af38,736af38,0f67ed9,1705671,1981c17,ef0e581,246eacf,3f9d7fd,285c949,5e24aa2,31bc35b,a397efc,e2bbd0d,af2abf7,46f8a08,afdf4c3,c5877be,29caf9c,13bedc5,52d7880,54ee891,801bdac,7ed8e09,31625c7,a14daef,83bb981,fe7c634,ff2a923,e4c9baa,4301fcd,302f950,fe34a65,35d40a3,c78cc4b,c78cc4b,390f8b1]:- emdash@1.7.0