github withastro/astro astro@2.1.0

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

Minor Changes

  • #6150 b087b83fe Thanks @morellodev! - Add getStaticPaths type helpers to infer params and props

  • #6344 694918a56 Thanks @Princesseuh! - Add a new experimental flag (experimental.assets) to enable our new core Assets story.

    This unlocks a few features:

    • A new built-in image component and JavaScript API to transform and optimize images.
    • Relative images with automatic optimization in Markdown.
    • Support for validating assets using content collections.
    • and more!

    See Assets (Experimental) on our docs site for more information on how to use this feature!

  • #6435 a20610609 Thanks @matthewp! - Expose the manifest to plugins via the astro:ssr-manifest virtual module

  • #6394 a4a74ab70 Thanks @ematipico! - Add --help to various commands: check, sync, dev, preview, and build

  • #6356 75921b3cd Thanks @ematipico! - Added a new --watch flag to the command astro check

  • #6213 afbbc4d5b Thanks @Princesseuh! - Updated compilation settings to disable downlevelling for Node 14

Patch Changes

  • #6209 fec583909 Thanks @bholmesdev! - Introduce the (experimental) @astrojs/markdoc integration. This unlocks Markdoc inside your Content Collections, bringing support for Astro and UI components in your content. This also improves Astro core internals to make Content Collections extensible to more file types in the future.

    You can install this integration using the astro add command:

    astro add markdoc
    

    Read the @astrojs/markdoc documentation for usage instructions, and browse the new with-markdoc starter to try for yourself.

  • Updated dependencies [694918a56, afbbc4d5b]:

    • @astrojs/markdown-remark@2.1.0
    • @astrojs/telemetry@2.1.0
    • @astrojs/webapi@2.1.0

Don't miss a new astro release

NewReleases is sending notifications on new releases.