Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mongoose: 5.7.9 → 5.8.6 (minor) #38

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link

@depfu depfu bot commented Jan 9, 2020

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ mongoose (5.7.9 → 5.8.6) · Repo · Changelog

Release Notes

5.8.6 (from changelog)

  • chore: merge changes from 4.13.20 and override mistaken publish to latest tag

5.8.5 (from changelog)

  • fix(document): throw error when running validate() multiple times on the same document #8468
  • fix(model): ensure deleteOne() and deleteMany() set discriminator filter even if no conditions passed #8471
  • fix(document): allow pre('validate') hooks to throw errors with name = 'ValidationError' #8466
  • fix(update): move top level $set of immutable properties to $setOnInsert so upserting with immutable properties actually sets the property #8467
  • fix(document): avoid double-running validators on single nested subdocs within single nested subdocs #8468
  • fix(populate): support top-level match option for virtual populate #8475
  • fix(model): avoid applying skip when populating virtual with count #8476

5.8.4 (from changelog)

  • fix(populate): ensure populate virtual gets set to empty array if localField is undefined in the database #8455
  • fix(connection): wrap mongoose.connect() server selection timeouts in MongooseTimeoutError for more readable stack traces #8451
  • fix(populate): allow deselecting foreignField from projection by prefixing with - #8460
  • fix(populate): support embedded discriminators with refPath when not all discriminator schemas have refPath #8452
  • fix(array): allow defining enum on array if an array of numbers #8449

5.8.3 (from changelog)

  • fix: upgrade mongodb -> 3.4.1 #8430 jaschaio
  • fix(populate): don't add empty subdocument to array when populating path underneath a non-existent document array #8432
  • fix(schema): handle _id option for document array schematypes #8450
  • fix(update): call setters when updating mixed type #8444
  • docs(connections): add note about MongoTimeoutError.reason #8402

5.8.2 (from changelog)

  • fix(schema): copy .add()-ed paths when calling .add() with schema argument #8429
  • fix(cursor): pull schema-level readPreference when using Query#cursor() #8421
  • fix(cursor): wait for all promises to resolve if parallel is greater than number of documents #8422
  • fix(document): depopulate entire array when setting array path to a partially populated array #8443
  • fix: handle setDefaultsOnInsert with deeply nested subdocs #8392
  • fix(document): report DocumentNotFoundError if underlying document deleted but no changes made #8428 #8371 AbdelrahmanHafez
  • docs(populate): clarify limitations of limit option for populate and suggest workaround #8409
  • docs(deprecations): explain which connection options are no longer relevant with useUnifiedTopology #8411
  • chore: allow browser build to be published #8435 #8427 captaincaius

5.8.1 (from changelog)

  • fix(documentarray): dont attempt to cast when modifying array returned from map() #8399
  • fix(document): update single nested subdoc parent when setting to existing single nested doc #8400
  • fix(schema): add $embeddedSchemaType property to arrays for consistency with document arrays #8389

5.8.0 (from changelog)

  • feat: wrap server selection timeout errors in MongooseTimeoutError to retain original stack trace #8259
  • feat(model): add Model.validate() function that validates a POJO against the model's schema #7587
  • feat(schema): add Schema#pick() function to create a new schema with a picked subset of the original schema's paths #8207
  • feat(schema): add ability to change CastError message using cast option to SchemaType #8300
  • feat(schema): group indexes defined in schema path with the same name #6499
  • fix(model): build all indexes even if one index fails #8185 unusualbob
  • feat(browser): pre-compile mongoose/browser #8350 captaincaius
  • fix(connection): throw error when setting unsupported option #8335 #6899 AbdelrahmanHafez
  • feat(schema): support enum validator for number type #8139
  • feat(update): allow using MongoDB 4.2 update aggregation pipelines, with no Mongoose casting #8225
  • fix(update): make update validators run on all subpaths when setting a nested path, even omitted subpaths #3587
  • feat(schema): support setting _id as an option to single nested schema paths #8137
  • feat(query): add Query#mongooseOptions() function #8296
  • feat(array): make MongooseArray#push() support using $position #4322
  • feat(schema): make pojo paths optionally become subdoc instead of Mixed #8228 captaincaius
  • feat(model): add Model.cleanIndexes() to drop non-schema indexes #6676
  • feat(document): make updateOne() document middleware pass this to post hooks #8262
  • feat(aggregate): run pre/post aggregate hooks on explain() #5887
  • docs(model+query): add session option to docs for findOneAndX() methods #8396

5.7.14 (from changelog)

  • fix(cursor): wait until all eachAsync() functions finish before resolving the promise #8352
  • fix(update): handle embedded discriminator paths when discriminator key is defined in the update #8378
  • fix(schematype): handle passing message function to SchemaType#validate() as positional arg #8360
  • fix(map): handle cloning a schema that has a map of subdocuments #8357
  • docs(schema): clarify that uppercase, lowercase, and trim options for SchemaString don't affect RegExp queries #8333

5.7.13 (from changelog)

  • fix: upgrade mongodb driver -> 3.3.5 #8383
  • fix(model): catch the error when insertMany fails to initialize the document #8365 #8363 Fonger
  • fix(schema): add array.$, array.$.$ subpaths for nested arrays #6405
  • docs(error): add more detail about the ValidatorError class, including properties #8346
  • docs(connection): document Connection#models property #8314

5.7.12 (from changelog)

  • fix: avoid throwing error if calling push() on a doc array with no parent #8351 #8317 #8312 AbdelrahmanHafez
  • fix(connection): only buffer for "open" events when calling connection helper while connecting #8319
  • fix(connection): pull default database from connection string if specified #8355 #8354 zachazar
  • fix(populate+discriminator): handle populating document whose discriminator value is different from discriminator model name #8324
  • fix: add mongoose.isValidObjectId() function to test whether Mongoose can cast a value to an objectid #3823
  • fix(model): support setting excludeIndexes as schema option for subdocs #8343
  • fix: add SchemaMapOptions class for options to map schematype #8318
  • docs(query): remove duplicate omitUndefined options #8349 mdumandag
  • docs(schema): add Schema#paths docs to public API docs #8340

5.7.11 (from changelog)

  • fix: update mongodb driver -> 3.3.4 #8276
  • fix(model): throw readable error when casting bulkWrite update without a 'filter' or 'update' #8332 #8331 AbdelrahmanHafez
  • fix(connection): bubble up connected/disconnected events with unified topology #8338 #8337
  • fix(model): delete $versionError after saving #8326 #8048 Fonger
  • test(model): add test for issue #8040 #8341 Fonger

5.7.10 (from changelog)

  • perf(cursor): remove unnecessary setTimeout() in eachAsync(), 4x speedup in basic benchmarks #8310
  • docs(README): re-order sections for better readability #8321 dandv
  • chore: make npm test not hard-code file paths #8322 stieg

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

✳️ chart.js (2.9.1 → 2.9.3) · Repo

Release Notes

2.9.3

Bug Fixes

  • #6698 Fix undefined variable
  • #6719 Don't make legend empty when fill is false

Thanks to the maintainers and collaborators for their help to improve and test Chart.js (@kurkle, @benmccann, and @etimberg).

2.9.2

Bug Fixes

  • #6641 IE11 & Edge compatible style injection
  • #6655 Backwards compatible default fill for radar charts
  • #6660 Improve clipping of line charts when border widths are large
  • #6661 When a legend item is clicked, make sure the correct item is hidden
  • #6663 Refresh package-lock file to pick up new dependency

Performance

  • #6671 Stop unnecessary line calculations

Documentation

  • #6643 Combine performance documentation sections

Thanks to the maintainers and collaborators for their help to improve and test Chart.js (@nagix, @kurkle, @benmccann, @etimberg and @simonbrunel).

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Jan 9, 2020
@depfu
Copy link
Author

depfu bot commented Jan 12, 2020

Closed in favor of #40.

@depfu depfu bot closed this Jan 12, 2020
@depfu depfu bot deleted the depfu/update/npm/mongoose-5.8.6 branch January 12, 2020 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants