diff options
author | 2023-05-18 09:31:59 -0700 | |
---|---|---|
committer | 2023-05-18 12:31:59 -0400 | |
commit | 31cbf4357e866abab62bb4ccf949f5a59aec06ac (patch) | |
tree | fdf22a00c332e3082b3d369c3eda497892351f0d /packages/integrations/image/CHANGELOG.md | |
parent | dad105a91e2d9b59cfd6aba7703207ba08841c10 (diff) | |
download | astro-1d8da87f890fba6df19788c8285ddf19701f24ab.tar.gz astro-1d8da87f890fba6df19788c8285ddf19701f24ab.tar.zst astro-1d8da87f890fba6df19788c8285ddf19701f24ab.zip |
[ci] release (#7090)astro@2.5.0@astrojs/vue@2.2.0@astrojs/vercel@3.4.0@astrojs/turbolinks@0.2.2@astrojs/tailwind@3.1.3@astrojs/svelte@2.2.0@astrojs/solid-js@2.2.0@astrojs/rss@2.4.2@astrojs/react@2.2.0@astrojs/prism@2.1.2@astrojs/prefetch@0.2.2@astrojs/preact@2.2.0@astrojs/partytown@1.2.2@astrojs/node@5.1.4@astrojs/netlify@2.2.3@astrojs/mdx@0.19.2@astrojs/markdown-remark@2.2.1@astrojs/markdown-component@1.0.4@astrojs/markdoc@0.2.0@astrojs/lit@2.0.2@astrojs/image@0.16.9@astrojs/deno@4.1.1@astrojs/cloudflare@6.3.0@astrojs/alpinejs@0.2.2
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'packages/integrations/image/CHANGELOG.md')
-rw-r--r-- | packages/integrations/image/CHANGELOG.md | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/packages/integrations/image/CHANGELOG.md b/packages/integrations/image/CHANGELOG.md index 39335cc5c..ba0232856 100644 --- a/packages/integrations/image/CHANGELOG.md +++ b/packages/integrations/image/CHANGELOG.md @@ -1,5 +1,46 @@ # @astrojs/image +## 0.16.9 + +### Patch Changes + +- [#6991](https://github.com/withastro/astro/pull/6991) [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759) Thanks [@MoustaphaDev](https://github.com/MoustaphaDev)! - Enable experimental support for hybrid SSR with pre-rendering enabled by default + + **astro.config.mjs** + + ```js + import { defineConfig } from 'astro/config'; + export defaultdefineConfig({ + output: 'hybrid', + experimental: { + hybridOutput: true, + }, + }) + ``` + + Then add `export const prerender = false` to any page or endpoint you want to opt-out of pre-rendering. + + **src/pages/contact.astro** + + ```astro + --- + export const prerender = false; + + if (Astro.request.method === 'POST') { + // handle form submission + } + --- + + <form method="POST"> + <input type="text" name="name" /> + <input type="email" name="email" /> + <button type="submit">Submit</button> + </form> + ``` + +- Updated dependencies [[`4516d7b22`](https://github.com/withastro/astro/commit/4516d7b22c5979cde4537f196b53ae2826ba9561), [`e186ecc5e`](https://github.com/withastro/astro/commit/e186ecc5e292de8c6a2c441a2d588512c0813068), [`c6d7ebefd`](https://github.com/withastro/astro/commit/c6d7ebefdd554a9ef29cfeb426ac55cab80d6473), [`914c439bc`](https://github.com/withastro/astro/commit/914c439bccee9fec002c6d92beaa501c398e62ac), [`e9fc2c221`](https://github.com/withastro/astro/commit/e9fc2c2213036d47cd30a47a6cdad5633481a0f8), [`075eee08f`](https://github.com/withastro/astro/commit/075eee08f2e2b0baea008b97f3523f2cb937ee44), [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759), [`fc52681ba`](https://github.com/withastro/astro/commit/fc52681ba2f8fe8bcd92eeedf3c6a52fd86a390e), [`fb84622af`](https://github.com/withastro/astro/commit/fb84622af04f795de8d17f24192de105f70fe910), [`cada10a46`](https://github.com/withastro/astro/commit/cada10a466f81f8edb0aa664f9cffdb6b5b8f307), [`cd410c5eb`](https://github.com/withastro/astro/commit/cd410c5eb71f825259279c27c4c39d0ad282c3f0), [`73ec6f6c1`](https://github.com/withastro/astro/commit/73ec6f6c16cadb71dafe9f664f0debde072c3173), [`410428672`](https://github.com/withastro/astro/commit/410428672ed97bba7ca0b3352c1a7ee564921462), [`763ff2d1e`](https://github.com/withastro/astro/commit/763ff2d1e44f54b899d7c65386f1b4b877c95737), [`c1669c001`](https://github.com/withastro/astro/commit/c1669c0011eecfe65a459d727848c18c189a54ca), [`3d525efc9`](https://github.com/withastro/astro/commit/3d525efc95cfb2deb5d9e04856d02965d66901c9)]: + - astro@2.5.0 + ## 0.16.8 ### Patch Changes |