Releases: livingdata-co/addok-cluster
Releases · livingdata-co/addok-cluster
v0.12.0
Features
- Native filter arrays: Filter arrays are now passed directly to the addok API without client-side concatenation. This improves compatibility and allows the addok server to handle OR logic natively.
Internal
- Updated GitHub Actions workflow to test against Node.js 24.x
- Upgraded Coveralls GitHub Action from master to v2 with fail-on-error configuration
Full Changelog: v0.11.0...v0.12.0
v0.11.0
Features
-
Multiple filter values with OR logic: Filter values can now be provided as arrays of strings to support OR logic, in addition to single string values for backward compatibility. Arrays are automatically converted to addok's
+separator format.// Single value (backward compatible) filters: { type: 'street', postcode: '75001' } // Multiple values with OR logic (new) filters: { type: 'street', postcode: ['75001', '75002', '75003'] // Returns results matching any of these postcodes }
Dependencies
- Updated
ioredisfrom 5.8.1 to 5.8.2
Internal
- Added
formatFilterValuehelper function to handle filter value transformation - Enhanced
validateFiltersto support both string and array values - Added comprehensive test coverage for multi-value filters
Full Changelog: v0.10.0...v0.11.0
v0.10.0
What's Changed
- Add onTerminate hook to handle cluster termination by @Copilot in #8
New Contributors
- @Copilot made their first contribution in #8
Full Changelog: v0.9.0...v0.10.0
v0.9.0
v0.8.0
v0.7.0
Notable changes
- A cluster can now manage its own
redis-serverinstance
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.6.1
v0.6.0
v0.5.0
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
onFailureoption - Add
loggeroption tocreateCluster - 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