Skip to content

Releases: aerospike/aerospike-client-nodejs

v2.0.0-alpha.3 / 2016-04-18

19 Apr 10:44
2.0.0-alpha.3
Compare
Choose a tag to compare
Pre-release
  • Improvements
    • Added new filter predicates in the Aerospike.filter module:
      • contains() to match on list/map membership for integer & string values
      • geoWithinRadius() to match on geospatial locations within a given radius
        from another point (incl. geospatial locations in lists and maps)
      • geoContainsPoint() to match on geospatial regions that include given
        lng/lat coordinates (incl. geospatial regions in lists and maps)
      • geoContains() is deprecated and has been replaced by
        geoContainsGeoJSONPoint()
      • geoWithin() is deprecated and has been replaced by
        geoWithinGeoJSONRegion()
    • New async. implementation for Query#foreach (renamed from Query#execute).
    • Added support for background queries with Record UDF via Query#background.
    • Support aborting background queries via RecordStream#abort.
    • Consolidated ScanTask, IndexTask into new Job class with support for
      querying background queries as well.
    • Combined Scan#applyEach and Scan#background to reduce chance of mis-use.
      (Record UDF can only be applied on background scan.)
  • Fixes
    • Ensure callbacks are always called asynchronously, even for param errors
      raised by the client itself.
    • Fix possible memory corruption parsing UDF module or function names.

v2.0.0-alpha.2 / 2016-04-12

12 Apr 04:29
2.0.0-alpha.2
Compare
Choose a tag to compare
Pre-release
  • Improvements
    • Added support for complex secondary indexes on list and map values;
      requires Aerospike server version >= 3.8. [CLIENT-684]
    • Added Aerospike.info module with parseInfo utility method to parse info
      string returned by Aerospike cluster nodes using Client#info method.
    • Added IndexTask class returned by Client#createIndex to replace
      Client#createIndexWait; IndexTask#waitUntilDone polls for task
      completion asynchronously.
    • Added new Scan API implementation via Client#scan.

v2.0.0-alpha.1 / 2016-03-30

30 Mar 10:19
2.0.0-alpha.1
Compare
Choose a tag to compare
Pre-release
  • Improvements
    • Use asynchronous client commands of the new Aerospike C/C++ client library
      version 4.0.
    • Follow Node.js error-first callback conventions: The client now returns
      null as the first parameter (error) in most callbacks when the command
      was executed successfully. See
      backward incompatible API changes
      for more details. #105,
      PR #106. Thanks to
      @eljefedelrodeodeljefe!
    • Add support for pluggable callback handler logic for backwards
      compatibility with legacy error callback semantics.
    • The Key, Double and GeoJSON functions can be used as
      Constructors now to create instances of the respective data types, e.g.
      var key = new Key(ns, set, 'mykey1'). Use of the Double and GeoJSON
      functions as well as the key function as regular functions without the new
      keyword is deprecated but still supported for backwards compatibility.
    • The new batchRead command was added to support reading different
      namespaces/bins for each key in a batch. This method requires Aerospike
      server version >= 3.6.0. The batchGet/batchExists/batchSelect client
      commands deprecated but still supported for backwards compatibility.
    • Added isConnected client method to check cluster connection status.
    • Improvements to the client's mocha test suite, incl. performance
      improvements by re-using a single client connection for all tests.
    • Add missing status codes to Aerospike.status.
    • Added support for set compression threshold policy for write operations,
      retry policy for read operations, and ttl policy for apply operations.
  • Fixes
    • Node segfault when trying to query the aerospike client after closing the
      connection. #88
  • Changes
    • Drop support for Node.js v0.10. The Aerospike Node.js client now requires
      Node.js v0.12 or later.
    • The add client command was renamed to incr; the add function
      is maintained as an alias for the new incr function for backwards
      compatibility but is deprecated.
    • The execute client command was renamed to apply; the execute function
      is maintained as an alias for the new apply function for backwards
      compatibility but is deprecated.
  • Documentation
    • JSDoc-style annotations have been added throughout the library code and new
      API documentation is generated from the source code using JSDoc v3. This is
      work-in-progress and will be completed before v2.0.0-final is released.

1.0.57 / 2016-03-18

18 Mar 08:40
1.0.57
Compare
Choose a tag to compare
  • Improvements
    • Update build script to support Fedora 23 as well as Korora 22/23.
      #113,
      #115
    • Update Aerospike C client library to v4.0.3.
    • Optionally read hosts config from AEROSPIKE_HOSTS environment variable.
      Thanks to @mrbar42!
    • Collect TPS stats in benchmarks.
    • Update Travis CI config to test latest Node.js release & add badge. Thanks
      to @revington!
  • Fixes
    • Fix replica policy value overwriting gen policy [CLIENT-699]
    • Fix lists being returned as bytes in listGetRange/listPopRange operations
      (via C client library v4.0.3).

1.0.56 / 2016-02-11

11 Feb 08:41
1.0.56
Compare
Choose a tag to compare
  • Improvements
    • Support operator.incr() operation on double values.
    • Refactor test suite to improve performance and maintainability.
  • Fixes
    • Fix segfault when client.connect() is called without callback function.
  • Documentation
    • Fix wrong method name in llist documentation. Thanks to @srinivasiyer!
    • Update build dependencies for CentOS/RHEL 6.
    • Clarify supported data types and (lack of) automatic data type conversions.
    • Update supported Node.js versions.

1.0.55 / 2016-01-15

15 Jan 10:31
1.0.55
Compare
Choose a tag to compare
  • Improvements
    • Update to C Client v4.0.0.
    • Documentation updates. Thanks to @mrbar42!
    • Avoid polluting global namespace. Thanks to @mrbar42!
    • Use standard module to enforce coding style.
    • Add connTimeoutMs and tenderInterval client configs.
  • Fixes
    • Fix connection issues when using V8 profiler (node --prof)

Features and Fixes

04 Jan 07:05
1.0.54
Compare
Choose a tag to compare

New Features:

  • Operations on list. For more information click here. Requires server version 3.7 or later.

Improvements:

  • Update C client version to 3.1.25
  • Enhance benchmark to send alerts when memory leak occurs
  • Return client error if one or more of the operations passed to client.operate produces a type error
  • Specify license in npm package

Fixes:

  • Minor fixes for examples

Minor Fixes

03 Nov 08:35
Compare
Choose a tag to compare
  • Updated Readme with node versions supported. Currently node versions above v0.10.31, v0.12.x, Iojs and v4.x are supported.
  • Fixed linter errors in examples.
  • Fixed a bug in scan percentage parameter passing.

Features and Fixes

07 Oct 06:53
Compare
Choose a tag to compare

Features

  • Geospatial Indexes (Experimental Release). For more information click here. Requires server version 3.7 or later.
  • Implemented indexCreateWait API.
  • Implemented udfRegisterWait API.
  • Updated C client to version 3.1.24.

Fixes

  • Fixed issue #93 Typo in docs.
  • Fixed issue #89 Typo in range filter docs.

Features and Fixes

30 Sep 12:21
Compare
Choose a tag to compare

Features

  • Added support node v4.x
  • Updated C Client dependency to version 3.1.22
  • Added support for double datatype. Available from server release 3.6.0
  • Added Makefile to run Valgrind test.
  • Enhanced longevity suite for scan and query benchmarks.
  • Added support for Fedora18 to Fedora22. Thanks @kaustavdm

Fixes

  • Fixed a memory leak in query structure.
  • Changes to have uniform indentation.