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

chore(deps): bump yrs from 0.17.4 to 0.19.1 #180

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 8, 2024

Bumps yrs from 0.17.4 to 0.19.1.

Release notes

Sourced from yrs's releases.

v 0.18

Yrs

  • New Observer API (#385): all subscription types now are described as a single yrs::Subscription type. observe methods no longer require mut ref to shared collection or document.
  • Hook and BranchID logical pointers (#393): collection refs such as ArrayRef, TextRef, MapRef now expose root and hook methods, that can be used to get a logical reference to a given type. This reference can later on be used to try to obtain an actual ref (it could also possibly return None if reference was already garbage collected).
  • Removed Doc::get_or_insert_xml_element and Doc::get_or_insert_xml_text - these types are not meant to be used as root level types and doing so may cause data loss due to limitations on how root-level types are represented in lib0 encoding.
  • Replaced rand crate with fastrand(#394): smaller binary size and better support for Web Assembly.
  • Moved Awareness and y-sync protocol into yrs::sync module (#395).
  • Changes in the internal representation of Doc updates (#365) - this should result in better performance and less memory used.

Ywasm

  • Rewritten the library. Shared types are now using logical pointer in order to avoid possible segfaults in WASM VM.
  • Removed Doc.getXmlText and Doc.getXmlElement- these types are not meant to be used as root level types and doing so may cause data loss due to limitations on how root-level types are represented in lib0 encoding. Use Doc.getXmlFragment instead and insert XML nodes into it.
  • YXmlText and YXmlElements can now be used as prelim types.
  • Removed xmlElement.insertXmlText/xmlElement.insertXmlElement: now there's a single xmlElement.insert method that can accept prelim versions of YXmlText and YXmlElement.
  • Logical pointers can now be accessed via ref.id property of shared collection types. They can be materialised back into refs via YTransaction.get method.

Yffi

  • Removed yxmlelem and yxmltext functions - these types are not meant to be used as root level types and doing so may cause data loss due to limitations on how root-level types are represented in lib0 encoding. Use yxmlfragment instead and insert XML nodes into it.
  • Replaced ytransaction_alive with ybranch_alive.
  • Exposed logical collection pointers via YBranchId - now Branch* can mapped back and forth to YBranchId through ybranch_id and ybranch_get functions. In case when Branch* has already been garbage collected and is no longer valid, ybranch_get will return NULL.
Commits
  • f021d59 releave-v0.19.1
  • 5ad91ad Merge pull request #468 from Horusiath/undo-manager-stack-getters
  • b3f9d92 UndoManager: undo_stack and redo_stack access methods
  • ab5a889 Merge pull request #467 from Horusiath/array-get-as
  • 33bd798 Array::get_as
  • ef7e476 Merge pull request #465 from Horusiath/get-as-and-try-modify
  • 1af69f9 fixed docs
  • cd5da30 yffi: add new error types for deserializer cases
  • 3944b16 MapRef methods: get_as and try_modify
  • b2ae23d Merge pull request #464 from Horusiath/any-serde-json
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jul 8, 2024
Bumps [yrs](https://github.com/y-crdt/y-crdt) from 0.17.4 to 0.19.1.
- [Release notes](https://github.com/y-crdt/y-crdt/releases)
- [Commits](y-crdt/y-crdt@v0.17.4...v0.19.1)

---
updated-dependencies:
- dependency-name: yrs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/yrs-0.19.1 branch from 1589064 to 63095fe Compare July 12, 2024 11:41
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 17, 2024

Superseded by #182.

@dependabot dependabot bot closed this Jul 17, 2024
@dependabot dependabot bot deleted the dependabot/cargo/yrs-0.19.1 branch July 17, 2024 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants