github withastro/astro astro@2.1.3

latest releases: astro@4.16.11, astro@5.0.0-beta.7, @astrojs/svelte@6.0.0-beta.2...
20 months ago

Patch Changes

  • #6530 acf78c5e2 Thanks @Princesseuh! - Fix various inaccuracies with types related to the new Assets features:

    • getConfiguredImageService wasn't present on the astro:assets types.
    • ImageMetadata wasn't exported
    • Fixed wrong module declaration for avif, heic and heif files.
    • Add missing module declaration for SVGs imports
  • #6527 04e624d06 Thanks @bluwy! - Treeshake exported client components that are not imported

  • #6533 cc90d7219 Thanks @Princesseuh! - Added a warning when trying to use experimental.assets with a not compatible adapter

  • #6483 a9a6ae298 Thanks @Princesseuh! - Fix images defined in content collections schemas not working

  • #6537 6a7cf0712 Thanks @matthewp! - Prevent astro:content from depending on Node builtins

  • #6488 bfd67ea74 Thanks @matthewp! - Remove use of createRequire breaking non-Node hosts.

  • #6503 f6eddffa0 Thanks @bholmesdev! - Add caching to getCollection() queries for faster SSG production builds

  • #6508 c63874090 Thanks @bholmesdev! - Improve content collection error formatting:

    • Bold the collection and entry that failed
    • Consistently list the frontmatter key at the start of every error
    • Rich errors for union types
  • #6485 d637d1ea5 Thanks @bluwy! - Fix @astrojs/prism edgecase with strict package managers

  • #6532 637f9bc72 Thanks @Princesseuh! - Fix env.d.ts changing types wrongly on every restart when experimental.assets is enabled

  • #6460 77a046e88 Thanks @bluwy! - Add default .npmrc file when adding the Lit integration through astro add lit and using pnpm.

Don't miss a new astro release

NewReleases is sending notifications on new releases.