Skip to content

Releases: balazskreith/hamok-ts

2.6.0

03 Dec 07:19
1d3aa2f
Compare
Choose a tag to compare

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.
  • Simplifying discovery and joining methods in Hamok.

2.5.1

18 Sep 06:33
79e5fc5
Compare
Choose a tag to compare

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 and setAll 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

28 Aug 04:13
d571efc
Compare
Choose a tag to compare

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 from Hamok in favor of the unified join method.
  • Removed export method from Hamok in favor of the unified join method.
  • Removed start method from Hamok in favor of the unified join method.
  • Removed stop method from Hamok in favor of the leave method.
  • Added close method to Hamok 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 except StorageHello and StorageState.
  • 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 to Hamok to await until the Hamok is ready and initialized.

2.3.3

23 Aug 08:48
8e16778
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.3.2...2.3.3

2.3.2

20 Aug 03:49
3616252
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.3.1...2.3.2

2.3.1

19 Aug 05:34
8eec5f8
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.3.0...2.3.1

2.3.0

15 Aug 06:59
18f2d42
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.2.0...2.3.0

2.2.0

08 Aug 07:08
5981bd3
Compare
Choose a tag to compare

init