Skip to content

Releases: withastro/astro

@astrojs/[email protected]

11 Dec 11:09
929ce28
Compare
Choose a tag to compare

Patch Changes

  • #12694 495f46b Thanks @ematipico! - Fixes a bug where the experimental feature experimental.svg was incorrectly used when generating ESM images

[email protected]

09 Dec 15:39
163cfd6
Compare
Choose a tag to compare

Patch Changes

@astrojs/[email protected]

09 Dec 15:39
163cfd6
Compare
Choose a tag to compare

Patch Changes

@astrojs/[email protected]

09 Dec 15:39
163cfd6
Compare
Choose a tag to compare

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]

09 Dec 15:39
163cfd6
Compare
Choose a tag to compare

Patch Changes

[email protected]

05 Dec 13:27
a5b1735
Compare
Choose a tag to compare

Patch Changes

  • #12645 8704c54 Thanks @sarah11918! - Updates some reference links in error messages for new v5 docs.

  • #12641 48ca399 Thanks @ascorbic! - Fixes a bug where astro info --copy wasn't working correctly on macOS 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 accessing Astro.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 i18n fallback feature.

  • #12449 e6b8017 Thanks @apatel369! - Fixes an issue where the custom assetFileNames 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 the experimental.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 programmatic sync() 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 clientAddress

    When using context.clientAddress or Astro.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]

05 Dec 15:46
ba4aac1
Compare
Choose a tag to compare

Patch Changes

  • #12632 e7d14c3 Thanks @ematipico! - Fixes an issue where the checkOrigin feature wasn't correctly checking the content-type header

@astrojs/[email protected]

05 Dec 13:27
a5b1735
Compare
Choose a tag to compare

Patch Changes

  • #12576 19b3ac0 Thanks @apatel369! - Fixes an issue where running upgrade in a directory without astro installed shows a false success message

@astrojs/[email protected]

05 Dec 13:27
a5b1735
Compare
Choose a tag to compare

Patch Changes

  • #12644 5b9b618 Thanks @kunyan! - Sends the standard RSS content type response header, with UTF-8 charset

[email protected]

03 Dec 10:58
fcdd37f
Compare
Choose a tag to compare

Minor Changes

  • #12539 827093e Thanks @bluwy! - Drops node 21 support

  • #12083 9263e96 Thanks @Princesseuh! - Reworks the experience of creating a new Astro project using the create 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.