Merged pull requests:
v8.5.1 (2021-11-23)
v8.5.0 (2021-11-16)
Closed issues:
- Support specifying which replica set to read from #407
Merged pull requests:
v8.4.2 (2021-11-11)
Closed issues:
- type definition error on MongooseServiceOptions<T & Document> #412
Merged pull requests:
- Fix typing #418 (bartduisters)
- Fix typo in README #416 (ericirish)
- chore(dependencies): Update all dependencies #415 (daffl)
v8.4.1 (2021-10-21)
Closed issues:
- Fix TSLint errors after upgrade #411
Merged pull requests:
- Fix TypeScript linting #414 (daffl)
- Update index.d.ts #413 (bartduisters)
v8.4.0 (2021-09-29)
Closed issues:
- mongodump doesn't support collections with a slash in their name #408
- whitelist $and operator problems #406
- how release some function look intro #405
upsert: true
does not supportmulti: 'patch'
#404upsert: true
skips schema validation #403- Mongoose service not returning Map attribute #398
Merged pull requests:
- Update to Mongoose 6 and upgrade project infrastructure #410 (daffl)
- fix: create returns undefined if data is empty array (for multi) #394 (bwgjoseph)
- Improved typing of Model property #390 (rnbrady)
v8.3.3 (2021-04-08)
Merged pull requests:
v8.3.2 (2021-04-08)
Fixed bugs:
- Patch changed queries #377
Closed issues:
- Security Issue - whitelist doesn't remove $populate #400
- Sort outer collection by populated inner collections #399
- Compatibility issues with mongoose < 5.2.0 #393
- Crear vistas en feathers-mongoose #392
- "command insert requires authentication", db adapter not production-ready? #389
- An in-range update of mongoose is breaking the build 🚨 #376
Merged pull requests:
v8.3.1 (2020-06-22)
Closed issues:
- post working even when not passing in multi array #387
- Invalid query parameter $elemMatch #384
- bug in custom route hooks ( authentication ) #381
- Data has been write to test database #380
- No record found for id... when authenticating #378
- Is this compatible with Amazon's DocumentDB? #374
- Support arrayFilter in patch #373
- _get and _patch "No record found for id" #369
- Can't get softDelete2 working properly!! #367
- An in-range update of dtslint is breaking the build 🚨 #366
- Incorrect behavior in a shard cluster #361
- An in-range update of @feathersjs/adapter-commons is breaking the build 🚨 #360
- Typescipt definitions do not include service.setup() method #357
Merged pull requests:
- Fix params.transactionOpen reset in rollback #386 (wcheung26)
- Update sinon to the latest version 🚀 #372 (greenkeeper[bot])
- Update dtslint to the latest version 🚀 #371 (greenkeeper[bot])
- Update all dependencies and Types version #368 (daffl)
8.3.0 (2020-01-08)
v8.3.0 (2020-01-08)
Fixed bugs:
- service.patch leads to 404 if query contains the patched field #345
- patch is incorrectly applying the entire query when re-fetching #321
Merged pull requests:
v8.2.0 (2020-01-05)
Merged pull requests:
- Add launch.json for mocha tests & fix typescript error. #365 (marshallswain)
- Update sinon to the latest version 🚀 #363 (greenkeeper[bot])
- 🐛 fix 404 on patch call #362 (arfanliaqat)
v8.1.1 (2019-12-06)
Closed issues:
- feathers service #352
- An in-range update of @feathersjs/adapter-commons is breaking the build 🚨 #350
Merged pull requests:
- Update all dependencies #359 (daffl)
- fix: handling of params.mongoose in transaction #358 (florianbepunkt)
- Update dtslint to the latest version 🚀 #356 (greenkeeper[bot])
- Update dtslint to version 1.0.2 #355 (daffl)
- Greenkeeper/@feathersjs/adapter commons 4.3.8 #351 (daffl)
v8.1.0 (2019-10-07)
Implemented enhancements:
whitelist
property should merge with mongoose defaults #347
Merged pull requests:
v8.0.3 (2019-09-29)
Closed issues:
- An in-range update of run-rs is breaking the build 🚨 #341
- An in-range update of mongoose is breaking the build 🚨 #340
- An in-range update of mongoose is breaking the build 🚨 #337
Merged pull requests:
- Update run-rs to the latest version 🚀 #346 (greenkeeper[bot])
- Update all dependencies #344 (daffl)
- Greenkeeper/run rs 0.5.5 #343 (daffl)
- Pass entity type to AdapterService<T> #342 (Palivonas)
- Update semistandard to the latest version 🚀 #338 (greenkeeper[bot])
v8.0.2 (2019-08-07)
Closed issues:
- Returned objects not lean. Cannot set lean option. (Typescript) #335
- populate not working for mongoose model #328
Merged pull requests:
v8.0.1 (2019-07-20)
Closed issues:
- get query object #332
Merged pull requests:
- Add missing types mapping #334 (daffl)
- Update dtslint to the latest version 🚀 #333 (greenkeeper[bot])
v8.0.0 (2019-07-07)
Closed issues:
- Change _Id to id #325
- How to pass collation from client? #322
- Populate 2 levels deep #320
- $populate example in docs has a typo #319
- Why is $text not whitelisted when querying? #318
- An in-range update of mongoose is breaking the build 🚨 #317
- Help with inserting subdocuments #316
- gridfs support? #315
- get object through the _id reference #314
- Not able to receive the response in patch request when $push is used in feathersjs. #313
Merged pull requests:
- Fix query merging on patch #330 (daffl)
- Add TypeScript definitions and upgrade tests to Feathers 4 #329 (daffl)
- Update all dependencies #327 (daffl)
- Update run-rs to the latest version 🚀 #312 (greenkeeper[bot])
v7.3.2 (2019-03-04)
Closed issues:
- Invalid query parameter $and #309
- An in-range update of sinon is breaking the build 🚨 #308
- An in-range update of mongoose is breaking the build 🚨 #307
- Cannot read property 'startSession' of undefined #304
- An in-range update of mocha is breaking the build 🚨 #303
- An in-range update of mongoose is breaking the build 🚨 #301
- An in-range update of mongoose is breaking the build 🚨 #300
Merged pull requests:
- Whitelist and $and and $regex #311 (daffl)
- Use Mongoose directly to start a session #310 (daffl)
- Greenkeeper/mocha 6.0.2 #306 (daffl)
- Update mocha to the latest version 🚀 #302 (greenkeeper[bot])
- Fix: Added test case for find transaction #299 (Sharveshkumar)
v7.3.1 (2019-01-31)
Closed issues:
- $and condition is not satisfied. #297
Merged pull requests:
- Fix: Transaction for find and get. #298 (Sharveshkumar)
v7.3.0 (2019-01-17)
Closed issues:
- Conflict error for compound indexes is not correct #258
Merged pull requests:
- Expose original MongoDB error following feathers-sequelize methodology #296 (cdimitroulas)
v7.2.0 (2019-01-13)
Fixed bugs:
- unknown top level operator: $populate #293
Closed issues:
- $populate as query param for create not working #268
Merged pull requests:
- Fix populate usage and enable for .create #295 (daffl)
- Make sure ids in queries are respected #294 (greenkeeper[bot])
v7.1.3 (2019-01-06)
Closed issues:
- Failed to patch with null, error: TypeError: data.map is not a function at mapIds #289
Merged pull requests:
v7.1.2 (2019-01-06)
Closed issues:
- Extra data directory included since version 7.0.0 #290
Merged pull requests:
v7.1.1 (2018-12-29)
Merged pull requests:
v7.1.0 (2018-12-29)
Closed issues:
- feathers update service cleans document #274
Merged pull requests:
- Added hooks to support mongo-db transaction #276 (jaiyashree)
v7.0.0 (2018-12-18)
Implemented enhancements:
- params.query is ignored for returned data when removing a record #244
Security fixes:
- $populate security risk #207
Closed issues:
- An in-range update of @feathersjs/express is breaking the build 🚨 #284
- An in-range update of @feathersjs/errors is breaking the build 🚨 #283
- An in-range update of mongoose is breaking the build 🚨 #282
- An in-range update of mongoose is breaking the build 🚨 #278
- how to disable a hook in call a method? #277
- An in-range update of mongoose is breaking the build 🚨 #272
Merged pull requests:
- Upgrade to @feathersjs/adapter-commons and latest common service features #286 (daffl)
- Update run-rs setup #285 (daffl)
- feat: add query filters additionally to id in the get hook #280 (aliveghost04)
- Update README.md #279 (einstenj)
v6.3.0 (2018-11-27)
Implemented enhancements:
- Passing through collation options for case insensitive sorting #211
Closed issues:
- Populating multiple paths is not supported #271
- An in-range update of @feathersjs/socketio is breaking the build 🚨 #267
- Schema validation does not run for patch requests #266
- Bug $near on version 6.1.4 not working, 6.1.3 return wrong total ( collection total, not total found ) #264
Merged pull requests:
- Fix deprecation warnings and update dependencies #275 (daffl)
- Add missing property option in readme #270 (aliveghost04)
- Update semistandard to the latest version 🚀 #269 (greenkeeper[bot])
- Feat: mongo opt to return writeResult #261 (54M5M17H)
v6.2.0 (2018-10-03)
Fixed bugs:
- Inconsistent discriminator API #247
Closed issues:
- Error: You must provide a Mongoose Model (at new Service) on Model variable name change #265
- An in-range update of @feathersjs/errors is breaking the build 🚨 #262
- patch model with a discriminator #259
- [question][Documents] RunValidators is set by default? #255
- There is total but no data #254
Merged pull requests:
- Handled collation param for case insensitive indexes #263 (superbarne)
- fix test because mongoose broke it #260 (superbarne)
- Update default settings in docs #256 (ghost)
- reconcile create handler discriminatorKey #253 (makslevental)
v6.1.4 (2018-08-08)
Closed issues:
- DeprecationWarning: collection.count is deprecated, and will be removed in a future version #246
Merged pull requests:
estimatedDocumentCount
tocountDocuments
#252 (giovannilobitos)
v6.1.3 (2018-08-06)
Merged pull requests:
- Updated to remove the deprecated .count #250 (Mattchewone)
- Update sinon to the latest version 🚀 #243 (greenkeeper[bot])
v6.1.2 (2018-06-03)
Closed issues:
- Patch/update should load the document and then save to call defaults/setters #231
- Working example of sort by distance with latitude/longitude and maxDistance? #230
- Virtuals Lean and Populate and toObject #198
Merged pull requests:
- Update uberproto to the latest version 🚀 #242 (greenkeeper[bot])
v6.1.1 (2018-04-19)
Closed issues:
- Mongoose 5 warning "The
useMongoClient
option is no longer necessary in mongoose 5.x, please remove it." #239 - Grouping #236
- Mongoose ObjectId not be recognised as _id in create #232
Merged pull requests:
- Remove indexes #241 (daffl)
- Fix bug where regex fails in error-handler #240 (cdimitroulas)
- Update sinon-chai to the latest version 🚀 #234 (greenkeeper[bot])
v6.1.0 (2018-01-20)
Merged pull requests:
- Update mocha to the latest version 🚀 #229 (greenkeeper[bot])
- Update mongoose to the latest version 🚀 #228 (greenkeeper[bot])
- Update semistandard to the latest version 🚀 #227 (greenkeeper[bot])
v6.0.0 (2017-12-03)
Implemented enhancements:
- Suggestion - insertMany #197
Closed issues:
- mongoose validation error (in hook) kills nodejs process #222
- Add example for nested schemas using feathers #221
- Are nested schemas saved? #220
- Feathers error 409 - conflict: message 'follows: null already exists'' #219
- Find Query with $in array of ObjectId's #216
- Can not call update with a null id #214
- poulate after create hook #213
- Mongoose query aggregation #212
- Can't update field that is used as id #202
- $populate enhancement #149
- Mongoose ValidationError messages do not surface #116
Merged pull requests:
- Remove examples #225 (daffl)
- Update to Feathers Buzzard (v3) #224 (daffl)
- Update to new plugin infrastructure #223 (daffl)
- Update mocha to the latest version 🚀 #217 (greenkeeper[bot])
- Update sinon to the latest version 🚀 #215 (greenkeeper[bot])
v5.1.2 (2017-08-14)
Closed issues:
- Changing embedded documents #208
- Query $in with more than 21 items throw a MongooseError.CastError #205
- Service should provide a hook to loaded resource or respect filters in all methods #204
- Custom ID Not working #189
- Discriminators is not working #188
- Make sure create many works with lean:true. Follow up on #160 #161
- PUT (update) does not run mongoose validators #115
Merged pull requests:
- Update sinon to the latest version 🚀 #206 (greenkeeper[bot])
- Fixing broken links to docs #203 (corymsmith)
- Ensure bulk create returns plain objects when lean is 'true' #186 (DesignByOnyx)
v5.1.1 (2017-07-07)
Closed issues:
- Mongoose middleware not working correctly with feathers? #196
- Mongoose dependency issues #193
- An in-range update of mongoose is breaking the build 🚨 #192
- Default for mongoose update not really good (override true) #191
- Using [$in] with a single value #185
Merged pull requests:
- Handle upserts with patch #200 (marshallswain)
- Greenkeeper/mongoose 4.10.4 #195 (daffl)
- Update chai to the latest version 🚀 #194 (greenkeeper[bot])
- Update feathers-socketio to the latest version 🚀 #190 (greenkeeper[bot])
- Update feathers-service-tests to the latest version 🚀 #187 (greenkeeper[bot])
v5.1.0 (2017-04-29)
Closed issues:
- An in-range update of mongoose is breaking the build 🚨 #184
- Can't use mongoose plugin based on pre with patch or put #178
- lean and populate #169
Merged pull requests:
- Update semistandard to the latest version 🚀 #183 (greenkeeper[bot])
- Update feathers-hooks to the latest version 🚀 #182 (greenkeeper[bot])
- Update dependencies to enable Greenkeeper 🌴 #181 (greenkeeper[bot])
- Discriminated Model Support #180 (thebarndog)
- Update sinon to version 2.0.0 🚀 #176 (greenkeeperio-bot)
v5.0.3 (2017-03-02)
v5.0.2 (2017-03-01)
v5.0.1 (2017-03-01)
Closed issues:
Merged pull requests:
v5.0.0 (2017-02-27)
Closed issues:
- Please provide a working example for $push #165
- Virtuals #164
- How can I pass additional query parameters in a REST
put
operation? #162
Merged pull requests:
v4.0.1 (2017-02-03)
Merged pull requests:
v4.0.0 (2017-01-29)
Closed issues:
- Make lean: true by default #132
Merged pull requests:
v3.6.2 (2017-01-13)
Closed issues:
- using lean options in a service with a subdocument model doesn't seem to work #157
- Cast to ObjectId failed for value _id #156
Merged pull requests:
- Allow $select to catch and use string syntax #158 (jamesjnadeau)
- Added warning msg when options.lean is falsey #155 (eddyystop)
v3.6.1 (2016-11-15)
Closed issues:
Merged pull requests:
v3.6.0 (2016-11-12)
Fixed bugs:
- patch doesn't throw correct object #110
Closed issues:
- Patch is deleting subdocument data #144
- How do I get average? #140
- Support $select in get #134
- Add changelog binary to repo #114
Merged pull requests:
- Update feathers-service-tests to version 0.9.0 🚀 #150 (greenkeeperio-bot)
- feathers-rest@1.5.2 breaks build
⚠️ #147 (greenkeeperio-bot) - Node 4+ #146 (daffl)
- babel-core@6.18.2 breaks build
⚠️ #143 (greenkeeperio-bot) - babel-cli@6.18.0 breaks build
⚠️ #138 (greenkeeperio-bot) - jshint —> semistandard #131 (corymsmith)
- adding code coverage #130 (ekryski)
- Update feathers-service-tests to version 0.8.1 🚀 #124 (greenkeeperio-bot)
v3.5.3 (2016-10-14)
Closed issues:
- Add MongoDB requirement information to README #128
- Query filter does not work with booleans #122
- Extending rest api functionality #121
- $populate across multiple levels #119
- Cannot get REST response to work #118
- $or query with a REST GET request ($or needs an array) #117
Merged pull requests:
v3.5.2 (2016-08-23)
Fixed bugs:
- Cannot $populate on update or patch #111
Closed issues:
- Soft Delete #109
- Routing Feathers service with express #108
- Wrong ObjectId passed to service methods on nested routes #106
- How to change response code and data #102
Merged pull requests:
- Ensure we convert mongoose models to regular objects. Closes #110. #112 (ekryski)
- Update mocha to version 3.0.0 🚀 #107 (greenkeeperio-bot)
v3.5.1 (2016-07-17)
Fixed bugs:
- Duplicate key errors should be Conflicts not BadRequests #104
Merged pull requests:
- changing duplicate key error to feathers Conflict error. Closes #104 #105 (ekryski)
- Update feathers-query-filters to version 2.0.0 🚀 #101 (greenkeeperio-bot)
v3.5.0 (2016-07-09)
Fixed bugs:
- We shouldn't remove properties from original objects #98
Merged pull requests:
- feathers-service-tests@0.6.2 breaks build 🚨 #100 (greenkeeperio-bot)
v3.4.2 (2016-07-07)
Closed issues:
- Update README.md to reflect change to 'name' option for the service. #96
- Can't use
$inc
in patch #95 - Is this possible for multiple insert using Feathers mongoose? #94
Merged pull requests:
- Adding Context:'query' so validators get the updating document #99 (quick691fr)
- Update README.md #97 (githugger)
- mongoose@4.5.2 breaks build 🚨 #93 (greenkeeperio-bot)
v3.4.1 (2016-06-21)
Closed issues:
- Support passing mongoose specific params to queries. #70
- Add a way to $push in a PATCH #68
- Handle duplicate key errors as a special case #67
Merged pull requests:
- Wrapping native mongoldb errors. Specifically duplicate key errors. #92 (ekryski)
- Adding support to be able to do $push, $set, etc. on patch #91 (ekryski)
v3.4.0 (2016-06-17)
Closed issues:
- _id is a string #89
- Embedded documents validation using model validation #88
- Cast to ObjectId failed for value X at path "_id" #81
- $populate documentation #75
- Change remove-all syntax. #74
- update operations don't fail if required keys are missing. #73
- Support $search #50
Merged pull requests:
- Update feathers-service-tests to version 0.6.0 🚀 #90 (greenkeeperio-bot)
- Adding runValidators #87 (marshallswain)
- mocha@2.5.0 breaks build 🚨 #86 (greenkeeperio-bot)
- Update babel-plugin-add-module-exports to version 0.2.0 🚀 #84 (greenkeeperio-bot)
v3.3.7 (2016-04-21)
Fixed bugs:
- $select doesn't work in find? #71
Closed issues:
Merged pull requests:
v3.3.6 (2016-02-24)
Merged pull requests:
v3.3.5 (2016-02-23)
Merged pull requests:
v3.3.4 (2016-02-23)
Closed issues:
- Updating/Patching with custom ids results in orphaned documents. #63
Merged pull requests:
v3.3.3 (2016-02-23)
Closed issues:
- Error handler should reject not throw #61
Merged pull requests:
v3.3.2 (2016-02-22)
Merged pull requests:
v3.3.1 (2016-02-20)
Closed issues:
- option.id ignored in _get #58
- What is the best way for validate mongoose models? #57
- Validation errors return an HTTP 500 Error #56
- how to catch MongoError #55
- Documentation on troubleshooting #31
Merged pull requests:
v3.3.0 (2016-02-12)
Closed issues:
- $populate options does not work in get() queries #53
Merged pull requests:
v3.2.0 (2016-02-09)
Closed issues:
- use .lean() liberally in fetch's? #51
- Document using $regex #49
- Adding fields on update isn't currently possible #48
- toObject() hook should check for presence of .toObject() #44
- With toObject(), ObjectIDs aren't stringified. #43
Merged pull requests:
v3.1.1 (2016-01-30)
Merged pull requests:
v3.1.0 (2016-01-30)
Merged pull requests:
- Use internal methods instead of service methods directly #46 (daffl)
- Remove array check in create. #45 (marshallswain)
v3.0.4 (2016-01-08)
Implemented enhancements:
Merged pull requests:
- Documenting the toObject hook. #41 (marshallswain)
v3.0.3 (2016-01-08)
Closed issues:
- $populate is broken #40
v3.0.2 (2016-01-08)
Implemented enhancements:
- Support replica sets #19
Closed issues:
- Docs for extending are wrong #39
- Named export 'service' should expose constructor function, not init function #37
- No documentation for Error handling #28
- Add documentation for use with feathers-hooks #25
v3.0.1 (2016-01-08)
Closed issues:
- ES6 export doesn't work with module export plugin #35
Merged pull requests:
v3.0.0 (2016-01-04)
Implemented enhancements:
Closed issues:
- Add docs for overriding the service methods (patch for example) #34
- NPM Release for feathers-hooks #29
- Events? #27
- How to override service methods #26
- Utilize query.lean() to get plain objects. #24
- Document using virtuals. #23
Merged pull requests:
- Update to ES6 #33 (ekryski)
- Add toObject hook for documents. #32 (marshallswain)
- delete app.configure(feathers.errors()) #30 (AminBK)
- Add feathers-hooks compatibility. #22 (marshallswain)
v2.0.0 (2015-08-05)
Implemented enhancements:
Closed issues:
- Should use underscores to donate filter params vs. params that are on a model #17
- Update examples for 1.0.0 and add example for extension #15
Merged pull requests:
2.0.0-pre.1 (2014-07-19)
Implemented enhancements:
- Rename to feathers-mongoose #14
Closed issues:
- Allow overriding default CRUD methods #12
v1.2.0 (2014-06-06)
v1.1.0 (2014-04-23)
Implemented enhancements:
- Getter methods for Mongoose schema and model #10
- Add
feathers-plugin
to keywords of package.json #8 - Limited peerDependencies versions #7
- Searching (READ ALL) #4
- Sorting #3
Fixed bugs:
- Mongoose TypeError when creating Schema #5
Merged pull requests:
* This Changelog was automatically generated by github_changelog_generator