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
The support for Y.js was implemented natively in Dexie.js but it turned out to add a bit of too much weight into the library for users that do not require Y.js for their use cases. There is also an implicit dependency of yjs library even if we let the user pass yjs into Dexie via constructor option rather than having it as a peer-dependency.
Before releasing Y.js support into a stable dexie release, we have decided to break-out the Y.js support into a new add-on instead. This will affect how to npm install and import libraries when using dexie with yjs - install the new addon and pass it on to Dexie constructor instead of passing Y library itself into it.
We also support a new kind of Y.js trigger that enables computed properties containing the HTML version of the Y.Docs. This feature can be essential when dealing with multiple persisted Y.Docs that need to be pre-rendered in applications.
This task will be put into the current Dexie project to represent the work we have to do to complete the Y.js support in dexie, dexie-cloud-addon and the new addon (might be either "y-dexie" or "dexie-y").
The text was updated successfully, but these errors were encountered:
I think moving Y.js support into a separate addon is a good architectural decision. Regarding the name, dexie-y or dexie-y-addon sounds better as it follows the existing naming convention of dexie-cloud-addon.
The Y.js support in Dexie.js is completed in PR #2045.
Dexie Cloud Server supports Y.js updates as of version 2.0 (in production since november 2024)
Pre-releases of client libraries have been released:
The support for Y.js was implemented natively in Dexie.js but it turned out to add a bit of too much weight into the library for users that do not require Y.js for their use cases. There is also an implicit dependency of yjs library even if we let the user pass yjs into Dexie via constructor option rather than having it as a peer-dependency.
Before releasing Y.js support into a stable dexie release, we have decided to break-out the Y.js support into a new add-on instead. This will affect how to npm install and import libraries when using dexie with yjs - install the new addon and pass it on to Dexie constructor instead of passing Y library itself into it.
We also support a new kind of Y.js trigger that enables computed properties containing the HTML version of the Y.Docs. This feature can be essential when dealing with multiple persisted Y.Docs that need to be pre-rendered in applications.
This task will be put into the current Dexie project to represent the work we have to do to complete the Y.js support in dexie, dexie-cloud-addon and the new addon (might be either "y-dexie" or "dexie-y").
The text was updated successfully, but these errors were encountered: