Releases: cloudflare/workers-sdk
[email protected]
Patch Changes
- #5954
3b99e63
Thanks @dario-piotrowicz! - fix: make sure that C3 doesn't delete pre-existing options in thedefineConfig
call
@cloudflare/[email protected]
Patch Changes
- Updated dependencies [
f1f1834
]:
[email protected]
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) and
Unenv 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
]:
[email protected]
Patch Changes
-
#5961
ab95473
Thanks @CarmenPopoviciu! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
Dependency From To workerd 1.20240524.0 1.20240605.0 @cloudflare/workers-types ^4.20240524.0 ^4.20240605.0
[email protected]
Patch Changes
-
#5894
314f7c4
Thanks @dependabot! - chore: update dependencies of "create-cloudflare" packageThe following dependency versions have been updated:
Dependency From To create-qwik 1.5.4 1.5.5 -
#5981
2a05ede
Thanks @dependabot! - chore: update dependencies of "create-cloudflare" packageThe following dependency versions have been updated:
Dependency From To create-solid 0.5.5 0.5.11 -
#5982
0c03316
Thanks @dependabot! - chore: update dependencies of "create-cloudflare" packageThe following dependency versions have been updated:
Dependency From To create-svelte 6.1.2 6.3.0 -
#5250
cfde058
Thanks @elithrar! - fix: updated the name of the Durable Object template in C3.Makes it clearer what a "Durable Object" is. A user using c3 or Cloudflare for the first time will have no idea.
Also moved it down the list so that "web application" (a far more common use-case) is higher.
@cloudflare/[email protected]
@cloudflare/[email protected]
Patch Changes
- Updated dependencies [
ab95473
]:
[email protected]
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
- Updated dependencies [
bdbb7f8
]:
[email protected]
Patch Changes
-
#5922
bdbb7f8
Thanks @dario-piotrowicz! - fix: Allow the magic proxy to handle functions returning functionsPreviously functions returning functions would not be handled by the magic proxy,
the changes here enable the above, allowing for code such as the following:const mf = new Miniflare(/* ... */); const { functionsFactory } = await mf.getBindings<Env>(); const fn = functionsFactory.getFunction(); const functionResult = fn();
This also works with the native workers RPC mechanism, allowing users to
return functions in their RPC code.
[email protected]
Minor Changes
- #5958
93f7255
Thanks @petebacondarwin! - feat: add Andy to the list of internal contributors