概要
公開日: 2026-07-03
翻訳生成に失敗したため、原文をそのまま保存しています。
原文
Changelog New updates and improvements at Cloudflare. Subscribe to RSS View RSS feeds ← Back to all posts Simpler runtime types with @cloudflare/workers-types v5 Jul 03, 2026 Workers We have released version 5 of @cloudflare/workers-types ↗ . This release simplifies the package to expose only the latest runtime types. We still recommend that you generate types for your Worker using wrangler types , but if you want to use the package directly, you can install it with your package manager of choice: npm yarn pnpm bun npm i -D @cloudflare/workers-types@latest yarn add -D @cloudflare/workers-types@latest pnpm add -D @cloudflare/workers-types@latest bun add -d @cloudflare/workers-types@latest The package now exposes two entrypoints: @cloudflare/workers-types reflects the latest compatibility date, using the latest stable compatibility flags. @cloudflare/workers-types/experimental reflects APIs behind experimental compatibility flags. The dated entrypoints, such as @cloudflare/workers-types/2022-11-30 and @cloudflare/workers-types/2023-03-01 , are removed. With runtime type generation in Wrangler v4 , you can generate these with the wrangler types command to create types locked to your Worker's compatibility date. For more information, refer to TypeScript language support . Resources API New to Cloudflare? Directory Sponsorships Open Source Cloudflare Research Support Help Center System Status Compliance GDPR Company cloudflare.com Our team Careers Tools Cloudflare Radar Cloudflare Labs Speed Test Is BGP Safe Yet? Certificate Transparency Community Community forum X Discord YouTube GitHub © 2026 Cloudflare, Inc. Privacy Policy Terms of Use Report Security Issues Trademark Cookie Settings Was this helpful? Yes No