blob: 7b40aef4cb9b03484da1a0d24450680100d58577 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
1.3.2 / 2016-07-27
=================
* __Fix__ #228 Broken with mongodb@1.x
1.3.1 / 2016-07-23
=================
* Restrict `bluebird` accepted versions to 3.x
1.3.0 / 2016-07-23
=================
* __Add__ `create` and `update` events ([#215](https://github.com/kcbanner/connect-mongo/issues/215))
* Extend `mongodb` compatibility to `2.x`
1.2.1 / 2016-06-20
=================
* __Fix__ bluebird warning (Awk34)
1.2.0 / 2016-05-13
=================
* Accept `dbPromise` as 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 using `require('connect-mongo/es5')`__
* __Drop__ `hash` option (advanced)
__Others changes:__
* __Add__ `transformId` option 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 `mongodb` `2.0.x` instance is given (1999)
0.8.0 / 2015-03-24
==================
* __Add__ `touchAfter` option to enable lazy update behavior on `touch()` method (rafaelcardoso)
* __Add__ `fallbackMemory` option to switch to `MemoryStore` in some case.
0.7.0 / 2015-01-24
==================
* __Add__ `touch()` method to be fully compliant with `express-session` `>= 1.10` (rafaelcardoso)
0.6.0 / 2015-01-12
==================
* __Add__ `ttl` option
* __Add__ `autoRemove` option
* __Deprecate__ `defaultExpirationTime` option. Use `ttl` instead (in seconds)
0.5.3 / 2014-12-30
==================
* Make callbacks optional
0.5.2 / 2014-12-29
==================
* Extend compatibility to `mongodb` `2.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](http://docs.mongodb.org/manual/reference/connection-string/) as `url` + [advanced options](http://mongodb.github.io/node-mongodb-native/1.4/driver-articles/mongoclient.html)
* Re-use existing or upcoming mongoose connection
* [DEPRECATED] `mongoose_connection` is renamed `mongooseConnection`
* [DEPRECATED] `auto_reconnect` is renamed `autoReconnect`
* [BREAKING] `autoReconnect` option is now `true` by default
* [BREAKING] Insert `collection` option in `url` in not possible any more
* [BREAKING] Replace for-testing-purpose `callback` by `connected` event
* Add debug (use with `DEBUG=connect-mongo`)
* Improve error management
* Compatibility with `mongodb` `>= 1.2.0` and `< 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 `sid` hash capability (ZheFeng)
* Add `serialize` and `unserialize` options (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 `mongodb` version 1.2
0.2.0 / 2012-09-09
==================
* Integrated pull request for `mongoose_connection` option
* 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
|