- Close stream on errors
- Avoid sending empty tables in changesets
- Add optional incoming changeset modification callback
- Catch merge exceptions, e.g. clock drift
- Fix usage of reserved status code
- Handle abnormal socket closures
- Do not throw exception on socket upgrade errors
- Added optional
onUpgradeError
to monitor upgrade failures
- Fix initial sync after handshake
- Update to latest
crdt
version
- Add optional
changesetBuilder
to allow for custom changeset generation
This version replaces the sql_crdt
dependency with crdt
thereby making it compatible with all its implementations.
Changes:
- Removed changeset generation methods since they're now implemented in
crdt
. - Removed optional
changesetQueries
since it's now implemented insql_crdt
. - Removed all SQL-related dependencies.
- Optional async
validateRecord
andhandshake
builders
- Fix error building full changesets
- Make
peerId
optional when building changesets
- Simplify API
- Major refactor
- Add remote nodeId to connection callbacks
- Improve changeset generation strategy
- Implement exponential backoff when reconnecting to server
- Fix error when reconnecting the client
- Fix last modified timestamps using the remote node id
- Add optional WebSocket heartbeat (on by default)
- Improve logic for handling connected clients
- Remove rxdart dependency
- Initial version