Minor Changes
-
af075d81
Thanks @natemoo-re! - Visual redesign of theastro dev
CLI, including newastro --help
andastro --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! - UpdateAstro.slots
API with new publichas
andrender
methods.This is a backwards-compatible change—
Astro.slots.default
will still betrue
if the component has been passed adefault
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 likeupdate
(for in-place HMR) andreload
(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