-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency wrangler to v3.63.0 #29
Merged
Conversation
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
02d5d76
to
bf87abc
Compare
bf87abc
to
112317d
Compare
112317d
to
17984d2
Compare
17984d2
to
cba1787
Compare
cba1787
to
929524d
Compare
929524d
to
3cb0db9
Compare
3cb0db9
to
55e4613
Compare
55e4613
to
c92902a
Compare
c92902a
to
da8c734
Compare
da8c734
to
9e2fb66
Compare
9e2fb66
to
6dfb2e4
Compare
6dfb2e4
to
1e81b6f
Compare
1e81b6f
to
3393f6a
Compare
3393f6a
to
09b131f
Compare
09b131f
to
aea7ebd
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.52.0
->3.63.0
Release Notes
cloudflare/workers-sdk (wrangler)
v3.63.0
Compare Source
Minor Changes
#6167
e048958
Thanks @threepointone! - feature: alias modules in the workerSometimes, users want to replace modules with other modules. This commonly happens inside a third party dependency itself. As an example, a user might have imported
node-fetch
, which will probably never work in workerd. You can use the alias config to replace any of these imports with a module of your choice.Let's say you make a
fetch-nolyfill.js
You can then configure
wrangler.toml
like so:v3.62.0
Compare Source
Minor Changes
#5950
0075621
Thanks @WalshyDev! - feat: addwrangler versions secret put
,wrangler versions secret bulk
andwrangler versions secret list
wrangler versions secret put
allows for you to add/update a secret even if the latest version is not fully deployed. A new version with this secret will be created, the existing secrets and config are copied from the latest version.wrangler versions secret bulk
allows you to bulk add/update multiple secrets at once, this behaves the same assecret put
and will only make one new version.wrangler versions secret list
lists the secrets available to the currently deployed versions.wrangler versions secret list --latest-version
orwrangler secret list
will list for the latest version.Additionally, we will now prompt for extra confirmation if attempting to rollback to a version with different secrets than the currently deployed.
Patch Changes
#6118
1621992
Thanks @WalshyDev! - fix: rollback in the case of a secret change, the prompt meant to show was not showing due to the spinner in an interactive env. It will now properly show.chore: improve the view of
wrangler versions view
and change up copy a little forversions secret
commands.#6105
26855f3
Thanks @helloimalastair! - feat: Add help messages to all invalidr2
commands#3735
9c7df38
Thanks @lrapoport-cf! - chore: Cleanupwrangler --help
outputThis commit cleans up and standardizes the look and feel of all
wrangler
commands as displayed bywrangler --help
andwrangler <cmd> --help
.#6080
e2972cf
Thanks @threepointone! - chore: run eslint (with react config) on workers-playground/wranglerThis enables eslint (with our react config) for the workers-playground project. Additionally, this enables the react-jsx condition in relevant tsconfig/eslint config, letting us write jsx without having React in scope.
#6001
d39d595
Thanks @penalosa! - chore: changes to howwrangler dev
launches your worker, behind the experimental--x-dev-env
flag#5214
05c5607
Thanks @penalosa! - feat: Experimental file based service discovery when running multiple Wrangler instances locally. To try it out, make sure all your local Wrangler instances are running with the--x-registry
flag.Updated dependencies [
7d02856
,d4e1e9f
]:v3.61.0
Compare Source
Minor Changes
#5995
374bc44
Thanks @petebacondarwin! - feat: allow Durable Object migrations to be overridable in environmentsBy making the
migrations
key inheritable, users can provide different migrationsfor each wrangler.toml environment.
Resolves #729
Patch Changes
#6039
dc597a3
Thanks @petebacondarwin! - fix: hybrid nodejs compat now supports requiring the default export of a CJS moduleFixes #6028
#6051
15aff8f
Thanks @threepointone! - fix: Don't check expiry dates on custom certsFixes https://github.com/cloudflare/workers-sdk/issues/5964
For
wrangler dev
, we don't have to check whether certificates have expired when they're provided by the user.#6052
b4c0233
Thanks @threepointone! - chore: Add.wrangler
and.DS_Store
to.gitignore
generated bywrangler init
This commit adds a small QOL improvement to
init
(to be deprecated in the future), for those who still use this wrangler command.#6050
a0c3327
Thanks @threepointone! - chore: Normalize more depsThis is the last of the patches that normalize dependencies across the codebase. In this batch:
ws
,vitest
,zod
,rimraf
,@types/rimraf
,ava
,source-map
,glob
,cookie
,@types/cookie
,@microsoft/api-extractor
,@types/mime
,@types/yargs
,devtools-protocol
,@vitest/ui
,execa
,strip-ansi
This patch also sorts dependencies in every
package.json
#6029
f5ad1d3
Thanks @threepointone! - chore: Normalize some dependencies in workers-sdkThis is the first of a few expected patches that normalize dependency versions, This normalizes
undici
,concurrently
,@types/node
,react
,react-dom
,@types/react
,@types/react-dom
,eslint
,typescript
. There are no functional code changes (but there are a couple of typecheck fixes).#6046
c643a81
Thanks @threepointone! - chore: Normalize more dependencies.Follow up to https://github.com/cloudflare/workers-sdk/pull/6029, this normalizes some more dependencies :
get-port
,chalk
,yargs
,toucan-js
,@typescript-eslint/parser
,@typescript-eslint/eslint-plugin
,esbuild-register
,hono
,glob-to-regexp
,@cloudflare/workers-types
#6058
31cd51f
Thanks @threepointone! - chore: Quieter buildsThis patch cleans up warnings we were seeing when doing a full build. Specifically:
@microsoft/api-extractor
so it didn't complain that it didn't match thetypescript
version (that we'd recently upgraded)wrangler
. We'll need to fix those, but we'll do that when we work on unstable_dev etc.#6043
db66101
Thanks @threepointone! - fix: avoid esbuild warning when running dev/bundleI've been experimenting with esbuild 0.21.4 with wrangler. It's mostly been fine. But I get this warning every time
This is because [email protected] enabled a warning by default whenever an undefined import is accessed on an imports object. However we abuse imports to inject stuff in
middleware.test.ts
. A simple fix is to only inject that code in tests.#6062
267761b
Thanks @WalshyDev! - fix: typo inwrangler d1 execute
saying "Databas" instead of "Database"#6064
84e6aeb
Thanks @helloimalastair! - fix: Wrangler is now able to upload files to local R2 buckets above the 300 MiB limitUpdated dependencies [
a0c3327
,f5ad1d3
,31cd51f
]:v3.60.3
Compare Source
Patch Changes
#6025
122ef06
Thanks @IgorMinar! - fix: avoid path collisions between performance and Performance Node.js polyfillsIt turns out that ESBuild paths are case insensitive, which can result in path collisions between polyfills for
globalThis.performance
andglobalThis.Performance
, etc.This change ensures that we encode all global names to lowercase and decode them appropriately.
#6009
169a9fa
Thanks @RamIdeas! - fix: reduce the number of parallel file reads on Windows to avoid EMFILE type errorsFixes #1586
53acdbc
Thanks @petebacondarwin! - fix: warn if user tries normal deploy when in the middle of a gradual version rolloutUpdated dependencies [
c4146fc
]:v3.60.2
Compare Source
Patch Changes
#5307
e6a3d24
Thanks @achanda! - fix: add more timePeriods towrangler d1 insights
This PR updates
wrangler d1 insights
to accept arbitrary timePeriod values up to 31 days.v3.60.1
Compare Source
Patch Changes
f1f1834
Thanks @GregBrimble! - Revert a change in 3.60.0 which incorrectly batched assets for Pages uploads (https://github.com/cloudflare/workers-sdk/pull/5632).v3.60.0
Compare Source
Minor Changes
#5878
1e68fe5
Thanks @IgorMinar! - feat: add experimental support for hybrid Node.js compatibilityThis feature is experimental and not yet available for general consumption.
Use a combination of workerd Node.js builtins (behind the
experimental:nodejs_compat_v2
flag) andUnenv polyfills (configured to only add those missing from the runtime) to provide a new more effective
Node.js compatibility approach.
#5988
e144f63
Thanks @RamIdeas! - feature: rename thewrangler secret:bulk
command towrangler secret bulk
The old command is now deprecated (but still functional) and will be removed in a future release. The new command is now more consistent with the rest of the wrangler CLI commands.
#5989
35b1a2f
Thanks @RamIdeas! - feature: renamewrangler kv:...
commands towrangler kv ...
The old commands are now deprecated (but still functional) and will be removed in a future release. The new commands are now more consistent with the rest of the wrangler CLI commands.
#5861
1cc52f1
Thanks @zebp! - feat: allow for Pages projects to upload sourcemapsPages projects can now upload sourcemaps for server bundles to enable remapped stacktraces in realtime logs when deployed with
upload_source_map
set totrue
inwrangler.toml
.Patch Changes
#5939
21573f4
Thanks @penalosa! - refactor: Adds the experimental flag--x-dev-env
which opts in to using an experimental code path forwrangler dev
andwrangler dev --remote
. There should be no observable behaviour changes when this flag is enabled.#5934
bac79fb
Thanks @dbenCF! - fix: Update create KV namespace binding details message for easier implementation#5927
6f83641
Thanks @CarmenPopoviciu! - fix: Cleanpages dev
terminal ouputThis work includes a series of improvements to the
pages dev
terminal output, in an attempt to make this output more structured, organised, cleaner, easier to follow, and therefore more helpful for our users <3#5960
e648825
Thanks @petebacondarwin! - fix: avoid injecting esbuild watch stubs into production Worker codeWhen we added the ability to include additional modules in the deployed bundle of a Worker,
we inadvertently also included some boiler plate code that is only needed at development time.
This fix ensures that this code is only injected if we are running esbuild in watch mode
(e.g.
wrangler dev
) and not when building for deployment.It is interesting to note that this boilerplate only gets included in the production code
if there is an import of CommonJS code in the Worker, which esbuild needs to convert to an
ESM import.
Fixes #4269
Updated dependencies [
ab95473
]:v3.59.0
Compare Source
Minor Changes
#5963
bf803d7
Thanks @Skye-31! - Feature: Add support for hiding the"unsafe" fields are experimental
warning using an environment variableBy setting
WRANGLER_DISABLE_EXPERIMENTAL_WARNING
to any truthy value, these warnings will be hidden.Patch Changes
bdbb7f8
]:v3.58.0
Compare Source
Minor Changes
93b98cb
Thanks @WalshyDev! - feature: allow for writing authentication details per API environment. This allows someone targetting staging to have their staging auth details saved separately from production, this saves them logging in and out when switching environments.Patch Changes
#5938
9e4d8bc
Thanks @threepointone! - fix: let "assets" in wrangler.toml be a stringThe experimental "assets" field can be either a string or an object. However the type definition marks it only as an object. This is a problem because we use this to generate the json schema, which gets picked up by vscode's even better toml extension, and shows it to be an error when used with a string (even though it works fine). The fix is to simply change the type definition to add a string variant.
#5758
8e5e589
Thanks @Jackenmen! - fix: use correct type for AI binding instead of unknownUpdated dependencies [
e0e7725
]:v3.57.2
Compare Source
Patch Changes
#5905
53f22a0
Thanks @penalosa! - fix: Remove WARP certificate injection. Instead, you should ensure that any custom certificates that are needed are included inNODE_EXTRA_CA_CERTS
.#5930
57daae0
Thanks @WalshyDev! - chore: improve error message when updating secret for a non-deployed latest version.#5703
a905f31
Thanks @penalosa! - fix: Don't useExportedHandler["middleware"]
for injecting middlewareUpdated dependencies [
64ccdd6
,4458a9e
]:v3.57.1
Compare Source
Patch Changes
#5859
f2ceb3a
Thanks @w-kuhn! - fix: queue consumer max_batch_timeout should accept a 0 value#5862
441a05f
Thanks @CarmenPopoviciu! - fix:wrangler pages deploy
should fail if deployment was unsuccessfulIf a Pages project fails to deploy,
wrangler pages deploy
will logan error message, but exit successfully. It should instead throw a
FatalError
.#5812
d5e00e4
Thanks @thomasgauvin! - fix: remove Hyperdrive warning for local development.Hyperdrive bindings are now supported when developing locally with Hyperdrive. We should update our logs to reflect this.
#5626
a12b031
Thanks @RamIdeas! - chore: ignore workerd output (error: CODE_MOVED) not intended for end-user devsv3.57.0
Compare Source
Minor Changes
#5696
7e97ba8
Thanks @geelen! - feature: Improvedd1 execute --file --remote
performance & added support for much larger SQL files within a single transaction.#5819
63f7acb
Thanks @CarmenPopoviciu! - fix: Show feedback on Pages project deployment failureToday, if uploading a Pages Function, or deploying a Pages project fails for whatever reason, there’s no feedback shown to the user. Worse yet, the shown message is misleading, saying the deployment was successful, when in fact it was not:
This commit ensures that we provide users with:
#5814
2869e03
Thanks @CarmenPopoviciu! - fix: Display correct global flags inwrangler pages --help
Running
wrangler pages --help
will list, amongst others, the following global flags:This is not accurate, since flags such as
--config
,--experimental-json-config
, orenv
are not supported by Pages.This commit ensures we display the correct global flags that apply to Pages.
#5818
df2daf2
Thanks @WalshyDev! - chore: Deprecate usage of the deployment object on the unsafe metadata binding in favor of the new version_metadata binding.If you're currently using the old binding, please move over to the new version_metadata binding by adding:
and updating your usage accordingly. You can find the docs for the new binding here: https://developers.cloudflare.com/workers/runtime-apis/bindings/version-metadata
Patch Changes
#5838
609debd
Thanks @petebacondarwin! - fix: update undici to the latest version to avoid a potential vulnerability#5832
86a6e09
Thanks @petebacondarwin! - fix: do not allow non-string values in bulk secret uploadsPrior to Wrangler 3.4.0 we displayed an error if the user tried to upload a
JSON file that contained non-string secrets, since these are not supported
by the Cloudflare backend.
This change reintroduces that check to give the user a helpful error message
rather than a cryptic
workers.api.error.invalid_script_config
error code.v3.56.0
Compare Source
Minor Changes
151bc3d
Thanks @penalosa! - feat: Supportmtls_certificates
andbrowser
bindings when usingwrangler.toml
with a Pages projectPatch Changes
#5813
9627cef
Thanks @GregBrimble! - fix: Upload Pages project assets with more graceUpdated dependencies [
0725f6f
,89b6d7f
]:v3.55.0
Compare Source
Minor Changes
#5570
66bdad0
Thanks @sesteves! - feature: support delayed delivery in the miniflare's queue simulator.This change updates the miniflare's queue broker to support delayed delivery of messages, both when sending the message from a producer and when retrying the message from a consumer.
Patch Changes
#5740
97741db
Thanks @WalshyDev! - chore: log "Version ID" inwrangler deploy
,wrangler deployments list
,wrangler deployments view
andwrangler rollback
to support migration from the deprecated "Deployment ID". Users should update any parsing to use "Version ID" before "Deployment ID" is removed.#5754
f673c66
Thanks @RamIdeas! - fix: when using custom builds, thewrangler dev
proxy server was sometimes left in a paused stateThis could be observed as the browser loading indefinitely, after saving a source file (unchanged) when using custom builds. This is now fixed by ensuring the proxy server is unpaused after a short timeout period.
Updated dependencies [
66bdad0
,9b4af8a
]:v3.53.1
Compare Source
Patch Changes
#5091
6365c90
Thanks @Cherry! - fix: better handle dashes and other invalid JS identifier characters inwrangler types
generation for vars, bindings, etc.Previously, with the following in your
wrangler.toml
, an invalid types file would be generated:Now, the generated types file will be valid:
#5748
27966a4
Thanks @penalosa! - fix: Load sourcemaps relative to the entry directory, not cwd.#5746
1dd9f7e
Thanks @petebacondarwin! - fix: suggest trying to update Wrangler if there is a newer one available after an unexpected error#5226
f63e7a5
Thanks @DaniFoldi! - fix: remove second Wrangler banner fromwrangler dispatch-namespace rename
v3.53.0
Compare Source
Minor Changes
#5604
327a456
Thanks @dario-piotrowicz! - feat: add support for environments ingetPlatformProxy
allow
getPlatformProxy
to target environments by allowing users to specify anenvironment
optionExample usage:
Patch Changes
4097759
Thanks @G4brym! - Addstaging
flag to AI bindingConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.