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

Revamp the API surface #15

Merged
merged 1 commit into from
Jul 26, 2024
Merged

Revamp the API surface #15

merged 1 commit into from
Jul 26, 2024

Conversation

domenic
Copy link
Collaborator

@domenic domenic commented Jul 26, 2024

There are two major motivations for this change:

  • Splitting translation and language detection into separate APIs, to reflect what we've learned from prototyping.

  • Aligning better with other built-in API proposals, including future ones, by using shared patterns.

This notably removes translation from an unknown source language, closing #1. It also adds AbortSignals and destroy() methods.

This also removes the tentative proposal for language tag handling, instead pointing to discussions in #11.

There are two major motivations for this change:

* Splitting translation and language detection into separate APIs, to reflect what we've learned from prototyping.

* Aligning better with other built-in API proposals, including future ones, by using shared patterns.

This notably removes translation from an unknown source language, closing #1. It also adds AbortSignals and destroy() methods.

This also removes the tentative proposal for language tag handling, instead pointing to discussions in #11.
@domenic domenic merged commit 2cb6637 into main Jul 26, 2024
2 checks passed
@domenic domenic deleted the new-api-surface branch July 26, 2024 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant