Aerospike v2.0.0-alpha.1 Release Notes

Release Date: 2016-03-30 // about 8 years ago
    • ๐Ÿ‘Œ 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.