zookeeper
Version:
apache zookeeper client (zookeeper async API v3.5.x - v3.8.x)
225 lines (159 loc) • 13.7 kB
Markdown
#### v 7.0.0 (2025-05-25)
* fix: enable workers
Pull request [354](https://github.com/yfinkelstein/node-zookeeper/pull/354) by @davidvujic
#### v 6.2.3 (2024-07-14)
* fix: accept both perm and perms in acl objects
Pull request [349](https://github.com/yfinkelstein/node-zookeeper/pull/349) by @maharjanraj
#### v 6.2.2 (2024-07-08)
* docs: access Zookeeper constants from ZooKeeper.constants
Pull request [347](https://github.com/yfinkelstein/node-zookeeper/pull/347) by @maharjanraj
#### v 6.2.1 (2024-07-04)
* fix: ACL type, should be an array of objects. Also, fix typo in permissions key.
Pull request [346](https://github.com/yfinkelstein/node-zookeeper/pull/346) by @davidvujic
#### v 6.2.0 (2024-05-25)
* fix: build error in Node.js 22 caused by removed V8 AccessControl property
Pull request [344](https://github.com/yfinkelstein/node-zookeeper/pull/344) by @davidvujic
#### v 6.1.1 (2024-01-28)
* fix: return an invalid state error code (previously segfault) when client not properly initialized.
Pull request [338](https://github.com/yfinkelstein/node-zookeeper/pull/333) by @davidvujic
#### v 6.1.0 (2023-12-26)
* feat: Add prebuilds for Node.js v.20 for Mac OS X x86 and arm, Windows.
Pull requests:
[333](https://github.com/yfinkelstein/node-zookeeper/pull/333)
[334](https://github.com/yfinkelstein/node-zookeeper/pull/334)
[335](https://github.com/yfinkelstein/node-zookeeper/pull/335)
by @davidvujic
#### v 6.0.0 (2023-08-07)
* feat: use ZooKeeper C Client v3.8.2 and add prebuilds for Node.js v.18 (Mac OS X intel and M1, and Windows)
Drop support for Node.js 16 prebuilds.
Pull request [330](https://github.com/yfinkelstein/node-zookeeper/pull/330) by @davidvujic
#### v 5.6.0 (2022-11-03)
* feat: add prebuilds for Node.js v.18 (Mac OS X intel and M1, and Windows)
Pull request [324](https://github.com/yfinkelstein/node-zookeeper/pull/324) by @davidvujic
#### v 5.5.1 (2022-09-17)
* fix: set the correct supported version of Apache ZooKeeper server (docs and package description). Pull request [322](https://github.com/yfinkelstein/node-zookeeper/pull/322) by @davidvujic
#### v 5.5.0 (2022-09-17)
* fix: Remove the OpenSSSL FIPS_mode check for Linux, Mac OS X and Windows.
feat: Rebuild the prebuilds for Mac OS X and Windows, using Node.js 16.17.0.
feat: Remove the prebuilds for Node.js 14.
Pull request [321](https://github.com/yfinkelstein/node-zookeeper/pull/321) by @davidvujic
* fix: remove code using FIPS_mode which is not available on all distros. Pull request [318](https://github.com/yfinkelstein/node-zookeeper/pull/319) by @dreusel
#### v 5.4.0 (2022-04-18)
* feat: starting the zookeeper client in a Node.js Worker thread. Pull request [310](https://github.com/yfinkelstein/node-zookeeper/pull/310) by @deepcoldy
#### v 5.3.2 (2022-02-16)
* fix: handle normalize path with slashes in all platforms. Pull request [305](https://github.com/yfinkelstein/node-zookeeper/pull/305) by @hufeng
#### v 5.3.1 (2022-02-12)
* fix: get and w_get returns an array of [stat, string|Buffer]. Pull request [306](https://github.com/yfinkelstein/node-zookeeper/pull/306) by @davidvujic
#### v 5.3.0 (2022-01-09)
* feat: Add Mac OS X M1 prebuild for Node.js 16.13.1. Pull request [302](https://github.com/yfinkelstein/node-zookeeper/pull/302) by @davidvujic
* fix: node-gyp is already included in npm. Pull request [301](https://github.com/yfinkelstein/node-zookeeper/pull/301) by @davidvujic
* fix: replace lodash with vanilla js, remove unused dependencies, remove unnecessary usage of t.plan() in Ava tests.
__NOTE:__
the `_.defaults` lodash function is replaced with `Object.assign` (with `src` and `target` flipped) to have a similar behaviour as the lodash function.
But it isn't 100% the same thing. If the original object has a key with an __undefined__ value, it will behave differently than with the lodash defaults fn.
Pull request [300](https://github.com/yfinkelstein/node-zookeeper/pull/300) by @davidvujic
#### v 5.2.2 (2022-01-08)
* fix(testing): replace the existing integration test scripts (that has become an unwanted and rarely used legacy), with new ones using the Ava test tool. Pull request [297](https://github.com/yfinkelstein/node-zookeeper/pull/297) by @davidvujic
* fix(testing): Use Ava v4. Pull request [296](https://github.com/yfinkelstein/node-zookeeper/pull/296) by @davidvujic
* fix: Bump dependencies, remove unused integration test, remove unused dependencies. Pull request [295](https://github.com/yfinkelstein/node-zookeeper/pull/295) by @davidvujic
#### v 5.2.1 (2022-01-05)
* fix: explicitly handle async JavaScript failures. Pull request [293](https://github.com/yfinkelstein/node-zookeeper/pull/293) by @davidvujic
#### v 5.2.0 (2022-01-05)
* feat: add a boolean "path exists" function, wrapping the "exists" function. Pull request [291](https://github.com/yfinkelstein/node-zookeeper/pull/291) by @davidvujic
#### v 5.1.0 (2021-12-29)
* feat: build native addon from the ZooKeeper C client v3.6.3. Pull request [289](https://github.com/yfinkelstein/node-zookeeper/pull/289) by @davidvujic
* fix: Using a newer client solves issue [270](https://github.com/yfinkelstein/node-zookeeper/issues/270) (warnings on close).
* feat: Using the client with v3.6.2 enables SSL support for Linux, as described in the pull request [289](https://github.com/yfinkelstein/node-zookeeper/pull/289)
* dev: using CircleCI instead of TravisCI. Pull request [288](https://github.com/yfinkelstein/node-zookeeper/pull/288) by @davidvujic
* breaking change: removed custom addon build for the `solaris` OS. This has not been tested for years and most likely not working.
#### v 5.0.0 (2021-12-06)
* feat: add Node.js 16 prebuilds for Windows. Pull request [284](https://github.com/yfinkelstein/node-zookeeper/pull/284) by @miroslavpokorny
* feat: add Node.js 16 prebuilds for Mac OS X (`x64` arch), and drop support for Node.js 12. Pull request [285](https://github.com/yfinkelstein/node-zookeeper/pull/285) by @davidvujic
#### v 4.10.1 (2021-11-08)
* fix: replace the `tape` unit test library with `ava`. Pull request [282](https://github.com/yfinkelstein/node-zookeeper/pull/282) by @davidvujic
#### v 4.10.0 (2021-06-09)
* feat: ability to overwrite default response counter limit. Pull request [278](https://github.com/yfinkelstein/node-zookeeper/pull/278) by @wareczek
#### v 4.9.0 (2021-05-13)
* feat: Dynamic Reconfiguration. Pull request [273](https://github.com/yfinkelstein/node-zookeeper/pull/273) by @bhack-onshape
#### v 4.8.2 (2021-04-20)
* fix: set initial value to noResponseCounter on init and reset on close. Pull request [271](https://github.com/yfinkelstein/node-zookeeper/pull/271) by @davidvujic
#### v 4.8.1 (2021-02-18)
* fix: the `watch` param passed in to the exists (the promise based) function is a boolean. Pull request [266](https://github.com/yfinkelstein/node-zookeeper/pull/266) by @davidvujic
* chore: Node.js LTS 12 and 14 is enough for running in a CI. Pull request [267](https://github.com/yfinkelstein/node-zookeeper/pull/267) by @davidvujic
#### v 4.8.0 (2021-01-31)
* feat: add support for TTL and Container nodes. Pull request [255](https://github.com/yfinkelstein/node-zookeeper/pull/255) by @dreusel
* fix: Example code: use one client, use only when connected Pull request [264](https://github.com/yfinkelstein/node-zookeeper/pull/264) by @davidvujic
#### v 4.7.1 (2020-12-27)
* fix: build an AddOn from the ZooKeeper C Client v3.5.8 in all platforms (Linux, Mac OS X and Windows). Pull request [260](https://github.com/yfinkelstein/node-zookeeper/pull/260) by @davidvujic
#### v 4.7.0 (2020-12-17)
* feat: include prebuilt binaries for Mac OS X (darwin, x64) and Windows - for node 12 and 14. This will simplify and fasten the install process a lot. Pull request [251](https://github.com/yfinkelstein/node-zookeeper/pull/251) by @davidvujic
* fix: note about rejecting/erroring when path does not exist in exists() calls. Pull request [256](https://github.com/yfinkelstein/node-zookeeper/pull/256) by @dreusel
* docs: simplify docs and add info about prebuilds. Pull request [253](https://github.com/yfinkelstein/node-zookeeper/pull/253) by @davidvujic
#### v 4.7.0-beta.0 (2020-11-29)
* feat: include prebuilt binaries for Mac OS X (darwin, x64) and Windows - for node 12 and 14. This will simplify and fasten the install process a lot. Pull request [252](https://github.com/yfinkelstein/node-zookeeper/pull/252) by @davidvujic
#### v 4.6.0 (2020-10-31)
* feat: The default API from the library is the async/await enabled client (containing both callbacks and promisified methods)
* fix: add TypeScript declarations.
Pull request [246](https://github.com/yfinkelstein/node-zookeeper/pull/246) by @davidvujic
#### v 4.5.3 (2020-09-20)
* fix: Update depencencies causing warnings on install. Pull request [242](https://github.com/yfinkelstein/node-zookeeper/pull/242) by @davidvujic
#### v 4.5.2 (2020-01-22)
* fix: try an alternative shasum command when missing on Linux systems. Pull request [234](https://github.com/yfinkelstein/node-zookeeper/pull/234) by @hwzhangd
#### v 4.5.1 (2019-12-09)
* fix: add_auth expecting three arguments, add the missing `voidCb` parameter. Pull request [230](https://github.com/yfinkelstein/node-zookeeper/pull/230) by @wareczek
#### v 4.5.0 (2019-11-05)
* feat: Zookeeper 3.5.6. Pull request [226](https://github.com/yfinkelstein/node-zookeeper/pull/226)
* fix: Rollback for Windows client (3.4.14). This is the motivation for bumping the Minor version. Pull request [226](https://github.com/yfinkelstein/node-zookeeper/pull/226)
#### v 4.4.2 (2019-09-21)
* fix: too many close events emitted from the client caused by ZNOTHING socket responses. Pull request [221](https://github.com/yfinkelstein/node-zookeeper/pull/221)
* fix: remove duplicate parameter definitions
#### v 4.4.1 (2019-08-22)
* fix: include ZooKeeper source code, instead of downloading on install, pull request [219](https://github.com/yfinkelstein/node-zookeeper/pull/219)
* feat: Integration tests in Docker, pull request [218](https://github.com/yfinkelstein/node-zookeeper/pull/218) by @jbienkowski
* feat: less verbose Windows builds, pull request [217](https://github.com/yfinkelstein/node-zookeeper/pull/217)
* fix: GCC build errors, pull request [215](https://github.com/yfinkelstein/node-zookeeper/pull/215)
* feat: move constants to a separate file, pull request [212](https://github.com/yfinkelstein/node-zookeeper/pull/212) by @jbienkowski
#### v 4.4.0 (2019-08-11)
* fix: typos in the code documentation for async `get_children`.
* fix: retry download the ZooKeeper C Client if failed during `npm install`.
* feature: use v3.5.5 of the ZooKeeper C Client.
#### v 4.3.0 (2019-07-30)
* Refactor all JavaScript code to ECMAScript 2017 and native Promises: pull request [185](https://github.com/yfinkelstein/node-zookeeper/pull/185) by @jbienkowski311
* Copy instead of symlink in build process (Windows users can install without admin access): pull request [190](https://github.com/yfinkelstein/node-zookeeper/pull/190)
* Quicker build process in Windows, without massive output or warnings: pull request [191](https://github.com/yfinkelstein/node-zookeeper/pull/191)
* Code documentation for public API: pull request [192](https://github.com/yfinkelstein/node-zookeeper/pull/192)
* README revision, simplified and promoting async/await enabled client: pull request [193](https://github.com/yfinkelstein/node-zookeeper/pull/193)
* jsDoc type definitions in code documentation: pull request [196](https://github.com/yfinkelstein/node-zookeeper/pull/196)
#### v 4.2.0 (2019-07-16)
* fix: Node.js 12 support
* fix: V8 and Nan deprecation warnings
* chore: reduce build output on Linux/Mac OS X. Pull request [183](https://github.com/yfinkelstein/node-zookeeper/pull/183) by @jbienkowski311
* fix: deprecated getters and setters, pull request [181](https://github.com/yfinkelstein/node-zookeeper/pull/181) by @jbienkowski311
* chore: pull request template, added by @jbienkowski311
* chore: added integration test scripts
#### v 4.1.1 (2019-06-18)
* feat: handle ZNOTHING return code from the ZooKeeper C library
* fix: README typos
* chore: added example code in the examples folder - master, workers and tasks
* chore: run code in a linux docker container using a Dockerfile
* chore: moved existing manual tests to the tests_integration folder
* Merge pull request #174 from @peZhmanParsaee: delete .npmignore file
* Merge pull request #170 from @arpitsingh94: Added documentation for "connect" function
* Merge pull request #164 from @luc-boussant: Update issue templates
* Merge pull request #163 from @tabbartley: Add CODE-OF-CONDUCT
#### v 4.0.3 (2019-04-25)
* chore: added unit tests, mostly asserting the public API.
* chore: added ESLint and the Airbnb JavaScript style guide.
* chore: added .editorconfig
#### v 4.0.2 (2019-04-13)
* fixed: Windows 7 support (Pull Request by https://github.com/ndxbn)
#### v 4.0.1 (2019-03-10)
* Added docs: changelog, contributing to the project, fixed typos and missing info in the readme file.
#### v 4.0.0 (2019-03-02)
* Added Windows support! A long awaited issue finally solved.
* __BREAKING__: dropped support for Node.js versions older than version 8.
* `node-zookeeper` now uses __SemVer__ for versioning.
Read details about the release here: [Windows support](https://github.com/yfinkelstein/node-zookeeper/pull/145)
#### v 3.4.9-4 (2019-01-16)
* Fixed npm install fails when using Node version 10.
Details about the release here: [Node.js 10 support](https://github.com/yfinkelstein/node-zookeeper/pull/142)