Skip to content

Releases: livingdata-co/addok-cluster

v0.8.0

23 Sep 23:38
0123d9d
Compare
Choose a tag to compare

Notable changes

  • Add inspect() method on cluster instances
  • Bug fix

Commits

v0.7.0...v0.8.0

v0.7.0

03 Feb 21:33
bf240ed
Compare
Choose a tag to compare

Notable changes

  • A cluster can now manage its own redis-server instance

Commits

  • Merge pull request #4 from livingdata-co/managed-redis f550fd5
  • Add managed redis in cluster 5be9400
  • Fix createInstance startup timeout 170722a
  • Improve computeAddokRedisConfigs 7cf0385
  • Add createInstance method to start a redis managed server 620513f
  • Rename main branch from master to main 3318111
  • Enable Node.js 21 builds ef620bb
  • Enable Node.js 20 builds abf8a81
  • Update c8 (8.0.1) 8f525cd
  • Disable unicorn/prefer-event-target rule d278bc4
  • Ignore newlines between import groups 91f9a7c
  • Update xo (0.56.0) 20d4a51
  • Update ava (5.3.1) b358928
  • Update supports-color (9.4.0) c8247de

v0.6.2...v0.7.0

v0.6.2

21 Jun 20:44
04b4b73
Compare
Choose a tag to compare

Commits

v0.6.1...v0.6.2

v0.6.1

21 Jun 14:36
7cb48e0
Compare
Choose a tag to compare

Commits

  • Fix pyshell instance creation 0a21ece

v0.6.0...v0.6.1

v0.6.0

21 Jun 13:30
7a455e1
Compare
Choose a tag to compare

Notables changes

  • Unix sockets can now be used for redis connections (unix:/path/to/redis.sock)

Commits

v0.5.0...v0.6.0

v0.5.0

17 Mar 17:17
7f29dff
Compare
Choose a tag to compare

Notable changes

  • Improve cluster and nodes lifecycle
  • Increase coverage to 98%
  • Throw error when a cluster is terminated
  • cluster.end() now returns a Promise
  • Drop onFailure option
  • Add logger option to createCluster
  • Fix many issues

Commits

  • Fix getNumNodes d67e1fa
  • More tests 8b58b27
  • Throw an error when cluster is already terminated 64859db
  • Improve cluster lifecycle bd2a7f9
  • Add tests for priority, signal, errors, timeout a71e2c5
  • Remove node.isIdle property 925b2de
  • Add more test cases d7860fc
  • Ensure geocode and reverse are always async 35622d2
  • Drop onFailure handler 1527cb9
  • Add test for node recreation on failure 43c2301
  • More tests 8bdf6a6
  • Never write to console when NODE_ENV=test 41abadb
  • Add maxConsecutiveFailedStartup option to createCluster bf1072c
  • Ensure only error message is logged out 9acd49e
  • Expose idleNodesCount and activeNodesCount b070d0f
  • Enforce node creation 61ba958
  • Add strategy to override createNode in createCluster 454fcc1
  • Define files to include in code coverage 1fefe15
  • Add tests for getNumNodes 92e53e7
  • Move getLogger to logger.js 24b751f
  • Improve test coverage a2c6130
  • Improve tests on kill/end 4535ea9
  • Refactor kill/cleanup methods 6f5e3e1
  • Remove cover script (unused) 6674aae
  • Rename kill attributes 479210a
  • Add more unit tests 28da1bb
  • Add logger option to createNode e56f7ad
  • Add killTimeout createNode option 084add6
  • Improve params tests 90ec7bb
  • Update c8 (7.13.0) 5badde3
  • Update ava (5.2.0) 6d4abc8
  • Update python-shell (5.0.0) 3bbf106
  • Add unit tests for node.js 4ede7b6
  • Add requestTimeout option to createNode 7e81105
  • Add startupTimeout option to createNode b4d4534
  • Add createPyShellInstance option to createNode 3a9aac2
  • Move PyShell instantiation in createPyShellInstance constructor 79bbee6

v0.4.2...v0.5.0

v0.4.2

25 Jan 09:45
dbe49a6
Compare
Choose a tag to compare

Notable changes

  • minor bugfix

Commits

  • Fix lon/lat validation when value=0 1017704

v0.4.1...v0.4.2

v0.4.1

17 Jan 15:45
dbccc42
Compare
Choose a tag to compare

Notable changes

  • Clean filters before submitting to addok

Commits

  • Remove filters with empty values 084f29f
  • Update ava (5.1.1) ffa9e4e
  • Update supports-color (9.3.1) dd2e4e9

v0.4.0...v0.4.1

v0.4.0

06 Jan 12:58
c84efc8
Compare
Choose a tag to compare

Notable changes

  • Throws 503-like error when addok takes too much to respond
  • Throws 400-like error when q is longer than 200 characters
  • Add ability to define multiple Redis connections

Commits

  • Handle multiple Redis DB with round-robin 3aabbf0
  • Add helper for Redis connection strings 4204b64
  • Throw 503 error when addok takes too much time c2e879b
  • Prevent q from being longer than 200 char 3ab5ad8

v0.3.2...v0.4.0

v0.3.2

05 Jan 23:26
a3547dc
Compare
Choose a tag to compare

Commits

  • Fix some stability issues 3fefb3d

v0.3.1...v0.3.2