Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

293 lines (206 sloc) 8.589 kb

Dalli Changelog

2.0.5

  • Create proper keys for arrays of objects passed as keys [twinturbo, #211]
  • Handle long key with namespace [#212]
  • Add NODELAY to TCP socket options [#206]

2.0.4

  • Dalli no longer needs to be reset after Unicorn/Passenger fork [#208]
  • Add option to re-raise errors rescued in the session and cache stores. [pitr, #200]
  • DalliStore#fetch called the block if the cached value == false [#205]
  • DalliStore should have accessible options [#195]
  • Add silence and mute support for DalliStore [#207]
  • Tracked down and fixed socket corruption due to Timeout [#146]

2.0.3

  • Allow proper retrieval of stored false values [laserlemon, #197]
  • Allow non-ascii and whitespace keys, only the text protocol has those restrictions [#145]
  • Fix DalliStore#delete error-handling [#196]

2.0.2

  • Fix all dalli_store operations to handle nil options [#190]
  • Increment and decrement with :initial => nil now return nil (lawrencepit, #112)

2.0.1

  • Fix nil option handling in dalli_store#write [#188]

2.0.0

  • Reimplemented the Rails' dalli_store to remove use of ActiveSupport::Cache::Entry which added 109 bytes overhead to every value stored, was a performance bottleneck and duplicated a lot of functionality already in Dalli. One benchmark went from 4.0 sec to 3.0 sec with the new dalli_store. [#173]
  • Added reset_stats operation [#155]
  • Added support for configuring keepalive on TCP connections to memcached servers (@bianster, #180)

Notes:

  • data stored with dalli_store 2.x is NOT backwards compatible with 1.x. Upgraders are advised to namespace their keys and roll out the 2.x upgrade slowly so keys do not clash and caches are warmed. config.cache_store = :dalli_store, :expires_in => 24.hours.to_i, :namespace => 'myapp2'
  • data stored with plain Dalli::Client API is unchanged.
  • removed support for dalli_store's race_condition_ttl option.
  • removed support for em-synchrony and unix socket connection options.
  • removed support for Ruby 1.8.6
  • removed memcache-client compability layer and upgrade documentation.

1.1.5

  • Coerce input to incr/decr to integer via #to_i [#165]
  • Convert test suite to minitest/spec (crigor, #166)
  • Fix encoding issue with keys [#162]
  • Fix double namespacing with Rails and dalli_store. [#160]

1.1.4

  • Use 127.0.0.1 instead of localhost as default to avoid IPv6 issues
  • Extend DalliStore's :expires_in when :race_condition_ttl is also used.
  • Fix :expires_in option not propogating from DalliStore to Client, GH-136
  • Added support for native Rack session store. Until now, Dalli's session store has required Rails. Now you can use Dalli to store sessions for any Rack application.

    require 'rack/session/dalli' use Rack::Session::Dalli, :memcache_server => 'localhost:11211', :compression => true

1.1.3

  • Support Rails's autoloading hack for loading sessions with objects whose classes have not be required yet, GH-129
  • Support Unix sockets for connectivity. Shows a 2x performance increase but keep in mind they only work on localhost. (dfens)

1.1.2

  • Fix incompatibility with latest Rack session API when destroying sessions, thanks @twinge!

1.1.1

v1.1.0 was a bad release. Yanked.

1.1.0

  • Remove support for Rails 2.3, add support for Rails 3.1
  • Fix socket failure retry logic, now you can restart memcached and Dalli won't complain!
  • Add support for fibered operation via em-synchrony (eliaslevy)
  • Gracefully handle write timeouts, GH-99
  • Only issue bug warning for unexpected StandardErrors, GH-102
  • Add travis-ci build support (ryanlecompte)
  • Gracefully handle errors in get_multi (michaelfairley)
  • Misc fixes from crash2burn, fphilipe, igreg, raggi

1.0.5

  • Fix socket failure retry logic, now you can restart memcached and Dalli won't complain!

1.0.4

  • Handle non-ASCII key content in dalli_store
  • Accept key array for read_multi in dalli_store
  • Fix multithreaded race condition in creation of mutex

1.0.3

  • Better handling of application marshalling errors
  • Work around jruby IO#sysread compatibility issue

1.0.2

  • Allow browser session cookies (blindsey)
  • Compatibility fixes (mwynholds)
  • Add backwards compatibility module for memcache-client, require 'dalli/memcache-client'. It makes Dalli more compatible with memcache-client and prints out a warning any time you do something that is no longer supported so you can fix your code.

1.0.1

  • Explicitly handle application marshalling bugs, GH-56
  • Add support for username/password as options, to allow multiple bucket access from the same Ruby process, GH-52
  • Add support for >1MB values with :value_max_bytes option, GH-54 (r-stu31)
  • Add support for default TTL, :expires_in, in Rails 2.3. (Steven Novotny) config.cache_store = :dalli_store, 'localhost:11211', {:expires_in => 4.hours}

1.0.0

Welcome gucki as a Dalli committer!

  • Fix network and namespace issues in get_multi (gucki)
  • Better handling of unmarshalling errors (mperham)

0.11.2

  • Major reworking of socket error and failover handling (gucki)
  • Add basic JRuby support (mperham)

0.11.1

  • Minor fixes, doc updates.
  • Add optional support for kgio sockets, gives a 10-15% performance boost.

0.11.0

Warning: this release changes how Dalli marshals data. I do not guarantee compatibility until 1.0 but I will increment the minor version every time a release breaks compatibility until 1.0.

IT IS HIGHLY RECOMMENDED YOU FLUSH YOUR CACHE BEFORE UPGRADING.

  • multi() now works reentrantly.
  • Added new Dalli::Client option for default TTLs, :expires_in, defaults to 0 (aka forever).
  • Added new Dalli::Client option, :compression, to enable auto-compression of values.
  • Refactor how Dalli stores data on the server. Values are now tagged as "marshalled" or "compressed" so they can be automatically deserialized without the client having to know how they were stored.

0.10.1

  • Prefer server config from environment, fixes Heroku session store issues (thanks JoshMcKin)
  • Better handling of non-ASCII values (size -> bytesize)
  • Assert that keys are ASCII only

0.10.0

Warning: this release changed how Rails marshals data with Dalli. Unfortunately previous versions double marshalled values. It is possible that data stored with previous versions of Dalli will not work with this version.

IT IS HIGHLY RECOMMENDED YOU FLUSH YOUR CACHE BEFORE UPGRADING.

  • Rework how the Rails cache store does value marshalling.
  • Rework old server version detection to avoid a socket read hang.
  • Refactor the Rails 2.3 :dalli_store to be closer to :mem_cache_store.
  • Better documentation for session store config (plukevdh)

0.9.10

  • Better server retry logic (next2you)
  • Rails 3.1 compatibility (gucki)

0.9.9

  • Add support for *_multi operations for add, set, replace and delete. This implements pipelined network operations; Dalli disables network replies so we're not limited by latency, allowing for much higher throughput.

    dc = Dalli::Client.new dc.multi do dc.set 'a', 1 dc.set 'b', 2 dc.set 'c', 3 dc.delete 'd' end

  • Minor fix to set the continuum sorted by value (kangster)
  • Implement session store with Rails 2.3. Update docs.

0.9.8

  • Implement namespace support
  • Misc fixes

0.9.7

  • Small fix for NewRelic integration.
  • Detect and fail on older memcached servers (pre-1.4).

0.9.6

  • Patches for Rails 3.0.1 integration.

0.9.5

  • Major design change - raw support is back to maximize compatibility with Rails and the increment/decrement operations. You can now pass :raw => true to most methods to bypass (un)marshalling.
  • Support symbols as keys (ddollar)
  • Rails 2.3 bug fixes

0.9.4

0.9.3

  • Rails 2.3 support (beanieboi)
  • Rails SessionStore support
  • Passenger integration
  • memcache-client upgrade docs, see Upgrade.md

0.9.2

  • Verify proper operation in Heroku.

0.9.1

  • Add fetch and cas operations (mperham)
  • Add incr and decr operations (mperham)
  • Initial support for SASL authentication via the MEMCACHE_{USERNAME,PASSWORD} environment variables, needed for Heroku (mperham)

0.9.0

  • Initial gem release.
Jump to Line
Something went wrong with that request. Please try again.