Node.js client for Riak with support for HTTP and Protocol Buffers.
npm install riak-js@latest
If you clone the repository or download a tarball from github you will need CoffeeScript.
It can be installed via brew install coffee-script
or npm install coffee-script
.
Simply execute cake dev
to start continuous compilation. You may also want to run npm link
so that whenever you call require('riak-js')
it will always point to the current dev version.
Test with cake test
or cake -s test
. Requires Vows 0.5.2.
Twitter: @riakjs
- 0.4.0: Flesh out last issues and release 0.4
- 0.4.1: Streaming: Map/Reduce, keys (Protobuf), Luwak
- 0.4.1: Tests: should run way faster, integrate test backend
- 0.5: Decent Protobuf and seamless interface for both APIs
- Allow headers to override, useful for reverse proxies sitting between node and Riak
- URI-encoding bucket/key is now an option (encodeUri)
- Add documentation for map/reduce arguments
- Remove agent from meta, which should fix critical bug (#64, #67)
- Allow logging to alternate streams. And default to stderr, not stdout (thanks Mark!)
- Add docs for host/port (thanks Ken!)
- Add the new
presort
property for Riak Search (thanks Greg!)
- Major docs update => http://riakjs.org
keys=stream
emitskeys
eventswalk
now acceptsnoJSON
- Support Map/Reduce timeout option
- Protobuf interface refactor (still experimental support in 0.4)
- Minor bug fixes
- node 0.4.x compatibility
- npm 1.0 compatibility
- Minor bug fixes
- Fix index.js and package.json for npm compat
- Fix recursing usermeta
- Fix for luwak location parsing
- Updates related to Riak Search operations
- Test backend implementation
- Connect session store
- Protobuf parsing is now more robust
- Replace client every time ECONNREFUSED occurs
- Initial Riak Search support
- Minor bugfixing and internals refactoring
- Add support for bucket listing in HTTP (new Riak 0.14 feature)
- Updated to CoffeeScript 1.0.0
- Fixed a memory leak caused by adding too many Event Listeners
- If there's no
vclock
present in a Meta, do not send anyclientId