Permalink
Commits on Apr 22, 2011
  1. @mranney

    Lots of bugs fixed.

    *  connection error did not properly trigger reconnection logic [GH-85]
    *  client.hmget(key, [val1, val2]) was not expanding properly [GH-66]
    *  client.quit() while in pub/sub mode would throw an error [GH-87]
    *  client.multi(['hmset', 'key', {foo: 'bar'}]) fails [GH-92]
    mranney committed Apr 22, 2011
Commits on Apr 7, 2011
  1. @mranney

    Added DISCARD

    I originally didn't think DISCARD would do anything here because of the clever MULTI interface, but somebody
    pointed out to me that DISCARD can be used to flush the WATCH set.
    mranney committed Apr 7, 2011
Commits on Apr 6, 2011
  1. @mranney

    Added HVALS command

    mranney committed Apr 6, 2011
Commits on Mar 15, 2011
  1. @mranney
  2. @DelvarWorld @mranney
  3. @mranney

    Add monitor example.

    mranney committed Mar 15, 2011
  4. @mranney
Commits on Feb 28, 2011
  1. @mranney

    Add magical auth command.

    Authentication is now remembered by the client and will be automatically sent to the server
    on every connection, including any reconnections.
    mranney committed Feb 28, 2011
Commits on Feb 23, 2011
  1. @mranney
  2. @mranney

    Fix bug in ready check with `return_buffers` set to `true`.

    Thanks to Dean Mao and Austin Chau.
    mranney committed Feb 23, 2011
Commits on Feb 17, 2011
  1. @mranney

    Document ready check changes.

    mranney committed Feb 17, 2011
  2. @mranney

    Add probe for server readiness.

    When a Redis server starts up, it might take a while to load the dataset into memory.
    During this time, the server will accept connections, but will return errors for all non-INFO
    commands.  Now node_redis will send an INFO command whenever it connects to a server.
    If the info command indicates that the server is not ready, the client will keep trying until
    the server is ready.  Once it is ready, the client will emit a "ready" event as well as the
    "connect" event.  The client will queue up all commands sent before the server is ready, just
    like it did before.  When the server is ready, all offline/non-ready commands will be replayed.
    This should be backward compatible with previous versions.
    
    To disable this ready check behavior, set `options.no_ready_check` when creating the client.
    
    As a side effect of this change, the key/val params from the info command are available as
    `client.server_options`.  Further, the version string is decomposed into individual elements
    in `client.server_options.versions`.
    mranney committed Feb 17, 2011
Commits on Feb 11, 2011
  1. @mranney
  2. @mranney

    Fix excess memory consumption from Queue backing store.

    Thanks to Gustaf Sjöberg.
    mranney committed Feb 11, 2011
Commits on Feb 6, 2011
  1. @mranney

    Fix multi/exec error reply callback logic.

    Thanks to Stella Laurenzo.
    mranney committed Feb 6, 2011
Commits on Jan 20, 2011
  1. @mranney
Commits on Jan 19, 2011
  1. @nithesh @mranney
Commits on Jan 18, 2011
  1. @mranney
  2. @mranney
Commits on Dec 30, 2010
  1. @mranney
  2. @mranney

    Some bug fixes:

    * An important bug fix in reconnection logic.  Previously, reply callbacks would be invoked twice after
      a reconnect.
    * Changed error callback argument to be an actual Error object.
    
    New feature:
    
    * Add friendly syntax for HMSET using an object.
    mranney committed Dec 30, 2010
Commits on Dec 17, 2010
  1. @mranney
Commits on Dec 13, 2010
  1. @mranney
  2. @mranney

    Re-throw callback errors on nextTick

    Otherwise an error thrown in a callback would be throw on the parser's stack.
    mranney committed Dec 13, 2010
Commits on Dec 9, 2010
  1. @mranney
  2. @mranney
  3. @mranney

    Support for multiple response parsers and hiredis C library from Piet…

    …er Noordhuis.
    
    Return Strings instead of Buffers by default.
    Empty nested mb reply bug fix.
    mranney committed Dec 9, 2010
Commits on Dec 7, 2010
  1. @mranney

    JavaScript parser passes all tests when returning strings.

    JS is still way too slow for large mb replies.  Hiredis is fast for strings of large  replies,
    but slow for buffers.
    mranney committed Dec 7, 2010
Commits on Dec 6, 2010
  1. @mranney

    Support for multiple reply parsers including hiredis.

    Several parsing bugs fixed in JavaScript.
    Some new config options that need to be better documented.
    mranney committed Dec 6, 2010
Commits on Dec 2, 2010
  1. @mranney

    Add Unix socket example.

    mranney committed Dec 2, 2010
Commits on Nov 30, 2010
  1. @pietern
  2. @pietern

    Fix incorrect test

    pietern committed Nov 30, 2010
  3. @pietern
  4. @pietern
  5. @mranney