- Remap 'undefined' bindings as 'null' values, preventing Gremlin script execution failures
- Rename package to gremlin
- Generate UUID using
node-uuid
instead ofguid
- Properly terminate the stream when handling a 204 NO_CONTENT code (fix #17)
- Fix an issue when require'ing with lodash under Linux systems
- Support TinkerPop v3.0.0
- Handle new response format
- Better error handling in callback mode
- Add support for sessions with arbitrary processors
client.stream()
now re-emits one distinctdata
event per result fetched instead of emiting an array of resultsclient.execute()
now internally uses a stream to buffer partial results before firing the provided callback- Add
client.messageStream()
which returns a stream of raw response messages returned by Gremlin Server
- Update dependencies
- Fix examples to match latest API changes
- Update
client.stream()
'data' event signature to (result, message) from (message) - Update
client.execute()
callback signature to (err, result, lastMessage, command) from (err, message) - Remove Stream 'result' event
- Allow overriding low level messages on a per request basis
- Add client options for
op
,processor
andaccept
- allow sending commands after the client is connected
- properly handle new and last command messages with status codes
- support nashorn script engine
- add bound parameters
- add sessions (@gmeral)
- initial release with
.stream()
,.execute()
and support for Groovy flavored scripts