workers-sdk
workers-sdk copied to clipboard
feat(wrangler): add ratelimit type generation
What this PR solves / how to test
Adds the type RateLimit to wrangler type generation for the beta rate limiter unsafe binding.
Fixes #6529
Author has addressed the following
- Tests
- [ ] TODO (before merge)
- [x] Included
- [ ] Not necessary because:
- E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)
- [x] I don't know
- [ ] Required / Maybe required
- [ ] Not required because:
- Changeset (Changeset guidelines)
- [ ] TODO (before merge)
- [x] Included
- [ ] Not necessary because:
- Public documentation
- [ ] TODO (before merge)
- [ ] Cloudflare docs PR(s):
- [ ] Not necessary because:
🦋 Changeset detected
Latest commit: 2ca16d524bd46e53c76142efd846556299eb2570
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 2 packages
| Name | Type |
|---|---|
| wrangler | Minor |
| @cloudflare/vitest-pool-workers | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
A wrangler prerelease is available for testing. You can install this latest build in your project with:
npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10514729959/npm-package-wrangler-6550
You can reference the automatically updated head of this PR with:
npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/6550/npm-package-wrangler-6550
Or you can use npx with this latest build directly:
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10514729959/npm-package-wrangler-6550 dev path/to/script.js
Additional artifacts:
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10514729959/npm-package-create-cloudflare-6550 --no-auto-update
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10514729959/npm-package-cloudflare-kv-asset-handler-6550
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10514729959/npm-package-miniflare-6550
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10514729959/npm-package-cloudflare-pages-shared-6550
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10514729959/npm-package-cloudflare-vitest-pool-workers-6550
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10514729959/npm-package-cloudflare-workers-editor-shared-6550
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10514729959/npm-package-cloudflare-workers-shared-6550
Note that these links will no longer work once the GitHub Actions artifact expires.
[email protected] includes the following runtime dependencies:
| Package | Constraint | Resolved |
|---|---|---|
miniflare |
workspace:* | 3.20240821.0 |
workerd |
1.20240821.1 | 1.20240821.1 |
workerd --version |
1.20240821.1 | 2024-08-21 |
Please ensure constraints are pinned, and miniflare/workerd minor versions match.
Congratulations @Pedr0Rocha, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cm0nj4auq07140cl9orxixwfn
This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account. Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!