astro 0.24.0-next.1
Minor Changes
-
af075d81Thanks @natemoo-re! - Visual redesign of theastro devCLI, including newastro --helpandastro --versionoutputs.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
05b66bd6Thanks @natemoo-re! - Escape HTML inside of expressions by default. Please see our migration guide for more details.
Patch Changes
-
#2695
ae8d9256Thanks @natemoo-re! - UpdateAstro.slotsAPI with new publichasandrendermethods.This is a backwards-compatible change—
Astro.slots.defaultwill still betrueif the component has been passed adefaultslot.if (Astro.slots.has('default')) { const content = await Astro.slots.render('default'); } -
#2705
72c2c86eThanks @natemoo-re! - Fixes the static build to write to 404.html -
#2737
e8d4e568Thanks @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
6bf124fbThanks @FredKSchott! - Remove a bad dev warning -
#2732
0ae96bb7Thanks @bholmesdev! - Update server start message to use localhost for local hostnames