Minor Changes
-
#4348
be2b9cf5
Thanks @mrbbot! - feat: add support for wrapped bindingsThis change adds a new
wrappedBindings
worker option for configuring
workerd
's wrapped bindings.
These allow custom bindings to be written as JavaScript functions accepting an
env
parameter of "inner bindings" and returning the value to bind. For more
details, refer to the API docs. -
#4341
d9908743
Thanks @RamIdeas! - Added ahandleRuntimeStdio
which enables wrangler (or any other direct use of Miniflare) to handle thestdout
andstderr
streams from the workerd child process. By default, if this option is not provided, the previous behaviour is retained which splits the streams into lines and callsconsole.log
/console.error
.