Skip to content

Latest commit

 

History

History
1063 lines (636 loc) · 65.4 KB

CHANGELOG.md

File metadata and controls

1063 lines (636 loc) · 65.4 KB

Changelog

Full Changelog

Merged pull requests:

v8.5.1 (2021-11-23)

Full Changelog

v8.5.0 (2021-11-16)

Full Changelog

Closed issues:

  • Support specifying which replica set to read from #407

Merged pull requests:

v8.4.2 (2021-11-11)

Full Changelog

Closed issues:

  • type definition error on MongooseServiceOptions<T & Document> #412

Merged pull requests:

v8.4.1 (2021-10-21)

Full Changelog

Closed issues:

  • Fix TSLint errors after upgrade #411

Merged pull requests:

v8.4.0 (2021-09-29)

Full Changelog

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 support multi: 'patch' #404
  • upsert: 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)

Full Changelog

Merged pull requests:

v8.3.2 (2021-04-08)

Full Changelog

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:

  • Only allow $populate when listed #401 (daffl)

v8.3.1 (2020-06-22)

Full Changelog

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:

8.3.0 (2020-01-08)

Full Changelog

v8.3.0 (2020-01-08)

Full Changelog

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)

Full Changelog

Merged pull requests:

v8.1.1 (2019-12-06)

Full Changelog

Closed issues:

  • feathers service #352
  • An in-range update of @feathersjs/adapter-commons is breaking the build 🚨 #350

Merged pull requests:

v8.1.0 (2019-10-07)

Full Changelog

Implemented enhancements:

  • whitelist property should merge with mongoose defaults #347

Merged pull requests:

  • Update all dependencies #349 (daffl)
  • Merge whitelist to always include $and #348 (daffl)

v8.0.3 (2019-09-29)

Full Changelog

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:

v8.0.2 (2019-08-07)

Full Changelog

Closed issues:

  • Returned objects not lean. Cannot set lean option. (Typescript) #335
  • populate not working for mongoose model #328

Merged pull requests:

  • Add missing options to definitions #336 (daffl)

v8.0.1 (2019-07-20)

Full Changelog

Closed issues:

  • get query object #332

Merged pull requests:

v8.0.0 (2019-07-07)

Full Changelog

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:

v7.3.2 (2019-03-04)

Full Changelog

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:

v7.3.1 (2019-01-31)

Full Changelog

Closed issues:

  • $and condition is not satisfied. #297

Merged pull requests:

v7.3.0 (2019-01-17)

Full Changelog

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)

Full Changelog

Fixed bugs:

  • unknown top level operator: $populate #293

Closed issues:

  • $populate as query param for create not working #268

Merged pull requests:

v7.1.3 (2019-01-06)

Full Changelog

Closed issues:

  • Failed to patch with null, error: TypeError: data.map is not a function at mapIds #289

Merged pull requests:

  • Make sure data is never paginated #292 (daffl)

v7.1.2 (2019-01-06)

Full Changelog

Closed issues:

  • Extra data directory included since version 7.0.0 #290

Merged pull requests:

v7.1.1 (2018-12-29)

Full Changelog

Merged pull requests:

  • Add default params to hook-less methods #288 (daffl)

v7.1.0 (2018-12-29)

Full Changelog

Closed issues:

  • feathers update service cleans document #274

Merged pull requests:

v7.0.0 (2018-12-18)

Full Changelog

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)

Full Changelog

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:

v6.2.0 (2018-10-03)

Full Changelog

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:

v6.1.4 (2018-08-08)

Full Changelog

Closed issues:

  • DeprecationWarning: collection.count is deprecated, and will be removed in a future version #246

Merged pull requests:

v6.1.3 (2018-08-06)

Full Changelog

Merged pull requests:

v6.1.2 (2018-06-03)

Full Changelog

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:

v6.1.1 (2018-04-19)

Full Changelog

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:

v6.1.0 (2018-01-20)

Full Changelog

Merged pull requests:

v6.0.0 (2017-12-03)

Full Changelog

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:

v5.1.2 (2017-08-14)

Full Changelog

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:

v5.1.1 (2017-07-07)

Full Changelog

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:

v5.1.0 (2017-04-29)

Full Changelog

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:

v5.0.3 (2017-03-02)

Full Changelog

v5.0.2 (2017-03-01)

Full Changelog

v5.0.1 (2017-03-01)

Full Changelog

Closed issues:

  • Blowing up Mongoose with undefined value in $push #167
  • Potential security issue with 409 error #166

Merged pull requests:

v5.0.0 (2017-02-27)

Full Changelog

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:

  • adding better mongoose conflict error handling #168 (ekryski)

v4.0.1 (2017-02-03)

Full Changelog

Merged pull requests:

  • Use toObject for create when lean is true #160 (daffl)

v4.0.0 (2017-01-29)

Full Changelog

Closed issues:

  • Make lean: true by default #132

Merged pull requests:

v3.6.2 (2017-01-13)

Full Changelog

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:

v3.6.1 (2016-11-15)

Full Changelog

Closed issues:

Merged pull requests:

v3.6.0 (2016-11-12)

Full Changelog

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:

v3.5.3 (2016-10-14)

Full Changelog

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:

  • Adds the posibility to send an object to the $select #129 (stalinb87)

v3.5.2 (2016-08-23)

Full Changelog

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:

v3.5.1 (2016-07-17)

Full Changelog

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)

Full Changelog

Fixed bugs:

  • We shouldn't remove properties from original objects #98

Merged pull requests:

v3.4.2 (2016-07-07)

Full Changelog

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:

v3.4.1 (2016-06-21)

Full Changelog

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)

Full Changelog

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:

v3.3.7 (2016-04-21)

Full Changelog

Fixed bugs:

  • $select doesn't work in find? #71

Closed issues:

  • hooks.toObject() fails if data is paginated #77
  • Bypass of methods #76
  • custom query #69

Merged pull requests:

v3.3.6 (2016-02-24)

Full Changelog

Merged pull requests:

v3.3.5 (2016-02-23)

Full Changelog

Merged pull requests:

  • enforcing that you shouldn't be able to change ids #65 (ekryski)

v3.3.4 (2016-02-23)

Full Changelog

Closed issues:

  • Updating/Patching with custom ids results in orphaned documents. #63

Merged pull requests:

  • custom ids no longer get deleted on patch and update. Closes #63 #64 (ekryski)

v3.3.3 (2016-02-23)

Full Changelog

Closed issues:

  • Error handler should reject not throw #61

Merged pull requests:

  • Convert errorHandler to return a rejected promise instead of throwing #62 (daffl)

v3.3.2 (2016-02-22)

Full Changelog

Merged pull requests:

v3.3.1 (2016-02-20)

Full Changelog

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:

  • get should use the options.id attribute. Closes #58 #59 (ekryski)

v3.3.0 (2016-02-12)

Full Changelog

Closed issues:

  • $populate options does not work in get() queries #53

Merged pull requests:

  • Implement $populate option in params.query on get() #54 (BigAB)

v3.2.0 (2016-02-09)

Full Changelog

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)

Full Changelog

Merged pull requests:

  • Make result counting optional and enable only for pagination #47 (daffl)

v3.1.0 (2016-01-30)

Full Changelog

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)

Full Changelog

Implemented enhancements:

  • Support batch creates #21
  • Support batch updates #20

Merged pull requests:

v3.0.3 (2016-01-08)

Full Changelog

Closed issues:

  • $populate is broken #40

v3.0.2 (2016-01-08)

Full Changelog

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)

Full Changelog

Closed issues:

  • ES6 export doesn't work with module export plugin #35

Merged pull requests:

  • Fix default module export for ES5 environments #36 (daffl)

v3.0.0 (2016-01-04)

Full Changelog

Implemented enhancements:

  • Auto-generate documentation from schema #9
  • Validation error should be returned as JSON #6

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:

v2.0.0 (2015-08-05)

Full Changelog

Implemented enhancements:

  • Validation #2
  • Support for relationships #1

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)

Full Changelog

Implemented enhancements:

  • Rename to feathers-mongoose #14

Closed issues:

  • Allow overriding default CRUD methods #12

v1.2.0 (2014-06-06)

Full Changelog

v1.1.0 (2014-04-23)

Full Changelog

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