Skip to content

Hazelcast Node.js Client 0.9

Compare
Choose a tag to compare
@furkansenharputlu furkansenharputlu released this 01 Aug 10:05
· 559 commits to master since this release

This document includes the new features, enhancements, and fixed issues for Hazelcast Node.js Client 0.9 release.

Enhancements

  • Improved logging on connection to the cluster. [#291]
  • Added more recommended rules to tslint. [#296]
  • Updated scripts. [#299]
  • Implemented Hazelcast Cloud Discovery for Node.js client. [#303]
  • Implemented AddressProvider and AddressTranslator. [#306]
  • Added Readme for the code-samples repo folder. [#317]

Fixes

Breaking Changes

Plain strings are used to specify member addresses instead of Address objects when configuring Hazelcast Client programmatically.

Old configuration:

        var cfg = new Config.ClientConfig();
        cfg.networkConfig.addresses = [
            new Address('0.0.0.0', 5709),
            new Address('0.0.0.1', 5710)
        ];

New configuration:

        var cfg = new Config.ClientConfig();
        cfg.networkConfig.addresses = [
            '0.0.0.0:5709',
            '0.0.0.1:5710'
        ];