Releases: balazskreith/hamok-ts
2.6.0
2.6.0
- Update
HamokEmitter
to have metaData property bind to subscriber peers per events.- Add Subscriptions to
HamokEmitter
to track the subscribers of an event. - Add
HamokEmitterStats
to track the number of events emitted and received by the emitter.
- Add Subscriptions to
- Simplifying discovery and joining methods in
Hamok
.
2.5.1
What's Changed
-
2.5.1 by @balazskreith in #14
-
Fixed a bug where the leader would not send a
StorageState
notification to a follower when the follower was behind the leader. -
Fixed bug of remaining remote peer not part of the grid due to follower ENDPOINT_STATE_NOTIFICATION contained a wrong endpoint.
-
Changing follower behavior when falling out of the grid. Instead of trying to collect endpoints, it periodically sends JOIN_NOTIFICATION until a leader is not elected for the endpoint
-
Fix emitter bug not responding to
DeleteEntriesRequest
-
add example
redis-remote-requestmap-example
-
add
HamokLogTransport
to pipe logs -
make callbacks on
set
andsetAll
for BaseRemoteMap to be mandatory -
expose
instance
for records -
remove simplification of vote responding in follower state (#15)
-
trigger action if patch
2.5.0
2.5.0
- Added
STORAGE_HELLO_NOTIFICATION
message type to the message protocol. - Added
STORAGE_STATE_NOTIFICATION
message type to the message protocol. - Removed
import
method fromHamok
in favor of the unifiedjoin
method. - Removed
export
method fromHamok
in favor of the unifiedjoin
method. - Removed
start
method fromHamok
in favor of the unifiedjoin
method. - Removed
stop
method fromHamok
in favor of theleave
method. - Added
close
method toHamok
to close all resources. - Added an
ready
promise to all storage components, allowing for awaiting until the storage is ready and initialized. - Updated
HamokConnection
to join before sending any message exceptStorageHello
andStorageState
. - Removed the restriction of log gap errors between connected peers. The follower now picks up whatever it can, with the storage responsible for providing up-to-date snapshots to a remote peer through
StorageState
notifications. - Fixed a bug where a follower would vote for a candidate even if it had a leader.
- Added auto-rejoin functionality for
Hamok
when the connection is lost, provided it was in the joined state. - Fixed a bug where detached remote peers were not detected if the peer was a follower and lost all connections. (Added
_checkRemotePeers
method for this). - Added
ready
promise toHamok
to await until theHamok
is ready and initialized.
2.3.3
What's Changed
- Update index.md by @balazskreith in #10
- 2.3.3 by @balazskreith in #9
Full Changelog: 2.3.2...2.3.3
2.3.2
2.3.1
2.3.0
2.2.0
init