-
Notifications
You must be signed in to change notification settings - Fork 749
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
29a59d4
commit 391791b
Showing
21 changed files
with
77 additions
and
90 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
# @cloudflare/pages-shared | ||
|
||
## 0.10.2 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies [[`29a59d4e`](https://github.com/cloudflare/workers-sdk/commit/29a59d4e72e3ae849474325c5c93252a3f84af0d)]: | ||
- [email protected] | ||
|
||
## 0.10.1 | ||
|
||
### Patch Changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,28 @@ | ||
# wrangler | ||
|
||
## 3.16.0 | ||
|
||
### Minor Changes | ||
|
||
- [#4179](https://github.com/cloudflare/workers-sdk/pull/4179) [`dd270d00`](https://github.com/cloudflare/workers-sdk/commit/dd270d0065159150ff318f2f06607ddecba6ee9b) Thanks [@matthewdavidrodgers](https://github.com/matthewdavidrodgers)! - Simplify secret:bulk api via script settings | ||
|
||
Firing PUTs to the secret api in parallel has never been a great solution - each request independently needs to lock the script, so running in parallel is at best just as bad as running serially. | ||
|
||
Luckily, we have the script settings PATCH api now, which can update the settings for a script (including secret bindings) at once, which means we don't need any parallelization. However this api doesn't work with a partial list of bindings, so we have to fetch the current bindings and merge in with the new secrets before PATCHing. We can however just omit the value of the binding (i.e. only provide the name and type) which instructs the config service to inherit the existing value, which simplifies this as well. Note that we don't use the bindings in your current wrangler.toml, as you could be in a draft state, and it makes sense as a user that a bulk secrets update won't update anything else. Instead, we use script settings api again to fetch the current state of your bindings. | ||
|
||
This simplified implementation means the operation can only fail or succeed, rather than succeeding in updating some secrets but failing for others. In order to not introduce breaking changes for logging output, the language around "${x} secrets were updated" or "${x} secrets failed" is kept, even if it doesn't make much sense anymore. | ||
|
||
### Patch Changes | ||
|
||
- [#4149](https://github.com/cloudflare/workers-sdk/pull/4149) [`7e05f38e`](https://github.com/cloudflare/workers-sdk/commit/7e05f38e04e40125c9c5352b7ff1c95616c1baf0) Thanks [@jspspike](https://github.com/jspspike)! - Fixed issue with `tail` not using proxy | ||
|
||
* [#3845](https://github.com/cloudflare/workers-sdk/pull/3845) [`4b073850`](https://github.com/cloudflare/workers-sdk/commit/4b073850a052c1354bfe14293394c2d190645ee5) Thanks [@ndisidore](https://github.com/ndisidore)! - [Workers] Allow namespace to be specified for a tail script | ||
|
||
- [#4219](https://github.com/cloudflare/workers-sdk/pull/4219) [`0453b447`](https://github.com/cloudflare/workers-sdk/commit/0453b447251cc670310be6a2067c84074f6a515b) Thanks [@maxwellpeterson](https://github.com/maxwellpeterson)! - Allows uploads with both cron triggers and smart placement enabled | ||
|
||
- Updated dependencies [[`29a59d4e`](https://github.com/cloudflare/workers-sdk/commit/29a59d4e72e3ae849474325c5c93252a3f84af0d)]: | ||
- [email protected] | ||
|
||
## 3.15.0 | ||
|
||
### Minor Changes | ||
|
@@ -958,7 +981,7 @@ | |
const url = new URL(req.url); | ||
const name = url.searchParams.get("name"); | ||
return new Response("Hello, " + name); | ||
} | ||
}, | ||
}; | ||
``` | ||
|
||
|
@@ -1636,7 +1659,7 @@ rozenmd@cflaptop test1 % npx wrangler d1 execute test --command="select * from c | |
|
||
```js | ||
worker = await unstable_dev("src/index.js", { | ||
experimental: { disableExperimentalWarning: true } | ||
experimental: { disableExperimentalWarning: true }, | ||
}); | ||
``` | ||
|
||
|
@@ -2144,7 +2167,7 @@ rozenmd@cflaptop test1 % npx wrangler d1 execute test --command="select * from c | |
|
||
```js | ||
await unstable_dev("src/index.ts", { | ||
local: false | ||
local: false, | ||
}); | ||
``` | ||
|
||
|
@@ -2787,7 +2810,7 @@ rozenmd@cflaptop test1 % npx wrangler d1 execute test --command="select * from c | |
export default { | ||
fetch(req, env) { | ||
return env.Bee.fetch(req); | ||
} | ||
}, | ||
}; | ||
``` | ||
|
||
|
@@ -2803,7 +2826,7 @@ rozenmd@cflaptop test1 % npx wrangler d1 execute test --command="select * from c | |
export default { | ||
fetch(req, env) { | ||
return new Response("Hello World"); | ||
} | ||
}, | ||
}; | ||
``` | ||
|
||
|
@@ -3784,7 +3807,7 @@ And in your worker, you can call it like so: | |
export default { | ||
fetch(req, env, ctx) { | ||
return env.MYWORKER.fetch(new Request("http://domain/some-path")); | ||
} | ||
}, | ||
}; | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters