diff --git a/.changeset/little-carrots-sleep.md b/.changeset/little-carrots-sleep.md deleted file mode 100644 index f4e391540..000000000 --- a/.changeset/little-carrots-sleep.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': patch ---- - -Fixes dev errors in hydrated components - -The errors would occur when there was state changes in hydrated components. This only occurs in dev but does result in the hydrated component not working. This fixes the underlying issue. diff --git a/.changeset/tame-hats-give.md b/.changeset/tame-hats-give.md deleted file mode 100644 index c4158a46b..000000000 --- a/.changeset/tame-hats-give.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix crash with unexpected file types in pages directory diff --git a/.changeset/warm-students-melt.md b/.changeset/warm-students-melt.md deleted file mode 100644 index 89580014b..000000000 --- a/.changeset/warm-students-melt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Bugfix: improve style and script injection for partial pages diff --git a/.changeset/wise-months-serve.md b/.changeset/wise-months-serve.md deleted file mode 100644 index 57b7569ea..000000000 --- a/.changeset/wise-months-serve.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': patch ---- - -Fixes use of `PUBLIC_` to reference env vars - -Previously `PUBLIC_` worked in server-only components such as .astro components. However if you had a client-side component you had to use `VITE_`. This was a bug with our build that is now fixed. \ No newline at end of file diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index b8ae19fa0..06c9f7c95 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.21.4" + "astro": "^0.21.5" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 22279b6ac..70523c69d 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.21.4" + "astro": "^0.21.5" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index c31b87c0f..904d3c5c9 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -12,7 +12,7 @@ "@docsearch/react": "^1.0.0-alpha.27" }, "devDependencies": { - "astro": "^0.21.4", + "astro": "^0.21.5", "@snowpack/plugin-dotenv": "^2.1.0" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 495471dd9..ab8b539d7 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-lit": "^0.2.1", - "astro": "^0.21.4" + "astro": "^0.21.5" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 3d65dd6af..648fdbd25 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-solid": "^0.2.0", - "astro": "^0.21.4" + "astro": "^0.21.5" } } diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 73031fbf7..4e523207f 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.21.4" + "astro": "^0.21.5" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 132e9d1fd..47939f79f 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.21.4" + "astro": "^0.21.5" } } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 50b7a4914..7141db177 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-solid": "^0.2.0", - "astro": "^0.21.4" + "astro": "^0.21.5" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 6eec95cb7..108007421 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.21.4" + "astro": "^0.21.5" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 295fd4879..056b3fb55 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.21.4" + "astro": "^0.21.5" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 866d82b56..a6c042e24 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.21.4" + "astro": "^0.21.5" } } diff --git a/examples/portfolio-svelte/package.json b/examples/portfolio-svelte/package.json index 203f6a68a..cba8353c9 100644 --- a/examples/portfolio-svelte/package.json +++ b/examples/portfolio-svelte/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.21.4" + "astro": "^0.21.5" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 55b4a321f..c09ed4564 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.21.4" + "astro": "^0.21.5" } } diff --git a/examples/starter/package.json b/examples/starter/package.json index 767d86d5c..d368664d8 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.21.4" + "astro": "^0.21.5" } } diff --git a/examples/subpath/package.json b/examples/subpath/package.json index f7521722c..43e275916 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.21.4" + "astro": "^0.21.5" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 3da23c6c7..1d5472899 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.21.4", + "astro": "^0.21.5", "rehype-add-classes": "^1.0.0", "rehype-autolink-headings": "^6.1.0", "rehype-slug": "^5.0.0", diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index 9e5001a0f..dcf689e95 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.21.4" + "astro": "^0.21.5" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index e4e6b8199..e7b931385 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -16,6 +16,6 @@ }, "devDependencies": { "@astrojs/renderer-solid": "^0.2.0", - "astro": "^0.21.4" + "astro": "^0.21.5" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 9af770dca..056b88620 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.21.4", + "astro": "^0.21.5", "autoprefixer": "^10.4.0", "tailwindcss": "^2.2.19" } diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index 079b581ba..df5d3b859 100644 --- a/examples/with-vite-plugin-pwa/package.json +++ b/examples/with-vite-plugin-pwa/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.21.4", + "astro": "^0.21.5", "vite-plugin-pwa": "^0.11.5" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 1b928a8ee..9557c10c0 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,19 @@ # astro +## 0.21.5 + +### Patch Changes + +- 341ec3cd: Fixes dev errors in hydrated components + + The errors would occur when there was state changes in hydrated components. This only occurs in dev but does result in the hydrated component not working. This fixes the underlying issue. + +- 4436592d: Fix crash with unexpected file types in pages directory +- 50f3b8d7: Bugfix: improve style and script injection for partial pages +- fad6bd09: Fixes use of `PUBLIC_` to reference env vars + + Previously `PUBLIC_` worked in server-only components such as .astro components. However if you had a client-side component you had to use `VITE_`. This was a bug with our build that is now fixed. + ## 0.21.4 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 78c8559d2..37333a591 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "0.21.4", + "version": "0.21.5", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "author": "withastro", "license": "MIT", diff --git a/www/package.json b/www/package.json index bc3fb2eb6..c120a6b26 100644 --- a/www/package.json +++ b/www/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.21.4" + "astro": "^0.21.5" } }