Skip to content

Commit 557a9e7

Browse files
Version Packages (#63)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 3675eb1 commit 557a9e7

3 files changed

Lines changed: 16 additions & 15 deletions

File tree

.changeset/fix-cloudflare-env-type-collision.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# y-durableobjects
22

3+
## 1.0.5
4+
5+
### Patch Changes
6+
7+
- 3675eb1: Fix Cloudflare Env type collision and improve TypeScript support
8+
9+
This patch resolves type collision issues and improves TypeScript support:
10+
11+
- **Fixed CI failures**: Removed unavailable @cloudflare/workers-types references from tsconfig.json that were causing TypeScript compilation errors
12+
- **Adopted wrangler types**: Added worker-configuration.d.ts generated by `wrangler types` (introduced in Wrangler v3) for accurate type definitions
13+
- **Resolved type collisions**: Eliminated conflicts where empty Cloudflare.Env from node_modules overwrote project-specific environment types
14+
- **Enhanced documentation**: Added comprehensive troubleshooting guide for type collision issues
15+
16+
Users benefit automatically from improved type support without needing to modify their code. The `wrangler types` command is now the recommended approach for generating Cloudflare Workers TypeScript types.
17+
318
## 1.0.4
419

520
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "y-durableobjects",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"type": "module",
55
"main": "dist/index.cjs",
66
"module": "dist/index.js",

0 commit comments

Comments
 (0)