Skip to content

chore: version packages - #1181

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

loro-crdt@1.17.0

Minor Changes

  • 4f60d92: Return decode errors when fallible history operations first read an unreadable change block, preserving document state instead of panicking during lazy DAG loading.

    Keep attached imports atomic even after all DAG headers have been loaded: unparsed change-block bodies still require rollback protection. Share the existing version snapshot between rollback journals to avoid two extra copies of the version vector. Legacy infallible range readers continue skipping only the damaged block while recording the failure.

    state_vv / version, JSON update export, cursor lookup, apply_diff rollback, shallow imports, and fork_at return DecodeError instead of panicking or wrapping the failure as Unknown. state_vv and export_json_updates now return LoroResult. try_state_vv, try_export_json_updates, and try_get_cursor_pos report the same failure. CannotFindRelativePosition is #[non_exhaustive] and gains HistoryUnreadable. LoroEncodeError gains DecodeError.

    Rust compatibility: ChangeTravelError gains HistoryUnreadable(LoroError) and is now #[non_exhaustive]; downstream exhaustive matches must add a wildcard arm. FrontiersNotIncluded changes from a unit struct to a struct with a private field plus a same-named constant. Construction via that constant still compiles, but an exhaustive match of Err(FrontiersNotIncluded) does not (E0004): the history_error: Some(_) pattern cannot be written from another crate (E0451) because the field is private. Downstream must use Err(_). An unreadable-history error is not equal to the FrontiersNotIncluded constant.

Patch Changes

  • a02843a: Fix quadratic local tree moves when interleaved with queries or failed edits on deleted containers by releasing the revivable deletion cache's table on invalidation.

  • a02843a: Preserve the full text style configuration, including the default for previously unused style keys, when calling fork() or forkAt().

  • ca372b4: Reduce known-history comparison costs for snapshot-loaded documents while preserving peer-id reuse detection. Snapshot updates allocate only new history in the document arena and avoid cloning discarded changes.

    Avoid unnecessary rollback scopes for detached Text imports while retaining validation of pending movable-list operations.

    Keep import rollback decisions consistent across concurrent attach/detach, and fall back to ordinary history parsing when a cold-block comparison is ineligible.

loro-crdt-map@1.17.0

Minor Changes

  • 4f60d92: Return decode errors when fallible history operations first read an unreadable change block, preserving document state instead of panicking during lazy DAG loading.

    Keep attached imports atomic even after all DAG headers have been loaded: unparsed change-block bodies still require rollback protection. Share the existing version snapshot between rollback journals to avoid two extra copies of the version vector. Legacy infallible range readers continue skipping only the damaged block while recording the failure.

    state_vv / version, JSON update export, cursor lookup, apply_diff rollback, shallow imports, and fork_at return DecodeError instead of panicking or wrapping the failure as Unknown. state_vv and export_json_updates now return LoroResult. try_state_vv, try_export_json_updates, and try_get_cursor_pos report the same failure. CannotFindRelativePosition is #[non_exhaustive] and gains HistoryUnreadable. LoroEncodeError gains DecodeError.

    Rust compatibility: ChangeTravelError gains HistoryUnreadable(LoroError) and is now #[non_exhaustive]; downstream exhaustive matches must add a wildcard arm. FrontiersNotIncluded changes from a unit struct to a struct with a private field plus a same-named constant. Construction via that constant still compiles, but an exhaustive match of Err(FrontiersNotIncluded) does not (E0004): the history_error: Some(_) pattern cannot be written from another crate (E0451) because the field is private. Downstream must use Err(_). An unreadable-history error is not equal to the FrontiersNotIncluded constant.

Patch Changes

  • a02843a: Fix quadratic local tree moves when interleaved with queries or failed edits on deleted containers by releasing the revivable deletion cache's table on invalidation.

  • a02843a: Preserve the full text style configuration, including the default for previously unused style keys, when calling fork() or forkAt().

  • ca372b4: Reduce known-history comparison costs for snapshot-loaded documents while preserving peer-id reuse detection. Snapshot updates allocate only new history in the document arena and avoid cloning discarded changes.

    Avoid unnecessary rollback scopes for detached Text imports while retaining validation of pending movable-list operations.

    Keep import rollback decisions consistent across concurrent attach/detach, and fall back to ordinary history parsing when a cold-block comparison is ineligible.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 3862ccf to 46b7e75 Compare October 9, 2026 07:14
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 46b7e75 to 67fc57a Compare October 9, 2026 14:45

This branch has not been deployed

No deployments
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.

0 participants