Giter VIP home page Giter VIP logo

mongoose-create-unique's Introduction

mongoose-create-unique

JS Standard Style NPM version Build Status Coveralls Status Dependency Status Downloads

Mongoose plugin to create a document or return the existing one based on the unique index

Install

npm install --save mongoose-create-unique

It works with MongoDB 3.0 or higher.

The problem

If you try to create a document with a duplicate key, MongoDB and Mongoose will throw the following error:

E11000 duplicate key error collection: mydb.mycollection index: myfield_1 dup key: { : "my value" }'

We want to avoid this error when creating a new document with unique field by returning the existing one.

How it works

It was designed to work the same way Model.create and Model#save do. Just use Model.createUnique and Model#saveUnique instead. The only difference is that it will return the existing document(s) if there is already one, not an error.

What mongoose-create-unique actually does is try to save the document(s). If Mongo throw the duplicate key error, it finds the existing document and returns it.

Example

var mongoose = require('mongoose');
mongoose.plugin(require('mongoose-create-unique'));

var ArtistSchema = new mongoose.Schema({
  name: {
    type: String,
    unique: true
  }
});

var Artist = mongoose.model('Artist', ArtistSchema);

Artist.createUnique({name: 'Shakira'}).then(function(artist) {
  console.log(artist); // {_id: 1, name: 'Shakira'}
  return Artist.createUnique({name: 'Rihanna'});
}).then(function(artist) {
  console.log(artist); // {_id: 2, name: 'Rihanna'}
  return Artist.createUnique({name: 'Shakira'});
}).then(function(artist) {
  console.log(artist); // {_id: 1, name: 'Shakira'}
});

// or multiple
Artist.createUnique(
  {name: 'Shakira'},
  {name: 'Rihanna'},
  {name: 'Shakira'}
).then(function(artists) {
  // artists[0] and artists[2] are the same  
})

License

MIT ยฉ Diego Haz

mongoose-create-unique's People

Contributors

diegohaz avatar greenkeeper[bot] avatar

Stargazers

Grace Haz avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

mongoose-create-unique's Issues

An in-range update of coveralls is breaking the build ๐Ÿšจ

Version 2.13.1 of coveralls just got published.

Branch Build failing ๐Ÿšจ
Dependency coveralls
Current Version 2.13.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As coveralls is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช

Status Details - โŒ **continuous-integration/travis-ci/push** The Travis CI build could not complete due to an error [Details](https://travis-ci.org/diegohaz/mongoose-create-unique/builds/226590927)

Commits

The new version differs by 1 commits0.

false

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of mongoose is breaking the build ๐Ÿšจ

Version 4.10.6 of mongoose just got published.

Branch Build failing ๐Ÿšจ
Dependency mongoose
Current Version 4.10.5
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As mongoose is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 26 commits.

  • 37c6ca4 chore: release 4.10.6
  • f6c9076 docs(populate): fix code style
  • c5dc5a2 feat: add getPromiseConstructor() to prevent need for mongoose.Promise.ES6
  • bca9b54 docs(populate): clarify that multiple populate() calls on same path overwrite
  • 3a59174 fix: wait for all connections to close before resolving disconnect() promise
  • a2c0ab9 fix(cursor): handle custom model option for populate
  • 19bae2f test(populate): repro #5334
  • 38e7d9a docs: add clarification about empty objects by default
  • 2376945 fix(error): add toJSON helper to ValidationError so message shows up with JSON.stringify
  • 8455cd4 test(error): repro #5309
  • 1f45e9b fix(populate): handle empty virtual populate with Model.populate
  • 19c7810 test(populate): repro #5331
  • dde7c71 fix(document): handle conditional required with undefined props
  • d199bf2 test(document): repro #5296
  • a07fc59 fix(model): clone options before inserting in save()

There are 26 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of eslint is breaking the build ๐Ÿšจ

Version 4.2.0 of eslint just got published.

Branch Build failing ๐Ÿšจ
Dependency eslint
Current Version 4.1.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As eslint is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Release Notes v4.2.0
  • e0f0101 Update: fix indentation of nested function parameters (fixes #8892) (#8900) (Teddy Katz)
  • 9f95a3e Chore: remove unused helper method from indent (#8901) (Teddy Katz)
  • 11ffe6b Fix: no-regex-spaces rule incorrectly fixes quantified spaces (#8773) (Keri Warr)
  • 975dacf Update: fix indentation of EmptyStatements (fixes #8882) (#8885) (Teddy Katz)
  • 88ed041 Build: Turnoff CI branch build (fixes #8804) (#8873) (Gyandeep Singh)
  • 72f22eb Chore: replace is-my-json-valid with Ajv (#8852) (Gajus Kuizinas)
  • 7c8de92 Docs: Clarified PR guidelines in maintainer guide (#8876) (Kevin Partington)
  • d1fc408 Docs: Update CLA link in Contributing docs (#8883) (Calvin Freitas)
  • 931a9f1 Fix: indent false positive with multi-line await expression (#8837) (่–›ๅฎš่ฐ”็š„็Œซ)
  • 3767cda Update: add no-sync option to allow at root level (fixes #7985) (#8859) (Victor Hom)
  • 1ce553d Docs: Fix wording of minProperties in object-curly-newline (fixes #8874) (#8878) (solmsted)
  • f00854e Fix: --quiet no longer fixes warnings (fixes #8675) (#8858) (Kevin Partington)
  • b678535 Chore: Add collapsible block for config in ISSUE_TEMPLATE (#8872) (Gyandeep Singh)
  • 1f5bfc2 Update: Add always-multiline option to multiline-ternary (fixes #8770) (#8841) (Nathan Woltman)
  • 22116f2 Fix: correct comma-dangle JSON schema (#8864) (Evgeny Poberezkin)
  • 676af9e Update: fix indentation of JSXExpressionContainer contents (fixes #8832) (#8850) (Teddy Katz)
  • 330dd58 Chore: fix title of linter test suite (#8861) (Teddy Katz)
  • 60099ed Chore: enable for-direction rule on ESLint codebase (#8853) (่–›ๅฎš่ฐ”็š„็Œซ)
  • e0d1a84 Chore: upgrade eslint-plugin-eslint-plugin & eslint-plugin-node (#8856) (่–›ๅฎš่ฐ”็š„็Œซ)
  • 0780d86 Chore: remove identical tests (#8851) (Teddy Katz)
  • 5c3ac8e Fix: arrow-parens fixer gets tripped up with trailing comma in args (#8838) (่–›ๅฎš่ฐ”็š„็Œซ)
  • c4f2e29 Build: fix race condition in demo (#8827) (Teddy Katz)
  • c693be5 New: Allow passing a function as fix option (fixes #8039) (#8730) (Ian VanSchooten)
  • 8796d55 Docs: add missing item to 4.0 migration guide table of contents (#8835) (่–›ๅฎš่ฐ”็š„็Œซ)
  • 742998c doc md update: false -> false (#8825) (Erik Vold)
  • ce969f9 Docs: add guidelines for patch release communication (fixes #7277) (#8823) (Teddy Katz)
  • 5c83c99 Docs: Clarify arrow function parens in no-extra-parens (fixes #8741) (#8822) (Kevin Partington)
  • 84d921d Docs: Added note about Node/CJS scoping to no-redeclare (fixes #8814) (#8820) (Kevin Partington)
  • 85c9327 Update: fix parenthesized CallExpression indentation (fixes #8790) (#8802) (Teddy Katz)
  • be8d354 Update: simplify variable declarator indent handling (fixes #8785) (#8801) (Teddy Katz)
  • 9417818 Fix: no-debugger autofixer produced invalid syntax (#8806) (Teddy Katz)
  • 8698a92 New: getter-return rule (fixes #8449) (#8460) (่–›ๅฎš่ฐ”็š„็Œซ)
  • eac06f2 Fix: no-extra-parens false positives for variables called "let" (#8808) (Teddy Katz)
  • 616587f Fix: dot-notation autofix produces syntax errors for object called "let" (#8807) (Teddy Katz)
  • a53ef7e Fix: don't require a third argument in linter.verifyAndFix (fixes #8805) (#8809) (Teddy Katz)
  • 5ad8b70 Docs: add minor formatting improvement to paragraph about parsers (#8816) (Teddy Katz)
Commits

The new version differs by 38 commits.

  • 5ea79dc 4.2.0
  • b19ee3f Build: changelog update for 4.2.0
  • e0f0101 Update: fix indentation of nested function parameters (fixes #8892) (#8900)
  • 9f95a3e Chore: remove unused helper method from indent (#8901)
  • 11ffe6b Fix: no-regex-spaces rule incorrectly fixes quantified spaces (#8773)
  • 975dacf Update: fix indentation of EmptyStatements (fixes #8882) (#8885)
  • 88ed041 Build: Turnoff CI branch build (fixes #8804) (#8873)
  • 72f22eb Chore: replace is-my-json-valid with Ajv (#8852)
  • 7c8de92 Docs: Clarified PR guidelines in maintainer guide (#8876)
  • d1fc408 Docs: Update CLA link in Contributing docs (#8883)
  • 931a9f1 Fix: indent false positive with multi-line await expression (#8837)
  • 3767cda Update: add no-sync option to allow at root level (fixes #7985) (#8859)
  • 1ce553d Docs: Fix wording of minProperties in object-curly-newline (fixes #8874) (#8878)
  • f00854e Fix: --quiet no longer fixes warnings (fixes #8675) (#8858)
  • b678535 Chore: Add collapsible block for config in ISSUE_TEMPLATE (#8872)

There are 38 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of dependency-check is breaking the build ๐Ÿšจ

Version 2.9.0 of dependency-check just got published.

Branch Build failing ๐Ÿšจ
Dependency dependency-check
Current Version 2.8.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As dependency-check is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 3 commits.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of tape is breaking the build ๐Ÿšจ

Version 4.7.0 of tape just got published.

Branch Build failing ๐Ÿšจ
Dependency tape
Current Version 4.6.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As tape is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 19 commits.

  • 1d0df26 v4.7.0
  • 51597e2 Merge pull request #374 from feross/master
  • b06f914 [Refactor] instead of throwing on undefined.forEach, throw explicitly.
  • dd93216 [Fix] fix spurious "test exited without ending"
  • 1a8e936 [Deps] update glob, resolve
  • 7eb9e36 [Dev Deps] update falafel, js-yaml
  • e030260 [Tests] on node v8; no need for sudo; v0.8 passes now; allow v5/v7/iojs to fail.
  • 4375661 [Tests] npm v5+ breaks on node < v4
  • df48bfa Only apps should have lock files.
  • 35e47e1 [Tests] npm v4.6+ breaks on node < v1
  • dc1ffa5 [Deps] update object-inspect
  • 66519cb [Deps] update resolve
  • e6d4625 [Dev Deps] update concat-stream, js-yaml
  • bdf2b04 tap-min moved to derhuerst/tap-min
  • 8b3a77e [Tests] fix thrower stack in node 0.8

There are 19 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of doctoc is breaking the build ๐Ÿšจ

Version 1.3.0 of doctoc just got published.

Branch Build failing ๐Ÿšจ
Dependency doctoc
Current Version 1.2.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As doctoc is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช


Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details
Commits

The new version differs by 3 commits .

  • b96694f 1.3.0
  • c3aa65f Set dependencies version with "~" as @thlorenz requested
  • 37bbee2 Bump npm dependencies (npm test passed!)

See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of eslint is breaking the build ๐Ÿšจ

Version 4.1.0 of eslint just got published.

Branch Build failing ๐Ÿšจ
Dependency eslint
Current Version 4.0.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As eslint is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Release Notes v4.1.0
  • e8f1362 Docs: Remove wrong descriptions in padded-block rule (#8783) (Plusb Preco)
  • 291a783 Update: enforceForArrowConditionals to no-extra-parens (fixes #6196) (#8439) (Evilebot Tnawi)
  • a21dd32 New: Add overrides/files options for glob-based config (fixes #3611) (#8081) (Sylvan Mably)
  • 879688c Update: Add ignoreComments option to no-trailing-spaces (#8061) (Jake Roussel)
  • b58ae2e Chore: Only instantiate fileEntryCache when cache flage set (perf) (#8763) (Gyandeep Singh)
  • 9851288 Update: fix indent errors on multiline destructure (fixes #8729) (#8756) (Victor Hom)
  • 3608f06 Docs: Increase visibility of code of conduct (fixes #8758) (#8764) (Kai Cataldo)
  • 673a58b Update: support multiple fixes in a report (fixes #7348) (#8101) (Toru Nagashima)
  • 7a1bc38 Fix: don't pass default parserOptions to custom parsers (fixes #8744) (#8745) (Teddy Katz)
  • c5b4052 Chore: enable computed-property-spacing on ESLint codebase (#8760) (Teddy Katz)
  • 3419f64 Docs: describe how to use formatters on the formatter demo page (#8754) (Teddy Katz)
  • a3ff8f2 Chore: combine tests in tests/lib/eslint.js and tests/lib/linter.js (#8746) (Teddy Katz)
  • b7cc1e6 Fix: Space-infix-ops should ignore type annotations in TypeScript (#8341) (Reyad Attiyat)
  • 46e73ee Fix: eslint --init installs wrong dependencies of popular styles (fixes #7338) (#8713) (Toru Nagashima)
  • a82361b Chore: Prevent package-lock.json files from being created (fixes #8742) (#8747) (Teddy Katz)
  • 5f81a68 New: Add eslintIgnore support to package.json (fixes #8458) (#8690) (Victor Hom)
  • b5a70b4 Update: fix multiline binary operator/parentheses indentation (#8719) (Teddy Katz)
  • ab8b016 Update: fix MemberExpression indentation with "off" option (fixes #8721) (#8724) (Teddy Katz)
  • eb5d12c Update: Add Fixer method to Linter API (#8631) (Gyandeep Singh)
  • 26a2daa Chore: Cache fs reads in ignored-paths (fixes #8363) (#8706) (Victor Hom)
Commits

The new version differs by 22 commits.

  • 7d9e3be 4.1.0
  • e727b7b Build: changelog update for 4.1.0
  • e8f1362 Docs: Remove wrong descriptions in padded-block rule (#8783)
  • 291a783 Update: enforceForArrowConditionals to no-extra-parens (fixes #6196) (#8439)
  • a21dd32 New: Add overrides/files options for glob-based config (fixes #3611) (#8081)
  • 879688c Update: Add ignoreComments option to no-trailing-spaces (#8061)
  • b58ae2e Chore: Only instantiate fileEntryCache when cache flage set (perf) (#8763)
  • 9851288 Update: fix indent errors on multiline destructure (fixes #8729) (#8756)
  • 3608f06 Docs: Increase visibility of code of conduct (fixes #8758) (#8764)
  • 673a58b Update: support multiple fixes in a report (fixes #7348) (#8101)
  • 7a1bc38 Fix: don't pass default parserOptions to custom parsers (fixes #8744) (#8745)
  • c5b4052 Chore: enable computed-property-spacing on ESLint codebase (#8760)
  • 3419f64 Docs: describe how to use formatters on the formatter demo page (#8754)
  • a3ff8f2 Chore: combine tests in tests/lib/eslint.js and tests/lib/linter.js (#8746)
  • b7cc1e6 Fix: Space-infix-ops should ignore type annotations in TypeScript (#8341)

There are 22 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of eslint is breaking the build ๐Ÿšจ

Version 3.18.0 of eslint just got published.

Branch Build failing ๐Ÿšจ
Dependency eslint
Current Version 3.17.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As eslint is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช


Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details
Release Notes v3.18.0
  • 85f74ca Fix: broken code path of direct nested loops (fixes #8248) (#8274) (Toru Nagashima)
  • a61c359 Fix: Ignore hidden folders when resolving globs (fixes #8259) (#8270) (Ian VanSchooten)
  • 6f05546 Chore: convert StubModuleResolver in config tests to ES6 class (#8265) (Teddy Katz)
  • 0c0fc31 Fix: false positive of no-extra-parens about spread and sequense (#8275) (Toru Nagashima)
  • e104973 Docs: remove self-reference in no-restricted-syntax docs (#8277) (Vitor Balocco)
  • 23eca51 Update: Add allowTaggedTemplates to no-unused-expressions (fixes #7632) (#8253) (Kevin Partington)
  • f9ede3f Upgrade: doctrine to 2.0.0 (#8269) (alberto)
  • 1b678a6 New: allow rules to listen for AST selectors (fixes #5407) (#7833) (Teddy Katz)
  • 63ca0c5 Chore: use precalculated counts in stylish formatter (#8251) (alberto)
  • 47c3171 Fix: typo in console.error (#8258) (Jan Peer Stรถcklmair)
  • e74ed6d Chore: convert Traverser to ES6 class (refs #7849) (#8232) (Teddy Katz)
  • 13eead9 Fix: sort-vars crash on mixed destructuring declarations (#8245) (Teddy Katz)
  • 133f489 Fix: func-name-matching crash on destructuring assignment to functions (#8247) (Teddy Katz)
  • a34b9c4 Fix: func-name-matching crash on non-string literal computed keys (#8246) (Teddy Katz)
  • 7276e6d Docs: remove unneeded semicolons in arrow-parens.md (#8249) (Dmitry Gershun)
  • 8c40a25 Upgrade: concat-stream known to be vulnerable prior 1.5.2 (#8228) (Samuel)
  • 149c055 Upgrade: mock-fs to v4.2.0 (fixes #8194) (#8243) (Teddy Katz)
  • a83bff9 Build: remove unneeded json config in demo (fixes #8237) (#8242) (alberto)
  • df12137 Docs: fix typos (#8235) (Gyandeep Singh)
  • b5e9788 Chore: rename no-extra-parens methods (#8225) (Vitor Balocco)
  • 7f8afe6 Update: no-extra-parens overlooked spread and superClass (fixes #8175) (#8209) (Toru Nagashima)
  • ce6ff56 Docs: set recommended true for no-global-assign (fixes #8215) (#8218) (BinYi LIU)
  • 5b5c236 Fix: wrong comment when module not found in config (fixes #8192) (#8196) (alberto)
Commits

The new version differs by 26 commits .

  • ca1d478 3.18.0
  • 3688024 Build: package.json and changelog update for 3.18.0
  • 85f74ca Fix: broken code path of direct nested loops (fixes #8248) (#8274)
  • a61c359 Fix: Ignore hidden folders when resolving globs (fixes #8259) (#8270)
  • 6f05546 Chore: convert StubModuleResolver in config tests to ES6 class (#8265)
  • 0c0fc31 Fix: false positive of no-extra-parens about spread and sequense (#8275)
  • e104973 Docs: remove self-reference in no-restricted-syntax docs (#8277)
  • 23eca51 Update: Add allowTaggedTemplates to no-unused-expressions (fixes #7632) (#8253)
  • f9ede3f Upgrade: doctrine to 2.0.0 (#8269)
  • 1b678a6 New: allow rules to listen for AST selectors (fixes #5407) (#7833)
  • 63ca0c5 Chore: use precalculated counts in stylish formatter (#8251)
  • 7d1af86 Update: fix false negative of no-useless-escape in template literal tags (#8238)
  • 47c3171 Fix: typo in console.error (#8258)
  • e74ed6d Chore: convert Traverser to ES6 class (refs #7849) (#8232)
  • 13eead9 Fix: sort-vars crash on mixed destructuring declarations (#8245)

There are 26 commits in total. See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of mongoose is breaking the build ๐Ÿšจ

Version 4.11.1 of mongoose just got published.

Branch Build failing ๐Ÿšจ
Dependency mongoose
Current Version 4.11.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As mongoose is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 30 commits.

  • 98af8e8 chore: release 4.11.1
  • ca9c305 docs(connection): add links to MongoClient.connect()
  • 14c13cf Merge branch 'master' of github.com:Automattic/mongoose
  • 6c025c8 fix(connection): make sure to call onOpen in openUri()
  • b1e9917 docs(connection): add link to openUri deprecation
  • 586effe docs(connection): improve docs re: createConnection promise
  • fb3636d Merge pull request #5427 from fredericosilva/fix_doc
  • 3ff9bd0 Merge pull request #5402 from zbjornson/zb/justone
  • 8877a57 Merge pull request #5398 from pjo336/patch-1
  • f4551b9 fix(update): handle update with defaults and overwrite but no update validators
  • c868ee7 test(update): repro #5086
  • 81714c2 style: fix lint
  • 528f125 fix(populate): handle undefined refPath values in middle of array
  • a66f618 test(populate): repro #5377
  • d510152 Merge pull request #5426 from Automattic/5363

There are 30 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.