heapp / backend

0 stars 0 forks source link

Bump mongoose from 6.10.0 to 7.0.3 #77

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps mongoose from 6.10.0 to 7.0.3.

Release notes

Sourced from mongoose's releases.

7.0.3 / 2023-03-23

  • fix(query): avoid executing transforms if query wasn't executed #13185 #13165
  • fix(schema): make creating top-level virtual underneath subdocument equivalent to creating virtual on the subdocument #13197 #13189
  • fix(timestamps): set timestamps on empty replaceOne() #13196 #13170
  • fix(types): change return type of lean() to include null if nullable #13155 #13151 lpizzinidev
  • fix(types): fixed type of DocumentArray constructor parameter #13183 #13087 lpizzinidev
  • docs: refactor header naming to lessen conflicts #12901 hasezoey
  • docs: change header levels to be consistent across files #13173 hasezoey

7.0.2 / 2023-03-15

7.0.1 / 2023-03-06

  • fix(aggregate): added await to prevent exception in aggregate exec #13126 lpizzinidev
  • fix(types): handle Record as value for HydratedDocument TOverrides parameter #13123 #13094
  • fix(types): remove "update" function #13120 hasezoey
  • docs(compatibility): added mongoDB server compatibility for mongoose 7 #13102 lpizzinidev
  • docs: Updated callback method for Model.findOne() #13096 Arghyahub
  • chore: update github actions to not use ubuntu-18.04 anymore #13137 hasezoey

7.0.0 / 2023-02-27

  • BREAKING CHANGE: copy schema options when merging schemas using new Schema() or Schema.prototype.add() #13092
  • feat(types): export mongodb types more robustly #12948 simon-abbott
  • docs: fix populate docs #13090 hasezoey
  • docs(migrating_to_6): added info about removal of reconnectTries and reconnectInterval options #13083 lpizzinidev

7.0.0-rc0 / 2023-02-23

  • BREAKING CHANGE: remove support for callbacks #11431
  • BREAKING CHANGE: upgrade to MongoDB node driver 5.x, bson 5.x #12955
  • BREAKING CHANGE: make strictQuery: false by default #11861 #11807 #11514
  • BREAKING CHANGE: remove support for setting schema path definitions to primitives, except _id: false #12832 #7558 lpizzinidev
  • BREAKING CHANGE: discriminator schemas now inherit base schema options by default #12928 #12135
  • BREAKING CHANGE: orFail() now throws on updateOne() and updateMany() if matchedCount === 0, not modifiedCount === 0 #11620
  • BREAKING CHANGE: remove support for custom promise libraries #12878 #12872 lpizzinidev
  • BREAKING CHANGE: select('name -path') behaves as select('name') if path has schema-level select: true #11694
  • BREAKING CHANGE(types): remove support for document interfaces that extends Document #11615

... (truncated)

Changelog

Sourced from mongoose's changelog.

7.0.3 / 2023-03-23

  • fix(query): avoid executing transforms if query wasn't executed #13185 #13165
  • fix(schema): make creating top-level virtual underneath subdocument equivalent to creating virtual on the subdocument #13197 #13189
  • fix(timestamps): set timestamps on empty replaceOne() #13196 #13170
  • fix(types): change return type of lean() to include null if nullable #13155 #13151 lpizzinidev
  • fix(types): fixed type of DocumentArray constructor parameter #13183 #13087 lpizzinidev
  • docs: refactor header naming to lessen conflicts #12901 hasezoey
  • docs: change header levels to be consistent across files #13173 hasezoey

6.10.4 / 2023-03-21

  • fix(document): apply setters on resulting value when calling Document.prototype.$inc() #13178 #13158
  • fix(model): add results property to unordered insertMany() to make it easy to identify exactly which documents were inserted #13163 #12791
  • docs(guide+schematypes): add UUID to schematypes guide #13184

7.0.2 / 2023-03-15

6.10.3 / 2023-03-13

  • fix(connection): add stub implementation of doClose to base connection class #13157
  • fix(types): add cursor.eachAsync index parameter #13162 #13153 hasezoey
  • docs: fix 6.x docs sidebar links #13147 #13144 hasezoey
  • docs(validation): clarify that validation runs as first pre(save) middleware #13062

6.10.2 / 2023-03-07

  • fix(document): avoid setting array default if document array projected out by sibling projection #13135 #13043 #13003
  • fix(documentarray): set correct document array path if making map of document arrays #13133
  • fix: undo accidental change to engines in package.json #13124 lorand-horvath
  • docs: quick improvement to Model.init() docs #13054

7.0.1 / 2023-03-06

  • fix(aggregate): added await to prevent exception in aggregate exec #13126 lpizzinidev
  • fix(types): handle Record as value for HydratedDocument TOverrides parameter #13123 #13094
  • fix(types): remove "update" function #13120 hasezoey
  • docs(compatibility): added mongoDB server compatibility for mongoose 7 #13102 lpizzinidev
  • docs: Updated callback method for Model.findOne() #13096 Arghyahub

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Superseded by #79.