github withastro/astro astro@0.24.0-next.1

latest releases: astro@4.11.5, astro@4.11.4, astro@4.11.3...
pre-release2 years ago

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

Don't miss a new astro release

NewReleases is sending notifications on new releases.