@astrojs/cloudflare
π Patch Changes
-
#7419
94afaa3e5Thanks @TorbjornHoltmon! - Fixed issue with cloudflare runtimewaitUntilnot working as intended. -
Updated dependencies [
2b34fc492,89a483520]:- astro@2.6.6
-
πΏ Minor Changes
-
#7067
57f8d14c0Thanks @matthewp! - Support for experimental redirectsThis adds support for the redirects RFC in the Cloudflare adapter. No changes are necessary, simply use configured redirects and the adapter will update your
_redirectsfile.
π Patch Changes
-
#7260
39403c32fThanks @natemoo-re! - Unflags support foroutput: 'hybrid'mode, which enables pre-rendering by default. The additionalexperimental.hybridOutputflag can be safely removed from your configuration. -
Updated dependencies [
57f8d14c0,414eb19d2,a7e2b37ff,dd1a6b6c9,d72cfa7ca,144813f73,b5213654b,e3b8c6296,890a2bc98,39403c32f,101f03209]:- astro@2.6.0
-
πΏ Minor Changes
- #7092
2a1fa09b3Thanks @johannesspohr! - Addworkedandworkerimport condition for worker bundling
π Patch Changes
-
#6991
719002ca5Thanks @MoustaphaDev! - Enable experimental support for hybrid SSR with pre-rendering enabled by defaultastro.config.mjs
import { defineConfig } from 'astro/config';export defaultdefineConfig({output: 'hybrid',experimental: {hybridOutput: true,},})Then add
export const prerender = falseto any page or endpoint you want to opt-out of pre-rendering.src/pages/contact.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> -
#7101
2994bc52dThanks @bluwy! - Always build edge/worker runtime with VitewebworkerSSR target -
#7104
826e02890Thanks @bluwy! - Specify"files"field to only publish necessary files -
Updated dependencies [
4516d7b22,e186ecc5e,c6d7ebefd,914c439bc,e9fc2c221,075eee08f,719002ca5,fc52681ba,fb84622af,cada10a46,cd410c5eb,73ec6f6c1,410428672,763ff2d1e,c1669c001,3d525efc9]:- astro@2.5.0
- #7092
π Patch Changes
-
#6550
2c829fdf6Thanks @RichiCoder1! - fixconfig.basetrimming logic for cloudflare integration_routes.jsongeneration -
Updated dependencies [
04dddd783,ea9b3dd72,bf024cb34,22955b895,f413446a8,90e5f87d0,388190102,035c0c4df,f112c12b1,689884251,fa132e35c,f5fddafc2,283734525,66858f1f2,6c465e958]:- astro@2.1.4
-
π Patch Changes
-
#6531
4ddf34893Thanks @matthewp! - Remove false-positive warnings from Cloudflareβs build.Cloudflare includes warnings when it bundles the already-built output from astro.build. Those warnings are mostly due to
"sideEffects": falsepackages that are included in the Vite built output because they are marked as external. Rollup will remove unused imports from these packages but will not remove the actual import, causing the false-positive warning. -
#6473
1c3e8f6c3Thanks @RichiCoder1! - fix automatic routes generation not respecting config.base -
#6494
a13e9d7e3Thanks @Yan-Thomas! - Consistency improvements to several package descriptions -
Updated dependencies [
acf78c5e2,04e624d06,cc90d7219,a9a6ae298,6a7cf0712,bfd67ea74,f6eddffa0,c63874090,d637d1ea5,637f9bc72,77a046e88]:- astro@2.1.3
-
πΏ Minor Changes
- #5914
088f5194cThanks @AngusMorton! - Re-enable streaming in Cloudflare Pages.
π Patch Changes
-
#5993
9855db676Thanks @matthewp! - Support for prerendering in the Cloudflare integrationThis fixes prerendering in the Cloudflare adapter. Now any prerendered routes are added to the
_routes.jsonconfig so that the worker script is skipped for those routes. -
Updated dependencies [
b53e0717b,60b32d585,883e0cc29,dabce6b8c,aedf23f85]:- astro@2.0.2
- #5914
β¨ Major Changes
-
#5707
5eba34fccThanks @bluwy! - Removeastro:build:startbackwards compatibility code -
#5806
7572f7402Thanks @matthewp! - Make astro apeerDependencyof integrationsThis marks
astroas apeerDependencyof several packages that are already gettingmajorversion bumps. This is so we can more properly track the dependency between them and what version of Astro they are being used with.
π Patch Changes
- Updated dependencies [
93e633922,16dc36a87,01f3f463b,e2019be6f,05caf445d,49ab4f231,a342a486c,8fb28648f,1f92d64ea,c2180746b,ae8a012a7,cf2de5422,ce5c5dbd4,ec09bb664,665a2c222,259a539d7,f7aa1ec25,4987d6f44,304823811,302e0ef8f,55cea0a9d,dd56c1941,9963c6e4d,be901dc98,f6cf92b48,e818cc046,8c100a6fe,116d8835c,840412128,1f49cddf9,7325df412,16c7d0bfd,a9c292026,2a5786419,4a1cabfe6,a8d3e7924,fa8c131f8,64b8082e7,c4b0cb8bf,23dc9ea96,63a6ceb38,a3a7fc929,52209ca2a,5fd9208d4,5eba34fcc,899214298,3a00ecb3e,5eba34fcc,2303f9514,1ca81c16b,b66d7195c]:- astro@2.0.0
-
β¨ Major Changes
-
#5806
7572f7402Thanks @matthewp! - Make astro a peerDependency of integrationsThis marks
astroas a peerDependency of several packages that are already gettingmajorversion bumps. This is so we can more properly track the dependency between them and what version of Astro they are being used with.
π Patch Changes
-
πΏ Minor Changes
- #5347
743000cc7Thanks @AirBorne04! - Now building for Cloudflare directory mode takes advantage of the standard asset handling from Cloudflare Pages, and therefore does not call a function script to deliver static assets anymore. Also supports the use of_routes.json,_redirectsand_headersfiles when placed into thepublicfolder.
π Patch Changes
- #5347