Astro: [email protected] Release

Release date:
July 26, 2022
Previous version:
[email protected] (released July 19, 2022)
Magnitude:
0 Diff Delta
Contributors:
0 total committers
Data confidence:
Commits:

Top Contributors in [email protected]

Could not determine top contributors for this release.

Directory Browser for [email protected]

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

Twitter _ Post Photo (2)

The Astro v1.0.0 Release Candidate comes includes new features, tons of bug fixes, and a few breaking changes to be aware of.

Migration Guide: https://docs.astro.build/en/migrate/

Breaking Changes

  • Astro now uses Vite 3, which comes with its own Migration Guide.
  • Components and JSX expressions in .md files is no longer supported by default. It can be enabled by setting the legacy.astroFlavoredMarkdown flag to true. In the future, we will be pushing users to our new @astrojs/mdx Integration for using components in Markdown.
  • β€˜@astrojs/image’ integration released!
  • Astro scoped styles now respect their authored specificity (see RFC0012). Please visually inspect your site after upgrading to confirm that styles are working as expected.
  • Astro.canonicalURL has been replaced by the new Astro.url helper.
  • The Markdown headers and getHeaders() utils have been renamed to headings and getHeadings().
  • The deprecated Markdown component has been removed from core and is now available as @astrojs/markdown-component.

Read the full migration guide for more details on upgrading your existing project.

New Features

  • astro dev HMR has been overhauled to provide more stable live reload behavior
  • astro dev error handling has been overhauled to provide a more seamless error handling experience
  • The new output configuration option builds to 'static' | 'server' targets
  • .html components and pages are now supported
  • .mdx components and pages are now supported via @astrojs/mdx
  • server output now supports custom 404 and 500 pages
  • server output now exposes Astro.clientAddress to get the current IP address per request

Patch Changes