Astro: [email protected] Release

Release date:
March 10, 2022
Previous version:
[email protected] (released March 4, 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

Minor Changes

  • af075d81 Thanks @natemoo-re! - Visual redesign of the astro dev CLI, including new astro --help and astro --version outputs.

    These changes introduce a new startup screen, make it more obvious when a file triggers in-place HMR (update) or a full reload (reload), and improve the way Astro surfaces errors during dev.

  • #2747 05b66bd6 Thanks @natemoo-re! - Escape HTML inside of expressions by default. Please see our migration guide for more details.

Patch Changes

  • #2695 ae8d9256 Thanks @natemoo-re! - Update Astro.slots API with new public has and render methods.

    This is a backwards-compatible changeβ€”Astro.slots.default will still be true if the component has been passed a default slot.

    if (Astro.slots.has('default')) {
        const content = await Astro.slots.render('default');
    }
    
  • #2705 72c2c86e Thanks @natemoo-re! - Fixes the static build to write to 404.html

  • #2737 e8d4e568 Thanks @natemoo-re! - Astro's logger has been redesigned for an improved experience! In addition to deduping identical messages, we've surfaced more error details and exposed new events like update (for in-place HMR) and reload (for full-reload HMR).

  • #2733 6bf124fb Thanks @FredKSchott! - Remove a bad dev warning

  • #2732 0ae96bb7 Thanks @bholmesdev! - Update server start message to use localhost for local hostnames