You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observers API #449 : new observers API and Awareness (breaking changes).
Awareness support in ywasm.
Awareness update callback signature goes back to it's old shape prior v0.18: Fn(&Awareness, &AwarenessEvent) + Send + Sync + 'static.
Awareness now can be generic over type of client state: Awareness<S>. That state should be serializable in order to send it beyond process boundaries.
While the methods themselves are still compatible with v0.18, the generic function signature changes: now it requires support for Send and Sync traits for non-wasm targets in order to support calling methods across threads without undefined behaviours (including accidental memory leaks).
Delta prelim types #459 : rename Value → Out, introduce In which is univeral equivalent for values of any kind but with Prelim capabilities. Also Removed generic parameters from prelim types such as MapPrelim, ArrayPrelim, TextPrelim etc.
These are features and PRs planned to land on main branch before we release v0.19:
BranchPtr
and by extension all shared refs, implSend
andSync
.Fn(&Awareness, &AwarenessEvent) + Send + Sync + 'static
.Awareness<S>
. That state should be serializable in order to send it beyond process boundaries.Send
andSync
traits for non-wasm targets in order to support calling methods across threads without undefined behaviours (including accidental memory leaks).Text::apply_delta
method and conversion betweenDelta
/Diff
types.rlib crate type for yffi #444 : compile yrs intorlib
format.sync
to convert observable callbacks to implement Send+Sync requirements.MapRef::get_or_init
using these features.Value
→Out
, introduceIn
which is univeral equivalent for values of any kind but withPrelim
capabilities. Also Removed generic parameters from prelim types such asMapPrelim
,ArrayPrelim
,TextPrelim
etc.UndoManager
.The text was updated successfully, but these errors were encountered: