Releases: withastro/astro
@astrojs/[email protected]
@astrojs/[email protected]
[email protected]
Patch Changes
-
#12934
673a518
Thanks @ematipico! - Fixes a regression where the Astro Container didn't work during the build, usingpnpm
-
#12955
db447f2
Thanks @martrapp! - Lets TypeScript know about the "blocking" and "disabled" attributes of the<link>
element. -
#12922
faf74af
Thanks @adamchal! - Improves performance of static asset generation by fixing a bug that caused image transforms to be performed serially. This fix ensures that processing uses all CPUs when running in a multi-core environment. -
#12947
3c2292f
Thanks @ascorbic! - Fixes a bug that caused empty content collections when running dev with NODE_ENV set
@astrojs/[email protected]
@astrojs/[email protected]
@astrojs/[email protected]
[email protected]
Patch Changes
-
#12927
ad2a752
Thanks @ematipico! - Fixes a bug where Astro attempted to decode a request URL multiple times, resulting in an unexpected behaviour when decoding the character%
-
#12912
0c0c66b
Thanks @florian-lefebvre! - Improves the config error for invalid combinations ofcontext
andaccess
properties underenv.schema
-
#12935
3d47e6b
Thanks @AirBorne04! - Fixes an issue whereAstro.locals
coming from an adapter weren't available in the404.astro
, when using theastro dev
command, -
#12925
44841fc
Thanks @ascorbic! - Ensures image styles are not imported unless experimental responsive images are enabled -
#12926
8e64bb7
Thanks @oliverlynch! - Improves remote image cache efficiency by separating image data and metadata into a binary and sidecar JSON file. -
#12920
8b9d530
Thanks @bluwy! - Processes markdown with empty body as remark and rehype plugins may add additional content or frontmatter -
#12918
fd12a26
Thanks @lameuler! - Fixes a bug where the logged output path does not match the actual output path when usingbuild.format: 'preserve'
-
#12676
2ffc0fc
Thanks @koyopro! - Allows configuring Astro modules TypeScript compilation with thevite.esbuild
config -
#12938
dbb04f3
Thanks @ascorbic! - Fixes a bug where content collections would sometimes appear empty when first running astro dev -
#12937
30edb6d
Thanks @ematipico! - Fixes a bug where users could useAstro.request.headers
during a rewrite inside prerendered routes. This an invalid behaviour, and now Astro will show a warning if this happens. -
#12937
30edb6d
Thanks @ematipico! - Fixes an issue where the use ofAstro.rewrite
would trigger the invalid use ofAstro.request.headers
@astrojs/[email protected]
Minor Changes
-
#12924
3caa337
Thanks @florian-lefebvre! - Updates how the output is determined increateRedirectsFromAstroRoutes
. Sincev0.5.0
, the output would use thebuildOutput
property andconfig.output
as a fallback. It no longer uses this fallback. -
#12924
3caa337
Thanks @florian-lefebvre! - Updates the input requirements ofcreateRedirectsFromAstroRoutes
:routeToDynamicTargetMap
keys areIntegrationResolvedRoute
instead ofIntegrationRouteData
(obtained from theastro:routes:resolved
hook)- There's a new
assets
property, that can be obtained from theastro:build:done
hook
function myIntegration() { let routes; let buildOutput; let config; return { name: 'my-integration', hooks: { 'astro:routes:resolved': (params) => { routes = params.routes; }, 'astro:config:done': (params) => { buildOutput = params.buildOutput; config = params.config; }, 'astro:build:done': (params) => { const redirects = createRedirectsFromAstroRoutes({ config, buildOutput, routeToDynamicTargetMap: new Map(routes.map((route) => [route, ''])), dir: params.dir, assets: params.assets, }); }, }, }; }
@astrojs/[email protected]
[email protected]
Patch Changes
-
#12877
73a0788
Thanks @bluwy! - Fixes sourcemap warning generated by theastro:server-islands
Vite plugin -
#12906
2d89492
Thanks @ascorbic! - Fixes a bug that caused pages that return an empty array from getStaticPath to match every path -
011fa0f
Thanks @florian-lefebvre! - Fixes a case whereastro:content
types would be erased when restarting the dev server -
#12907
dbf1275
Thanks @florian-lefebvre! - Fixes a regression around the server islands route, which was not passed to the adaptersastro:build:done
hook -
#12818
579bd93
Thanks @ascorbic! - Fixes race condition where dev server would attempt to load collections before the content had loaded -
#12883
fbac92f
Thanks @kaytwo! - Fixes a bug where responses can be returned before session data is saved -
#12815
3acc654
Thanks @ericswpark! - Some non-index files that were incorrectly being treated as index files are now excluded -
#12884
d7e97a7
Thanks @ascorbic! - Addsrender()
to stub content types -
#12883
fbac92f
Thanks @kaytwo! - Fixes a bug where session data could be corrupted if it is changed after calling .set() -
#12827
7b5dc6f
Thanks @sinskiy! - Fixes an issue when crawlers try to index Server Islands thinking that Server Islands are pages