You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@
33
33
34
34
# Mongo Module
35
35
36
-
`Mongo` module for the Hapiness framework including a`mongoose` adapter and a `mongoose-gridfs` one.
36
+
`Mongo` module for the Hapiness framework including `mongoose`,`mongoose-gridfs` (deprecated) and `mongoose-gridfs-bucket` adapter one.
37
37
38
38
## Table of contents
39
39
@@ -112,7 +112,7 @@ Your adapter should be a class which inherits from `AbstractHapinessMongoAdapter
112
112
113
113
### Step 2
114
114
115
-
You absolutely need to implement a static function `getInterfaceName`, which will return a uniq string identifier for your adapter (**NOTE**`mongoose`and `mongoose-gridfs` are already used by adapters provided by this module).
115
+
You absolutely need to implement a static function `getInterfaceName`, which will return a uniq string identifier for your adapter (**NOTE**`mongoose`, `mongoose-gridfs`and `mongoose-gridfs-bucket` are already used by adapters provided by this module).
116
116
117
117
### Step 3
118
118
@@ -486,6 +486,11 @@ To set up your development environment:
486
486
487
487
## Change History
488
488
489
+
* v2.0.0
490
+
* Updated mongoose to latest version
491
+
* Removed the call to createConnection from the constructor of mongo adapter.
492
+
* Now catch connection errors and pipe them out to be catch by user later on. No more waiting for timeout to realize there is a connection error.
493
+
* MongooseGridfsAdapter is now deprecated. Use MongooseGridfsBucketAdapter
489
494
* v1.2.0 (2018-04-05)
490
495
* Updated packages' versions.
491
496
* added support of `OnShutdown` of `hapiness Core`
@@ -520,7 +525,7 @@ To set up your development environment:
0 commit comments