diff --git a/.changeset/clean-nails-talk.md b/.changeset/clean-nails-talk.md deleted file mode 100644 index 1cdb1e46bb34..000000000000 --- a/.changeset/clean-nails-talk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"miniflare": patch ---- - -fix: ensure `miniflare` works with Node 21.7.0+ diff --git a/.changeset/friendly-jobs-serve.md b/.changeset/friendly-jobs-serve.md deleted file mode 100644 index 04704af71ae6..000000000000 --- a/.changeset/friendly-jobs-serve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -Aligns most `webFramework` templates to use `dev` and `deploy` instead of `pages:dev` and `pages:deploy` in package scripts. diff --git a/.changeset/hungry-cougars-tie.md b/.changeset/hungry-cougars-tie.md deleted file mode 100644 index f540eb908aec..000000000000 --- a/.changeset/hungry-cougars-tie.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"wrangler": minor ---- - -refactor: default `wrangler d1 execute` and `wrangler d1 migrations` commands to local mode first, to match `wrangler dev` - -This PR defaults `wrangler d1 execute` and `wrangler d1 migrations` commands to use the local development environment provided by wrangler to match the default behaviour in `wrangler dev`. - -BREAKING CHANGE (for a beta feature): `wrangler d1 execute` and `wrangler d1 migrations` commands now default `--local` to `true`. When running `wrangler d1 execute` against a remote D1 database, you will need to provide the `--remote` flag. diff --git a/.changeset/purple-lemons-yell.md b/.changeset/purple-lemons-yell.md deleted file mode 100644 index effbabadfa15..000000000000 --- a/.changeset/purple-lemons-yell.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"miniflare": patch ---- - -fix: ensure redirect responses handled correctly with `dispatchFetch()` - -Previously, if your Worker returned a redirect response, calling `dispatchFetch(url)` would send another request to the original `url` rather than the redirect. This change ensures redirects are followed correctly. - -- If your Worker returns a relative redirect or an absolute redirect with the same origin as the original `url`, the request will be sent to the Worker. -- If your Worker instead returns an absolute redirect with a different origin, the request will be sent to the Internet. -- If a redirected request to a different origin returns an absolute redirect with the same origin as the original `url`, the request will also be sent to the Worker. diff --git a/.changeset/thick-yaks-cry.md b/.changeset/thick-yaks-cry.md deleted file mode 100644 index 2ee33cc143ba..000000000000 --- a/.changeset/thick-yaks-cry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: change d1 migrations create to use the highest migration number rather than the first non-existing migration number to allow for gaps in the migration files. diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index 3685975e7f6b..2c9dec6c8391 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,11 @@ # create-cloudflare +## 2.13.3 + +### Patch Changes + +- [#5187](https://github.com/cloudflare/workers-sdk/pull/5187) [`8e9faf2`](https://github.com/cloudflare/workers-sdk/commit/8e9faf27449b61c04c6455cef249c3fe103bf6ad) Thanks [@jculvey](https://github.com/jculvey)! - Aligns most `webFramework` templates to use `dev` and `deploy` instead of `pages:dev` and `pages:deploy` in package scripts. + ## 2.13.2 ### Patch Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index 9de8da705a51..2f7460703a4d 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.13.2", + "version": "2.13.3", "description": "A CLI for creating and deploying new applications to Cloudflare.", "keywords": [ "cloudflare", diff --git a/packages/miniflare/CHANGELOG.md b/packages/miniflare/CHANGELOG.md index 405748f19526..f3385bd6cf56 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,19 @@ # miniflare +## 3.20240304.1 + +### Patch Changes + +- [#5201](https://github.com/cloudflare/workers-sdk/pull/5201) [`1235d48`](https://github.com/cloudflare/workers-sdk/commit/1235d48fed9f4e348011fd62fce6458006947501) Thanks [@wydengyre](https://github.com/wydengyre)! - fix: ensure `miniflare` works with Node 21.7.0+ + +- [#5191](https://github.com/cloudflare/workers-sdk/pull/5191) [`27fb22b`](https://github.com/cloudflare/workers-sdk/commit/27fb22b7c6b224aecc852915d9fee600d9d86efc) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: ensure redirect responses handled correctly with `dispatchFetch()` + + Previously, if your Worker returned a redirect response, calling `dispatchFetch(url)` would send another request to the original `url` rather than the redirect. This change ensures redirects are followed correctly. + + - If your Worker returns a relative redirect or an absolute redirect with the same origin as the original `url`, the request will be sent to the Worker. + - If your Worker instead returns an absolute redirect with a different origin, the request will be sent to the Internet. + - If a redirected request to a different origin returns an absolute redirect with the same origin as the original `url`, the request will also be sent to the Worker. + ## 3.20240304.0 ### Minor Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index 933c5feb9971..6ce2750c6c6d 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "3.20240304.0", + "version": "3.20240304.1", "description": "Fun, full-featured, fully-local simulator for Cloudflare Workers", "keywords": [ "cloudflare", diff --git a/packages/pages-shared/CHANGELOG.md b/packages/pages-shared/CHANGELOG.md index 14ba5aa43033..887fb426f38c 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.11.18 + +### Patch Changes + +- Updated dependencies [[`1235d48`](https://github.com/cloudflare/workers-sdk/commit/1235d48fed9f4e348011fd62fce6458006947501), [`27fb22b`](https://github.com/cloudflare/workers-sdk/commit/27fb22b7c6b224aecc852915d9fee600d9d86efc)]: + - miniflare@3.20240304.1 + ## 0.11.17 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index e287bd5623e9..e0bdc5196852 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.11.17", + "version": "0.11.18", "repository": { "type": "git", "url": "https://github.com/cloudflare/workers-sdk.git", diff --git a/packages/vitest-pool-workers/CHANGELOG.md b/packages/vitest-pool-workers/CHANGELOG.md index f040d3fad1e3..1d27cafd0bf4 100644 --- a/packages/vitest-pool-workers/CHANGELOG.md +++ b/packages/vitest-pool-workers/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudflare/vitest-pool-workers +## 0.0.8 + +### Patch Changes + +- Updated dependencies [[`1235d48`](https://github.com/cloudflare/workers-sdk/commit/1235d48fed9f4e348011fd62fce6458006947501), [`2680462`](https://github.com/cloudflare/workers-sdk/commit/268046269394e27654550ad034d286aa0e6aaf4b), [`27fb22b`](https://github.com/cloudflare/workers-sdk/commit/27fb22b7c6b224aecc852915d9fee600d9d86efc), [`046930e`](https://github.com/cloudflare/workers-sdk/commit/046930eb898db6d45a6b26751dede07793435d28)]: + - miniflare@3.20240304.1 + - wrangler@3.33.0 + ## 0.0.7 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index 0295307236d1..b1f3fecf7691 100644 --- a/packages/vitest-pool-workers/package.json +++ b/packages/vitest-pool-workers/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/vitest-pool-workers", - "version": "0.0.7", + "version": "0.0.8", "private": true, "main": "dist/pool/index.mjs", "types": "test/cloudflare-test.d.ts", diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index ce21ba173d4c..38280a7e8d4d 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,22 @@ # wrangler +## 3.33.0 + +### Minor Changes + +- [#4930](https://github.com/cloudflare/workers-sdk/pull/4930) [`2680462`](https://github.com/cloudflare/workers-sdk/commit/268046269394e27654550ad034d286aa0e6aaf4b) Thanks [@rozenmd](https://github.com/rozenmd)! - refactor: default `wrangler d1 execute` and `wrangler d1 migrations` commands to local mode first, to match `wrangler dev` + + This PR defaults `wrangler d1 execute` and `wrangler d1 migrations` commands to use the local development environment provided by wrangler to match the default behaviour in `wrangler dev`. + + BREAKING CHANGE (for a beta feature): `wrangler d1 execute` and `wrangler d1 migrations` commands now default `--local` to `true`. When running `wrangler d1 execute` against a remote D1 database, you will need to provide the `--remote` flag. + +### Patch Changes + +- [#5184](https://github.com/cloudflare/workers-sdk/pull/5184) [`046930e`](https://github.com/cloudflare/workers-sdk/commit/046930eb898db6d45a6b26751dede07793435d28) Thanks [@nora-soderlund](https://github.com/nora-soderlund)! - fix: change d1 migrations create to use the highest migration number rather than the first non-existing migration number to allow for gaps in the migration files. + +- Updated dependencies [[`1235d48`](https://github.com/cloudflare/workers-sdk/commit/1235d48fed9f4e348011fd62fce6458006947501), [`27fb22b`](https://github.com/cloudflare/workers-sdk/commit/27fb22b7c6b224aecc852915d9fee600d9d86efc)]: + - miniflare@3.20240304.1 + ## 3.32.0 ### Minor Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index e5bb7f8b811b..ff8781f187e7 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "3.32.0", + "version": "3.33.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",