Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AI types breaking change in BaseAiSpeechRecognition #3357

Open
DaniFoldi opened this issue Jan 18, 2025 · 0 comments
Open

AI types breaking change in BaseAiSpeechRecognition #3357

DaniFoldi opened this issue Jan 18, 2025 · 0 comments
Assignees
Labels
types Related to @cloudflare/workers-types

Comments

@DaniFoldi
Copy link
Contributor

Hi 👋,

When updating workers-types from 4.20241205.0 to 4.20250109.0 I got a few type errors about AI types.

The one that I consider to be a breaking change (and a dangerous precedent), happened 4.20241218.0 -> 4.20241224.0 (see diff here https://npmdiff.dev/%40cloudflare%2Fworkers-types/4.20241218.0/4.20241224.0/ )

Image

As a user who depended on the exported type BaseAiSpeechRecognition, this now broke our types in every worker where it was used. I suggest reintroducing it as an alias for the new BaseAiAutomaticSpeechRecognition (also the Input and Output types for this category).

@DaniFoldi DaniFoldi added the types Related to @cloudflare/workers-types label Jan 18, 2025
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Jan 18, 2025
@penalosa penalosa moved this from Untriaged to In Progress in workers-sdk Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
types Related to @cloudflare/workers-types
Projects
Status: In Progress
Development

No branches or pull requests

2 participants