diff --git a/.changeset/brave-mails-repeat.md b/.changeset/brave-mails-repeat.md deleted file mode 100644 index e26dcb1c1..000000000 --- a/.changeset/brave-mails-repeat.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -'astro': patch ---- - -Adds support for `hydrationPolyfills` in renderers - -Renderers can not specify polyfills that must run before the component code runs for hydration: - -```js -export default { - name: '@matthewp/my-renderer', - server: './server.js', - client: './client.js', - hydrationPolyfills: ['./my-polyfill.js'] -} -``` - -These will still wait for hydration to occur, but will run before the component script does. diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index aabf7428b..5902be652 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.15.4" + "astro": "^0.15.5" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/blog/package.json b/examples/blog/package.json index 3d57d832c..3eafc1728 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.15.4" + "astro": "^0.15.5" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/docs/package.json b/examples/docs/package.json index b1b873767..c81d25f51 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.15.4" + "astro": "^0.15.5" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index e9f346a2f..18fe97a58 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.15.4" + "astro": "^0.15.5" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index bda6eded1..28f4a4ab6 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.15.4" + "astro": "^0.15.5" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index bc9ab1de7..225d1022d 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.15.4" + "astro": "^0.15.5" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index e30a766fb..83a5fbf41 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.15.4" + "astro": "^0.15.5" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index f46a9a067..ee8e7e80f 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.15.4" + "astro": "^0.15.5" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 7f1618e91..ff3b1e454 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.15.4" + "astro": "^0.15.5" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/snowpack/package.json b/examples/snowpack/package.json index 3241a3bed..22b8fb201 100644 --- a/examples/snowpack/package.json +++ b/examples/snowpack/package.json @@ -11,7 +11,7 @@ "lint": "prettier --check \"src/**/*.js\"" }, "dependencies": { - "astro": "^0.15.4", + "astro": "^0.15.5", "date-fns": "^2.19.0", "deepmerge": "^4.2.2", "docsearch.js": "^2.6.3", @@ -25,7 +25,7 @@ "@11ty/eleventy-plugin-syntaxhighlight": "^3.0.4", "@contentful/rich-text-html-renderer": "^14.1.2", "@contentful/rich-text-types": "^14.1.2", - "astro": "^0.15.4", + "astro": "^0.15.5", "eleventy-plugin-nesting-toc": "^1.2.0", "luxon": "^1.25.0", "markdown-it": "^12.0.2", diff --git a/examples/starter/package.json b/examples/starter/package.json index be79f0874..44a9b2f9d 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.15.4" + "astro": "^0.15.5" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index 835ae4f08..40077149e 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.15.4" + "astro": "^0.15.5" }, "snowpack": { "workspaceRoot": "../.." diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index f6afec8c3..bc248e59e 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.15.4" + "astro": "^0.15.5" }, "dependencies": { "nanostores": "^0.3.3" diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index e0c4ae3a4..06a27b59e 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -8,7 +8,7 @@ }, "devDependencies": { "tailwindcss": "^2.1.2", - "astro": "^0.15.4" + "astro": "^0.15.5" }, "snowpack": { "workspaceRoot": "../.." diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 1e57da45a..007a2cc08 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,24 @@ # astro +## 0.15.5 + +### Patch Changes + +- 7b4c97c: Adds support for `hydrationPolyfills` in renderers + + Renderers can not specify polyfills that must run before the component code runs for hydration: + + ```js + export default { + name: '@matthewp/my-renderer', + server: './server.js', + client: './client.js', + hydrationPolyfills: ['./my-polyfill.js'], + }; + ``` + + These will still wait for hydration to occur, but will run before the component script does. + ## 0.15.4 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 0e029b99b..28b3b3f56 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "0.15.4", + "version": "0.15.5", "author": "Skypack", "license": "MIT", "type": "module", diff --git a/www/package.json b/www/package.json index 7e194b72e..81661eeca 100644 --- a/www/package.json +++ b/www/package.json @@ -7,6 +7,6 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.15.4" + "astro": "^0.15.5" } }