ITISEnricoFermi / archivio-digitale-server

📚 Server per l'Archivio Digitale. 📚
https://itisenricofermi.github.io/archivio-digitale-server/
MIT License
4 stars 0 forks source link

Bump mongoose from 5.9.7 to 5.12.11 #282

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps mongoose from 5.9.7 to 5.12.11.

Changelog

Sourced from mongoose's changelog.

5.12.11 / 2021-05-24

  • fix(populate): skip applying setters when casting arrays for populate() to avoid issues with arrays of immutable elements #10264
  • perf(schematype): avoid cloning setters every time we run setters #9588
  • perf(get): add benchmarks and extra cases to speed up get() #9588
  • perf(array): improve array constructor performance on small arrays to improve nested array perf #9588
  • fix(index.d.ts): allow using type: [String] with string[] when using SchemaDefinition with generic #10261
  • fix(index.d.ts): support ReadonlyArray as well as regular array where possible in schema definitions #10260
  • docs(connection): document noListener option to useDb #10278 stuartpb
  • docs: migrate raw tutorial content from pug / JS to markdown #10271
  • docs: fix typo #10269 sanjib

5.12.10 / 2021-05-18

  • fix(query): allow setting defaults option on result documents from query options #7287 IslandRhythms
  • fix(populate): handle populating embedded discriminator with custom tiedValue #10231
  • fix(document): allow passing space-delimited string of pathsToValidate to validate() and validateSync() #10258
  • fix(model+schema): support loadClass() on classes that have collection as a static property #10257 #10254 IslandRhythms
  • fix(SchemaArrayOptions): correct property name #10236
  • fix(index.d.ts): add any to all query operators to minimize likelihood of "type instantiation is excessively deep" when querying docs with 4-level deep subdocs #10189
  • fix(index.d.ts): add $parent() in addition to parent() in TS definitions
  • fix(index.d.ts): correct async iterator return type for QueryCursor #10253 #10252 #10251 borfig
  • fix(index.d.ts): add virtualsOnly parameter to loadClass() function signature IslandRhythms
  • docs(typescript): add typescript populate docs #10212
  • docs: switch from AWS to Azure Functions for search #10244

5.12.9 / 2021-05-13

  • fix(schema): ensure add() overwrites existing schema paths by default #10208 #10203
  • fix(schema): support creating nested paths underneath document arrays #10193
  • fix(update): convert nested dotted paths in update to nested paths to avoid ending up with dotted properties in update #10200
  • fix(document): allow calling validate() and validateSync() with options as first parameter #10216
  • fix(schema): apply static properties to model when using loadClass() #10206
  • fix(index.d.ts): allow returning Promise from middleware functions #10229
  • fix(index.d.ts): add pre('distinct') hooks to TypeScript #10192

5.12.8 / 2021-05-10

  • fix(populate): handle populating immutable array paths #10159
  • fix(CastError): add toJSON() function to ensure name property always ends up in JSON.stringify() output #10166 IslandRhythms
  • fix(query): add allowDiskUse() method to improve setting MongoDB 4.4's new allowDiskUse option #10177
  • fix(populate): allow populating paths under mixed schematypes where some documents have non-object properties #10191
  • chore: remove unnecessary driver dynamic imports so Mongoose can work with Parcel #9603
  • fix(index.d.ts): allow any object as parameter to create() and insertMany() #10144
  • fix(index.d.ts): allow creating Model class with raw interface, no extends Document #10144
  • fix(index.d.ts): separate UpdateQuery from UpdateWithAggregationPipeline for cases when UpdateQuery is used as a function param #10186
  • fix(index.d.ts): don't require error value in pre/post hooks #10213 michaln-q
  • docs(typescript): add a typescript intro tutorial and statics tutorial #10021
  • docs(typescript): add query helpers tutorial #10021
  • docs(deprecations): add note that you can safely ignore useFindAndModify and useCreateIndex deprecation warnings #10155

... (truncated)

Commits
  • b6037fb chore: release 5.12.11
  • 90f09db fix: make #9588 improvements compatible with node v4
  • a69666d perf(array): improve array constructor performance on small arrays to improve...
  • 72a87d7 perf(schema+populate): avoid extra if check and unnecessary isPopulated calcu...
  • 3e0e897 refactor: use markdown rather than acquit and pug for docs
  • ffb811f refactor: move several more docs pages from pug and acquit to markdown re: #1...
  • e20925f fix(populate): skip applying setters when casting arrays for populate() to av...
  • 6e97a0c test(populate): repro #10264
  • 23b88a7 Merge branch 'master' of github.com:Automattic/mongoose
  • cdc83f8 fix: upgrade mongodb -> 3.6.8
  • Additional commits viewable in compare view


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 use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Superseded by #283.