chore(deps): update dependency wrangler to v3.61.0 #92
+2,035
−2,735
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.59.0
->3.61.0
Release Notes
cloudflare/workers-sdk (wrangler)
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
]:Configuration
📅 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.