@cloudflare/config@0.7.0
📦 cloudflare-workersView on GitHub →
✨ 2 features🐛 2 fixes🔧 9 symbols
Summary
Introduced a new `connect` trigger for raw socket connections and added support for R2 local S3 credentials. Also includes default dataset naming for local Analytics Engine and removes unsupported configuration from Workflow bindings.
Migration Steps
- Enable the `experimental` compatibility flag if you intend to use the new `connect` trigger for raw sockets.
✨ New Features
- Add `connect` trigger for raw sockets, allowing Workers to receive raw socket connections during `wrangler dev` delivered directly to the Worker's `connect(socket, env, ctx)` handler. This requires the `experimental` compatibility flag and currently only supports TCP.
- Add R2 local S3 credentials to the shared config binding shape, supporting `localDev.experimentalS3Credentials`.
🐛 Bug Fixes
- Default local Analytics Engine dataset names in Miniflare: Analytics Engine dataset bindings without an explicit `name` now fallback to the worker and binding name as a default.
- Remove unsupported `remote` configuration from Workflow bindings, as remote Workflow bindings have never been supported.