8000 js: denextify by alexjg · Pull Request #1027 · automerge/automerge · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

js: denextify #1027

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.

8000

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 9, 2025
Merged

js: denextify #1027

merged 1 commit into from
May 9, 2025

Conversation

alexjg
Copy link
Collaborator
@alexjg alexjg commented May 8, 2025

For a long time we have had two APIs for the JavaScript @automerge/automerge package. The "stable" API and the "next" API. The "next" API had some significant differences from the stable API but we didn't want to make a breaking change in the API until we were confident of these differences. The most significant difference being the use of string to represent text rather than a the Text class in the "stable" API. We're now very sure of the "next" API and the complexity of maintaining two APIs is no longer worth it, we're going to do a major version bump to release the new compressed memory OpSet, so removing the old "stable" API seems like a good thing to do at the same time.

@alexjg alexjg force-pushed the denextify branch 3 times, most recently from 11d399c to 433d80d Compare May 9, 2025 10:39
For a long time we have had two APIs for the JavaScript
@automerge/automerge package. The "stable" API and the "next" API. The
"next" API had some significant differences from the stable API but we
didn't want to make a breaking change in the API until we were confident
of these differences. The most significant difference being the use of
`string` to represent text rather than a the `Text` class in the
"stable" API. We're now very sure of the "next" API and the complexity
of maintaining two APIs is no longer worth it, we're going to do a major
version bump to release the new compressed memory OpSet, so removing the
old "stable" API seems like a good thing to do at the same time.
@alexjg alexjg marked this pull request as ready for review May 9, 2025 11:08
@alexjg alexjg merged commit 582dea1 into main May 9, 2025
10 checks passed
@alexjg alexjg deleted the denextify branch May 9, 2025 11:08
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
0