yrb
yrb copied to clipboard
chore(deps): bump yrs from 0.17.4 to 0.18.8
Bumps yrs from 0.17.4 to 0.18.8.
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 requiremut ref
to shared collection or document.Hook
andBranchID
logical pointers (#393): collection refs such asArrayRef
,TextRef
,MapRef
now exposeroot
andhook
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 returnNone
if reference was already garbage collected).- Removed
Doc::get_or_insert_xml_element
andDoc::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 withfastrand
(#394): smaller binary size and better support for Web Assembly.- Moved
Awareness
and y-sync protocol intoyrs::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
andDoc.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. UseDoc.getXmlFragment
instead and insert XML nodes into it.YXmlText
andYXmlElements
can now be used as prelim types.- Removed
xmlElement.insertXmlText
/xmlElement.insertXmlElement
: now there's a singlexmlElement.insert
method that can accept prelim versions ofYXmlText
andYXmlElement
.- Logical pointers can now be accessed via
ref.id
property of shared collection types. They can be materialised back into refs viaYTransaction.get
method.Yffi
- Removed
yxmlelem
andyxmltext
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. Useyxmlfragment
instead and insert XML nodes into it.- Replaced
ytransaction_alive
withybranch_alive
.- Exposed logical collection pointers via
YBranchId
- nowBranch*
can mapped back and forth toYBranchId
throughybranch_id
andybranch_get
functions. In case whenBranch*
has already been garbage collected and is no longer valid,ybranch_get
will return NULL.
Commits
f0079d0
release v0.18.87b6d657
Merge pull request #433 from Horusiath/awareness-rich-events3b19866
AwarenessState: add more method to introspect Awareness state6471d9e
Awareness on_update: provide awareness state in the event74c1f3f
Add Appflowy to list of sponsors86b6bf7
Update README.md with feature parity table2add9be
Merge pull request #429 from y-crdt/release-v0.18.7cb5da0c
release v0.18.73fe46a3
Merge pull request #428 from Horusiath/decode-block-len-0706c898
enable decoding block with length 0, but ignore them- Additional commits viewable in compare view
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)