UNPKG

grex

Version:

Client for Rexster Graph Server

104 lines (76 loc) 2.85 kB
## 0.8.0 - Add: all query methods now support passing an object of bindings as optional second parameter - Add: `client.fetchOne()` which only returns the first result - Fix: `client.fetch()` properly returns the raw response as third parameter - Rename `client.options` to `client.settings` - Update gremlin-script to v1.1.0 ## 0.7.3 - Fix: `client.fetch()` should now handle errors properly ## 0.7.2 - Fix: issues when using bound parameters ## 0.7.1 - Fix: handle bound parameters passed as objects - Fix: properly return some error messages ## 0.7.0 - Remove Q dependency: async functions no longer support the dual callback/promise API. Please use your own promise library - Replace `client.exec()` with `client.execute()` - Remove `client.connect()` - use `grex.createClient()` instead - No longer use rexster.showTypes by default - use options.showTypes - Add support of execution of stored scripts on a per client basis - Minor performance improvement ## 0.6.7 - Fix stringification issues with arrays and booleans ## 0.6.6 - Handle stringification of nested objects ## 0.6.5 - Add dynamic query creation for single line scripts ## 0.6.4 - Fix error message issues in .exec() ## 0.6.3 - Better handle errors when host, port or graph is erroneous ## 0.6.2 - Send data to Rexster as utf8 ## 0.6.1 - Escape bound parameters sent to Rexster ## 0.6.0 - Support bound parameters for queries using string format mode ## 0.4.0 - Nodeify callbacks - Refactor transactions ## 0.3.2 - Fixed Gruntfile and dev dependencies ## 0.3.1 - Add support for addProperty and setProperty for Vertex and Edge ## 0.3.0 - Expose gRex as global for browser version. - Enable to be used with RequireJS. ## 0.2.5 - Structural changes - Add Contributors to package.json ## 0.2.4 - Allow _() to be chained. ## 0.2.3 - Fixed bug that was dropping comma in typeDef's on subsequent posts - Cater for embedded objects in lists ## 0.2.2 - Expose Tokens object - Expose Contains object - Expose Vertex object - Expose Edge object ## 0.2.1 - Fixed bug on createVertex transaction - added T.in and T.notin ## 0.2.0 - get() call removed - rollback() removed - Enable multiple connections (multiple users) in Node module - New Transaction process for CUD. Must create transaction object and invoke cud methods. Includes better error trapping. - Transaction success no longer requires testing for success = true || false. Only successful values are returned to success callback. All errors sent to error callback. - Removed version and querytime from returned results - Complies with Blueprints 2.4.0 - Add Contains.IN and Contains.NOT_IN - Data Type preservation ## 0.1.10 - Removed the need to call get(), as it was a redundant call - Enalbled Vertex and Edge creation using Database generated Id's - Added methods linkIn, linkOut and linkBoth