ATTN: This project uses semantic versioning.
- Fix secure session using private_id
- Support Rails 8
- Support redis 5
- Actionpack more than or equal to 6
- Use AbstractSecureStore for security fix
- Support actionpack 7.x
- Move from TravisCI to Github Actions
- Drop support for ruby 2.3, 2.4
- Silence deprecation warning when using with redis gem v4.2+
0.11.1 - 2019-08-22
- Remove the
has_rdoc
parameter from the.gemspec
file as it has been deprecated. - Actionpack to '>= 3', remove upper dependency
0.11.0 - 2018-08-13
- JRuby to jruby-9.2.0.0
- Travis Ruby support: 2.3.7, 2.4.4, 2.5.1
- :ttl configuration option
0.10.0 - 2018-04-14
- JRuby to jruby-9.1.15.0
- Redis to '>= 3', '< 5'
- Actionpack to '>= 3', '< 6'
- Rake to 12
- with_indifferent_access if defined ActiveSupport
0.9.2 - 2017-10-31
- Actionpack to 5.1
- Travis use jruby 9.1.13.0
0.9.1 - 2016-07-03
- More specific runtime dependencies
- Documentation and whitespace
0.9.0 - 2016-07-02
CODE_OF_CONDUCT.md
- Method alias for
#delete_session
->#destroy_session
- Tested version of Ruby 2 up to 2.3.1
- Session config examples to use
redis: { url: '...' }
- Ruby 1.9.3 support due to Rack 2 requirements
0.8.1 - 2016-01-25
- Support for Rails 5 and Rack 2
- Error support for redis-rb v3 gem
0.8.0 - 2014-08-28
- Allow for injection of custom redis client
- Explicitly declare actionpack dependency
- Spec updates for rspec 3
0.7.0 - 2014-04-22
- Issue #38, we now delay writing to redis until a session exists. This is a
backwards-incompatible change, as it removes the
on_sid_collision
option. There is now no checking for sid collisions, however that is very unlikely.
0.6.6 - 2014-04-08
- Issue #37, use correct constant for
ENV_SESSION_OPTIONS_KEY
if not passed.
0.6.5 - 2014-04-04
- Issue #36, use setnx to get a new session id instead of get. This prevents a very rare id collision.
0.6.4 - 2014-04-04
#setnx
usage in v0.6.3 so we can change our sessions
0.6.3 - 2014-04-01
- Setting session ID with a multi-call
#setnx
and#expire
instead of#setex
.
#setnx
change in v0.6.2 as it behaved badly under load, hitting yet another race condition issue and pegging the CPU.
0.6.2 - 2014-03-31
- Use
#setnx
instead of#get
when checking for session ID collisions, which is slightly more paranoid and should help avoid a particularly nasty edge case.
0.6.1 - 2014-03-17
- Compatibility with
ActionDispatch::Request::Session::Options
when destroying sessions.
0.6.0 - 2014-03-17
- Custom serializer configuration
- Custom handling capability for session load errors
- Always destroying sessions that cannot be loaded
0.5.0 - 2014-03-16
- Support for
on_sid_collision
handler option - Support for
on_redis_down
handler option
- Keep generating session IDs until one is found that doesn't collide with existing session IDs
- BACKWARD INCOMPATIBLE Drop support for
:raise_errors
option
0.4.2 - 2014-03-14
- Renaming
load_session
method to not conflict with AbstractStore
0.4.1 - (2014-03-13) [YANKED]
- Regenerate session ID when session is missing
0.4.0 - 2014-02-19
- Support for
ENV_SESSION_OPTIONS_KEY
rack env option - Support for
:raise_errors
session option (kinda like Dalli)
- Increasing test coverage
0.3.1 - 2014-02-19
#destroy_session
method
- Clean up remaining RuboCop offenses
- Documentation updates
0.3.0 - 2014-02-13
- Rails 3 compatibility
- Add test coverage
- Switch from minitest to rspec
- RuboCop cleanup
0.2.4 - 2014-03-16
- Keep generating session IDs until one is found that doesn't collide with existing session IDs
0.2.3 - 2014-03-14
- Renaming
load_session
method to not conflict with AbstractStore
0.2.2 - 2014-03-13 [YANKED]
- Regenerate session ID when session is missing
0.2.1 - 2013-09-17
- Explicit MIT license metadata in gemspec
0.2.0 - 2013-09-13
- Gemfile, gemspec, and git updates
#destroy
method- Travis integration
- Some minimal tests to ensure backward compatibility session options
- Nest redis-specific options inside a
:redis
key of session options - Rescue only
Errno::ECONNREFUSED
exceptions - Handle
nil
cookies during#destroy
0.1.9 - 2012-03-06
- Use
@redis.setex
when expiry provided, else@redis.set
- gemification
- Options hash to no longer expect redis options at same level
0.1.8 - 2010-12-09
- Use of
@redis.pipelined
- Using latest redis gem API
- Using pipelined format with
set
andexpire
- Changing default port from 6370 to 6379
- Redis parameter from
:server
to:host
- Documentation updates
- Documentation updates
- library file renamed to
redis-session-store.rb
to play nicely with rails require
- first working version