Changes this week:
- The new nodeJsCompatModule type can be used with a Worker bundle to emulate a Node.js environment. Common Node.js globals such as
process
andBuffer
will be present, and require(‘…’) can be used to load Node.js built-ins without thenode:
specifier prefix. - Fixed an issue where websocket connections would be disconnected when updating workers. Now, only websockets connected to Durable Object instances are disconnected by updates to that Durable Object’s code.