workers-sdk
workers-sdk copied to clipboard
⛅️ Home to Wrangler, the CLI for Cloudflare Workers®
Fixes https://jira.cfdata.org/browse/DEVX-2342 ```bash wrangler dev --types ``` ```json { "$schema": "node_modules/wrangler/config-schema.json", "name": "example", "main": "src/index.ts", "compatibility_date": "2025-12-12", "dev": { "generate_types": true } } ``` --- - Tests - [x] Tests...
### Describe the solution I'm developing an app locally on Windows. I decided to use containers for one of my workers and was disappointed to find this error: > X...
### What versions & operating system are you using? ### System: - OS: Windows 10 10.0.19045 - CPU: (8) x64 Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz - Memory: 1.04 GB...
Fixes WOR-1057. This adds a new command to wrangler `wrangler workflows instances send-event ` with options `--type` and `--payload` to allow users to just call this command to send an...
### What versions & operating system are you using? System: OS: Linux 6.8 Ubuntu 24.04.3 LTS 24.04.3 LTS (Noble Numbat) CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz Memory:...
Wrangler uses some external types that aren't dependencies, because the code itself is bundled. This meant that the types are unavailable in production. This was a massive pain to try...
Effectively reverting: https://github.com/cloudflare/workers-sdk/pull/11591
### Describe the solution ### Problem Logs aren't colored (which makes them quite ugly, imagine Vite's startup log being all monocolor). ### Root cause Coloring libraries (`chalk`, `picocolors`, ...) try...
Fixes https://jira.cfdata.org/browse/DEVX-2384 Add a new `getLatestWorkerdCompatibilityDate` function to the workers-utils package and use that package in wrangler, create-cloudflare and the vite plugin instead of having the two different implementations (`getDevCompatibilityDate`...
Fixes #10020 _Describe your change..._ Wrangler types command now adds a `BaseEnv` interface which is then extended by `Cloudflare.Env` and the `--env-interface`. Example output: ```d.ts /* eslint-disable */ // Generated...