This project adheres to Semantic Versioning.
- Fix
log()
forlogux/unsubscribe
actions.
- Update log’s node ID on
Client#changeUser()
call.
- Remove support of old servers.
- Fix node ID generation in
Client#changeUser()
.
- Use Logux Core 0.5 and WebSocket Protocol 3.
- Rename
credentials
option totoken
. - User ID must be always a string without
:
. - Token must be a string.
- Add
Client#changeUser()
method. - Add support for dynamic tokens.
- Add ES modules support.
- Add TypeScript definitions.
- Move API docs from JSDoc to TypeDoc.
- Mark package as side effect free.
- Do not synchronize event cleaning between tabs.
- Ask to update page receiving bigger
subprocol
from another tab. - Disable cross-tab communication on
localStorage
error. - Fix falling on empty
userId
(by @Abdubek).
- Fix React Native and React Server-Side Rendering support (by Can Rau).
- Fix compatibility with Logux Server 0.4.
- Rename
Client#id
toClient#tabId
. - Trim re-send meta keys (
users
,channels
) during synchronization.
- Add
Client#on
method to unify API withCrossTabClient
. - Add
preadd
event as alias toclient.log.on('preadd', cb)
. - Improve docs (by Paul Chavard).
- Fix multiple resubscriptions.
- Fix log message for
logux/processed
orlogux/undo
.
- Keep
sync: true
actions in the log untillogux/processed
orlogux/undo
. - Add resubscribe action only after origin action was processed.
- Update dependencies.
- Rename project from
logux-client
to@logux/client
. - Merge with
logux-status
. - Use
MemoryStore
by default. - Use Logux Core 0.3.
- Wait for
logux/processed
before switching tosynchronized
state. - Add
Client#clientId
. - Add
action.since
tologux/subscribe
action. - Add
ignoreActions
tolog()
. - Combine add/clean messages in
log()
. - Remove Promise fix for old Firefox.
- Track subscription counts.
- Clean up code (by Dimitri Nicolas).
- Fix cross-tab
add
event withMemoryStore
.
- Fix
MemoryStore
support in cross-tab client.
- Fix subscription after offline.
- Allow to work with missed
extra.lastSynced
.
- Fix
logux/unsubscribe
detection. - Subscribe again only in
connected
state. - Allow to have
:
in user ID. - Allow to use client without
window
.
- Fix follower tab’s actions synchronization.
- Fix
Promise
implementation inIndexedStore
.
- Fix
IndexedStore
in Firefox.
- Fix subscription to same channel twice.
- Sort correctly actions with same
time
. - Fix race condition between uniqueness check and add.
- Use Logux Protocol 2.
- Use Logux Core 0.2 and Logux Sync 0.2.
- Send actions with
meta.sync
only. - Add
logux/subscribe
andlogux/unsubscribe
support. - Replace
localStorage
toIndexedDB
in the store (by Alexey Gaziev). - Add mandatory
userId
option. - Use Nano ID for node ID.
- Add cross-tab communication with leader tab election.
- Add
meta.tab
support. - Add
debug
message support (by Roman Fursov). - Add production non-secure protocol warning (by Hanna Stoliar).
- Add
Add Client#clean
method. - Set
meta.subprotocol
. - Move store tests to separated project (by Konstantin Mamaev).
- Fix docs (by Grigoriy Beziuk and Vladimir Dementyev).
- Clean up code (by Evgeny Rodionov).
- Initial release.