4.9 KiB
4.9 KiB
2.0.3 / 2018-12-03
- Fix interval autoremove mode to use current date with every interval (#304, #305) (jlampise)
2.0.2 / 2018-11-20
- Fix #300 DeprecationWarning: collection.remove is deprecated. Use deleteOne, deleteMany, or bulkWrite instead
- Fix #297 DeprecationWarning: collection.update is deprecated. Use updateOne, updateMany, or bulkWrite instead
2.0.1 / 2018-01-04
- Fix #271 TypeError: cb is not a function (brainthinks)
2.0.0 / 2017-10-09
- Drop Node.js 0.12 and io.js support
- Drop MongoDB 2.x support
- Drop mongodb driver < 2.0.36 support
- Drop mongoose < 4.1.2 support
- Fix
ensureIndexdeprecation warning (#268, #269, #270) - Improve
get()(#246) - Pass session in
touchevent - Remove
bluebirdfrom dependencies
1.3.2 / 2016-07-27
- Fix #228 Broken with mongodb@1.x
1.3.1 / 2016-07-23
- Restrict
bluebirdaccepted versions to 3.x
1.3.0 / 2016-07-23
- Add
createandupdateevents (#215) - Extend
mongodbcompatibility to2.x
1.2.1 / 2016-06-20
- Fix bluebird warning (Awk34)
1.2.0 / 2016-05-13
- Accept
dbPromiseas connection param - Add
close()method to close current connection
1.1.0 / 2015-12-24
- Support mongodb
2.1.x
1.0.2 / 2015-12-18
- Enforce entry-points
1.0.1 / 2015-12-17
- Fix entry-point
1.0.0 (deprecated) / 2015-12-17
Breaking changes:
- For older Node.js version (
< 4.0), the module must be loaded usingrequire('connect-mongo/es5') - Drop
hashoption (advanced)
Others changes:
- Add
transformIdoption to allow custom transformation on session id (advanced) - Rewrite in ES6 (w/ fallback)
- Update dependencies
- Improve compatibility
0.8.2 / 2015-07-14
- Bug fixes and improvements (whitef0x0, TimothyGu, behcet-li)
0.8.1 / 2015-04-21
- Fix initialization when a connecting
mongodb2.0.xinstance is given (1999)
0.8.0 / 2015-03-24
- Add
touchAfteroption to enable lazy update behavior ontouch()method (rafaelcardoso) - Add
fallbackMemoryoption to switch toMemoryStorein some case.
0.7.0 / 2015-01-24
- Add
touch()method to be fully compliant withexpress-session>= 1.10(rafaelcardoso)
0.6.0 / 2015-01-12
- Add
ttloption - Add
autoRemoveoption - Deprecate
defaultExpirationTimeoption. Usettlinstead (in seconds)
0.5.3 / 2014-12-30
- Make callbacks optional
0.5.2 / 2014-12-29
- Extend compatibility to
mongodb2.0.x
0.5.1 / 2014-12-28
- [bugfix] #143 Missing Sessions from DB should still make callback (brekkehj)
0.5.0 (deprecated) / 2014-12-25
- Accept full-featured MongoDB connection strings as
url+ advanced options - Re-use existing or upcoming mongoose connection
- [DEPRECATED]
mongoose_connectionis renamedmongooseConnection - [DEPRECATED]
auto_reconnectis renamedautoReconnect - [BREAKING]
autoReconnectoption is nowtrueby default - [BREAKING] Insert
collectionoption inurlin not possible any more - [BREAKING] Replace for-testing-purpose
callbackbyconnectedevent - Add debug (use with
DEBUG=connect-mongo) - Improve error management
- Compatibility with
mongodb>= 1.2.0and< 2.0.0 - Fix many bugs
0.4.2 / 2014-12-18
- Bumped mongodb version from 1.3.x to 1.4.x (B0k0)
- Add
sidhash capability (ZheFeng) - Add
serializeandunserializeoptions (ksheedlo)
0.3.3 / 2013-07-04
- Merged a change which reduces data duplication
0.3.0 / 2013-01-20
- Merged several changes by Ken Pratt, including Write Concern support
- Updated to
mongodbversion 1.2
0.2.0 / 2012-09-09
- Integrated pull request for
mongoose_connectionoption - Move to mongodb 1.0.x
0.1.5 / 2010-07-07
- Made collection setup more robust to avoid race condition
0.1.4 / 2010-06-28
- Added session expiry
0.1.3 / 2010-06-27
- Added url support
0.1.2 / 2010-05-18
- Added auto_reconnect option
0.1.1 / 2010-03-18
- Fixed authentication
0.1.0 / 2010-03-08
- Initial release