Minor Changes
-
#2705
8ce63ee6
Thanks @natemoo-re! - New default build strategyThis change marks the "static build" as the new default build strategy. If you are unfamiliar with this build strategy check out the migration guide on how to change your code to be compatible with this new bulid strategy.
If you'd like to keep using the old build strategy, use the flag
--legacy-build
both in yourastro dev
andastro build
scripts, for ex:{ "scripts": { "build": "astro build --legacy-build" } }
Note that the legacy build is deprecated and will be removed in a future version. You should only use this flag until you have the time to migration your code.
- Updated
<head>
and<body>
behavior
Since
astro@0.21
, Astro placed certain restrictions on what files could use<head>
or<body>
tags. Inastro@0.24
, the restrictions have been lifted. Astro will be able to correctly handle<head>
and<body>
tags in any component, not just those insrc/pages/
orsrc/layouts/
. - Updated
Patch Changes
-
#2705
176d4082
Thanks @natemoo-re! - Fixes use of private .env variables with the static build -
#2705
a483c044
Thanks @natemoo-re! - Replacesend
dependency withsirv