- Add
touchAfter
option to enable lazy update behavior ontouch()
method (rafaelcardoso) - Add
fallbackMemory
option to switch toMemoryStore
in some case.
- Add
touch()
method to be fully compliant withexpress-session
>= 1.10
(rafaelcardoso)
- Add
ttl
option - Add
autoRemove
option - Deprecate
defaultExpirationTime
option. Usettl
instead (in seconds)
- Make callbacks optional
- Extend compatibility to
mongodb
2.0.x
- [bugfix] #143 Missing Sessions from DB should still make callback (brekkehj)
- Accept full-featured MongoDB connection strings as
url
+ advanced options - Re-use existing or upcoming mongoose connection
- [DEPRECATED]
mongoose_connection
is renamedmongooseConnection
- [DEPRECATED]
auto_reconnect
is renamedautoReconnect
- [BREAKING]
autoReconnect
option is nowtrue
by default - [BREAKING] Insert
collection
option inurl
in not possible any more - [BREAKING] Replace for-testing-purpose
callback
byconnected
event - Add debug (use with
DEBUG=connect-mongo
) - Improve error management
- Compatibility with
mongodb
>= 1.2.0
and< 2.0.0
- Fix many bugs
- Bumped mongodb version from 1.3.x to 1.4.x (B0k0)
- Add
sid
hash capability (ZheFeng) - Add
serialize
andunserialize
options (ksheedlo)
- Merged a change which reduces data duplication
- Merged several changes by Ken Pratt, including Write Concern support
- Updated to
mongodb
version 1.2
- Integrated pull request for
mongoose_connection
option - Move to mongodb 1.0.x
- Made collection setup more robust to avoid race condition
- Added session expiry
- Added url support
- Added auto_reconnect option
- Fixed authentication
- Initial release