Releases: withastro/astro
@astrojs/[email protected]
Patch Changes
- #12694
495f46b
Thanks @ematipico! - Fixes a bug where the experimental featureexperimental.svg
was incorrectly used when generating ESM images
[email protected]
Patch Changes
-
#12653
e21c7e6
Thanks @sarah11918! - Updates a reference in an error message -
#12585
a9373c0
Thanks @florian-lefebvre! - Fixes a case whereprocess.env
would be frozen despite changes made to environment variables in development -
#12695
a203d5d
Thanks @ascorbic! - Throws a more helpful error when images are missing -
Updated dependencies [
f13417b
,87231b1
,a71e9b9
]:- @astrojs/[email protected]
@astrojs/[email protected]
Patch Changes
- Updated dependencies [
f13417b
,87231b1
,a71e9b9
]:- @astrojs/[email protected]
@astrojs/[email protected]
Patch Changes
-
#12646
f13417b
Thanks @bluwy! - Avoids parsing frontmatter that are not at the top of a file -
#12570
87231b1
Thanks @GrimLink! - Removes trailing new line in code blocks to prevent generating a trailing empty<span />
tag -
#12664
a71e9b9
Thanks @bluwy! - Fixes frontmatter parsing if file is encoded in UTF8 with BOM
@astrojs/[email protected]
Patch Changes
- Updated dependencies [
f13417b
,87231b1
,a71e9b9
]:- @astrojs/[email protected]
[email protected]
Patch Changes
-
#12645
8704c54
Thanks @sarah11918! - Updates some reference links in error messages for new v5 docs. -
#12641
48ca399
Thanks @ascorbic! - Fixes a bug whereastro info --copy
wasn't working correctly onmacOS
systems. -
#12461
62939ad
Thanks @kyr0! - Removes the misleading log message telling that a custom renderer is not recognized while it clearly is and works. -
#12642
ff18b9c
Thanks @ematipico! - Provides more information when logging a warning for accessingAstro.request.headers
in prerendered pages -
#12634
03958d9
Thanks @delucis! - Improves error message formatting for user config and content collection frontmatter -
#12547
6b6e18d
Thanks @mtwilliams-code! - Fixes a bug where URL search parameters weren't passed when using the i18nfallback
feature. -
#12449
e6b8017
Thanks @apatel369! - Fixes an issue where the customassetFileNames
configuration caused assets to be incorrectly moved to the server directory instead of the client directory, resulting in 404 errors when accessed from the client side. -
#12518
e216250
Thanks @ematipico! - Fixes an issue where SSR error pages would return duplicated custom headers. -
#12625
74bfad0
Thanks @ematipico! - Fixes an issue where theexperimental.svg
had incorrect type, resulting in some errors in the editors. -
#12631
dec0305
Thanks @ascorbic! - Fixes a bug where the class attribute was rendered twice on the image component -
#12623
0e4fecb
Thanks @ascorbic! - Correctly handles images in content collections with uppercase file extensions -
#12633
8a551c1
Thanks @bluwy! - Cleans up content layer sync during builds and programmaticsync()
calls -
#12640
22e405a
Thanks @ascorbic! - Fixes a bug that caused content collections to be returned empty when run in a test environment -
#12613
306c9f9
Thanks @matthewp! - Fix use of cloned requests in middleware with clientAddressWhen using
context.clientAddress
orAstro.clientAddress
Astro looks up the address in a hidden property. Cloning a request can cause this hidden property to be lost.The fix is to pass the address as an internal property instead, decoupling it from the request.
[email protected]
Patch Changes
- #12632
e7d14c3
Thanks @ematipico! - Fixes an issue where thecheckOrigin
feature wasn't correctly checking thecontent-type
header
@astrojs/[email protected]
Patch Changes
- #12576
19b3ac0
Thanks @apatel369! - Fixes an issue where runningupgrade
in a directory withoutastro
installed shows a false success message
@astrojs/[email protected]
[email protected]
Minor Changes
-
#12083
9263e96
Thanks @Princesseuh! - Reworks the experience of creating a new Astro project using thecreate astro
CLI command.- Updates the list of templates to include Starlight and combines the "minimal" and "basics" templates into a new, refreshed "Basics" template to serve as the single, minimal Astro project starter.
- Removes the TypeScript question. Astro is TypeScript-only, so this question was often misleading. The "Strict" preset is now the default, but it can still be changed manually in
tsconfig.json
. astro check
is no longer automatically added to the build script.- Added a new
--add
flag to install additional integrations after creating a project. For example,pnpm create astro --add react
will create a new Astro project and install the React integration.