Update mongoose to the latest version π
Version 5.0.0 of mongoose was just published.
| Dependency | mongoose |
|---|---|
| Current Version | 4.13.9 |
| Type | dependency |
The version 5.0.0 is not covered by your current version range.
If you donβt accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
It might be worth looking into these changes and trying to get this project onto the latest version of mongoose.
If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you donβt have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.
Commits
The new version differs by 253 commits.
64061d5chore: release 5.0.069f3e07Merge pull request #6007 from Automattic/docsf229164chore: fix up home page re: #59764e04aa2style: use version dropdown26ed5c1refactor: move API css to its own file re: #597635f2dbfrefactor: move css re: #5976049a04bdocs: add last 2 guides into new build system7cef30dchore: add populate docs to new build system67fd7f8chore: finish up API docs re: #5976387d807chore: add query and aggregate to API docs and fix acquit docseab78a1Merge branch 'master' into docs950ebe2docs: clean up lean() docs46b390dMerge pull request #5985 from fenanquin/masterdf3c9dbstyle: fix more lint issues3c314d0style: fix lint
There are 250 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot :palm_tree:
Version 5.0.1 just got published.
Update to this version instead π
Commits
The new version differs by 15 commits.
22fe268chore: release 5.0.15d09823chore: fix typob413e8achore: add missing strict mode859c317fix(document): fix test failures re: #60144af760bfix(document): make validate() not resolve to document2111b9bMerge branch 'master' of github.com:Automattic/mongoosebb347b3fix(model): make save() not return DocumentNotFoundError if using fire-and-forget writesb32a85cMerge pull request #6011 from spederiva/masterf145c40chore: recompile sitee7cf8d1docs(queries): fix code samples30c86e9chore: new carbon css187dc3drename aggregation option test133c5f4fix bug: Using options in aggregates doesn't set anything38e4720chore: now working on 5.0.19130c75chore: fix docs syntax error
See the full diff
Version 5.0.2 just got published.
Update to this version instead π
Commits
The new version differs by 42 commits.
c345112chore: release 5.0.2e80acb2chore: add release script that uses --tag for npm publish for 4.x releases9900bf4Merge branch '4.x'82ea3e8chore: release 4.13.106cb4333Merge pull request #6058 from lineus/6038_fix_docsb716e73style: fix lintb3863cfMerge branch '4.x'940ccc8style: fix lint79887abstyle: fix lint9c31fe2chore: bump lockfile5d7d731Merge branch 'mongoose4'c8dea3bstyle: fix lintfd1741cupdating jade files to fix #60383e394a9Merge pull request #6055 from Automattic/4.x775d7c4Merge branch 'master' into 4.x
There are 42 commits in total.
See the full diff
Version 5.0.3 just got published.
Update to this version instead π
Commits
The new version differs by 20 commits.
ae7f9d9chore: release 5.0.34d3a2e1Merge branch 'master' of github.com:Automattic/mongooseab59f86fix: consistently use process.nextTick() to avoid sinon.useFakeTimers() causing ops to hang27bc3e5Merge pull request #6072 from adursun/patch-1938b9d8Fix typoa33649cfix(document): depopulate push()-ed docs when saving3e01987test(document): repro #6048147a621fix: upgrade mongodb -> 3.0.2eaba640Merge pull request #6068 from bryant1410/patch-137e30bcdocs(index): fix old refs to LearnBoostc6646a0Fix typof552b7dAdd return type in mongose.model docsce455bddocs(middleware): add missing header links8827835chore: bump mongoose-legacy-pluralize4e8e205chore: now working on 5.0.3
There are 20 commits in total.
See the full diff
Version 5.0.4 just got published.
Update to this version instead π
Commits
The new version differs by 29 commits.
ebe5b2fchore: release 5.0.49b85723fix(connection): adddbNameoption to work aroundmongodb+srvnot supporting db name in URIb150fbachore: bump kareem -> 2.0.49b4dfa6Merge pull request #6092 from tarun1793/tarun1793/modified-path-opt14061e0Merge branch '4.x'617fb47chore: use legacy instead of 4.xf86ddcfchore: release 4.13.113f2babddocs: add lambda guide37b4a48Merge branch '4.x'3660092docs: fix links in 4.x docs182cb5bdocs(validation): clean up runValidators and isAsync options docs for 5.x9855680Merge branch 'master' of github.com:Automattic/mongooseb0bee96chore: apply select OpenCollective changes from #604697bd014Merge pull request #6088 from yuristsepaniuk/master43a3c82Merge pull request #6098 from JoshuaWise/patch-1
There are 29 commits in total.
See the full diff
Version 5.0.5 just got published.
Update to this version instead π
Commits
The new version differs by 22 commits.
e9cb88cchore: release 5.0.51a8dafbfix(utils): respectvalueOf()when merging object for update148e292test(utils): repro #6059bb256f2docs(validation): fix typo 'maxLength'6cfe0d2fix(query): supportwhere()overwriting primitive with object9049fc8test(query): repro #6097062034eMerge pull request #6119 from Automattic/3781b6cc87fMerge branch '4.x'1ed41abchore: now working on 4.x36b2f3ffix(discriminator): don't copydiscriminatorsproperty from base schema813b5fdfix(discriminator): don't copydiscriminatorsproperty from base schemaf90244fdocs: make > show up correctly in API docsb19ed22refactor(document): move isExclusive into separate helper1ef7561perf(document): only call hasIncludedChildren and isExclusiveProjection onced4a8e25fix(document): apply defaults after setting initial value so default functions don't see empty doc
There are 22 commits in total.
See the full diff
Version 5.0.6 just got published.
Update to this version instead π
Commits
The new version differs by 16 commits.
22c37c8chore: release 5.0.67af52dfdocs: fix missing space0432642fix(update): avoid digging into buffers with upsert and replaceOne73854f5test(update): repro #61248525c3frefactor(query.castUpdate): avoid creating error until necessary41360dbfix(schema): copy virtuals when usingclone()23594e6test(schema): repro #6133085fd29refactor: use let/const in schema testsc3273a5fix(schema): supportenumon arrays of strings7f9dda9test(schema): repro #6102e07152dMerge pull request #6136 from lineus/masterc9b2378removing comments from docs/source/api.js to restore the api docs8b5bc94fix(update): better fix for #6086b5b8e58fix(update): cast$addToSet: [1, 2]->$addToSet: { $each: [1, 2] }cc90a3ftest(update): repro #6086
There are 16 commits in total.
See the full diff
Version 5.0.7 just got published.
Update to this version instead π
Commits
The new version differs by 37 commits.
1ead0e6chore: release 5.0.70f776ceMerge pull request #6169 from vichle/masterb4d9ae7chore: remove unused file445e83cchore: add txt and png files to npmignore4a9f701Update documentation4d96f34Fix lint errors. Sorry.b19d494AggregationCursor.eachAsync behaves like QueryCursor.eachAsync (#6168)6a2ed04perf: don't create wrapper function if no hooks specified360dac5Merge pull request #6162 from br0p0p/patch-110dc14cMerge pull request #6165 from Automattic/5616f4b6001feat(mongoose): add support foruseFindAndModifyoption on singletonef1deafMerge branch 'master' into 5616e1730b0Update link to MongoDB's "Compound Indexes" docs9fb725eMerge pull request #6160 from simllll/patch-17d1aa84Merge pull request #6158 from pradel/hotfix/fix-benchmark
There are 37 commits in total.
See the full diff
Version 5.0.8 just got published.
Update to this version instead π
Commits
The new version differs by 20 commits.
7b6a906chore: release 5.0.8349b267Merge branch 'master' of github.com:Automattic/mongoose64ee3deMerge pull request #6036 from rocketspacer/feature/cache-useDb5cb2fd7docs(readme): add link to migration guide on github to readme3866d58Merge pull request #6186 from isaackwan/issue-6181-emitIndexErrors-doc-issue23478d6docs(readme): use const instead of varaf530b8Closes #6181, reflecting changes in the emitIndexError flagd9c2a46fix: upgrade mongodb -> 3.0.3 for reconnectTries: 0 blocking process exit fixcd8fdecAdd options to cache connection in useDbb9a406dMerge branch 'master' of github.com:Automattic/mongoose660a60afeat: add top-level browser.js file so you can doconst mongoose = require('mongoose/browser')cb7ba62fix: remove document_provider.web.js fileb6e60cadocs: elaborate on boolean casting changes in 5.x715f320feat(query): add omitUndefined option so setDefaultsOnInsert can kick in on undefined277e4eftest(update): repro #6034
There are 20 commits in total.
See the full diff
Version 5.0.9 just got published.
Version 5.0.10 just got published.
Update to this version instead π
Commits
The new version differs by 32 commits.
285dcbdchore: release 5.0.10425456cdocs(schematype): add notes re: running setters on queries6ca5663fix(query): handle single embedded embedded discriminators in castForQueryaca2614test(query): repro #6027e9566b6fix(query): cast dotted embedded discriminator paths if discriminator key set in query8c4f5d7test(query): repro #6027 part 130a1615test(query): add coverage re: #6203 for findOneAndRemove2d44f74chore: rename test file re: #6203174cc5btest(query): add coverage for #6203 with useFindAndModify270a072fix(query): only call setters once on query filter props for findOneAndUpdate and findOneAndRemove621b338test(query): repro #620388ca66edocs(schematypes): add Decimal128 to schematype docs5f4ef80docs: fix schematypes docs52cca5eMerge pull request #6225 from lineus/docs-6217_part_deuxf804cd3add index.js to api docs
There are 32 commits in total.
See the full diff
Version 5.0.11 just got published.
Update to this version instead π
Commits
The new version differs by 20 commits.
299cc02chore: release 5.0.11ccf18dcstyle: fix lint4d47235fix(update): handle $pull with $in in update validatorsa98894ctest(update): repro #624098c6cb9docs(connections): document dbName option for Atlas connectionsb666797style: fix lint re: #62340655b65fix(populate): apply justOne option beforecompleteMany()so it works with lean()fb9575ctest(populate): repro #6234d86be54fix(discriminator): make child schema nested paths overwrite parent schema paths974bf17test(discriminator): repro #60762d45bb0docs(middleware): add example of using async/await with middleware5e81d29fix(query): ensure errors in user callbacks aren't caught in initec8d9adtest(query): repro #6178 #6195ea7915fMerge branch '4.x'cd2a15achore: release 4.13.12
There are 20 commits in total.
See the full diff
Version 5.0.12 just got published.
Update to this version instead π
Commits
The new version differs by 25 commits.
95dd7bcchore: release 5.0.1230a3db2fix: apply #4797 to updateMany()a0bfe7cMerge pull request #6282 from gualopezb/masterbb0f8e8Set timestamps automatically by using updateOne methoddc001baMerge pull request #6275 from styler/patch-129d7a0aMerge pull request #6280 from lineus/docs-62668aa5fecupdating model name in query api docs example9570a1bfix(populate): ensure populated array not set to null if it isn't set9a8fa2atest(populate): repro #624531196f1Fixed typo in aggregate.test.jse86aeb5docs(CONTTIBUTING): clarify guideline for posting JS, not TSbe60fb3Merge pull request #6272 from lineus/6251-hint367261eadding .hint to aggregate for 62518778e7adocs(api): add headers to each API docs section for easer navd40f9defix(query): ensure hooked query functions always run on next tick for chaining
There are 25 commits in total.
See the full diff
Version 5.0.13 just got published.
Update to this version instead π
Commits
The new version differs by 36 commits.
56ea1b3chore: release 5.0.13e2e28d2docs(schema): add example to loadClass() docs5405810Merge pull request #6309 from lineus/docs-6302b79f512fix(query): consistently return query from deleteOne() and findOneAndUpdate() if cb specified99848d2test(query): repro #6271327f385adding links for middleware, getters, and setters604fab5fix(document): apply virtuals when callingtoJSON()on a nested path313b8eftest(document): repro #6294de138ebMerge branch 'master' of github.com:Automattic/mongoose10efec3docs(discriminator): clarify 3rd argument to Model.discriminator()22c846dadding middleware to faq arrow function warning0f280d2Merge pull request #6304 from sfrieson/documentation-copy-edits39fc878chore: undo URL changefda8029chore: undo URL changec2d3194style: clean up if statement
There are 36 commits in total.
See the full diff
Version 5.0.14 just got published.
Update to this version instead π
Commits
The new version differs by 20 commits.
07aa376chore: release 5.0.140e853abfix(populate): support basic virtual populate underneath embedded discriminators60be0f9test(populate): repro #62733c9026dMerge pull request #6296 from lineus/feature-6284b9cfc58Merge pull request #6318 from lineus/docs-6314894462bMerge pull request #6325 from lineus/fix-632340c9e70Merge pull request #6320 from BorntraegerMarc/patch-10abb1cbdocs(populate): fix header and add link to mongoose-autopopulatea2f9e41docs: flesh out populate() with middleware a bit more11603e4Merge pull request #6319 from lacivert/patch-16693446call utils.toObject in query.count ala query.find0558156fix(schema): clone aliases and alternative option syntax correctly030f7e6test(schema): repro option copying issue re: #62748b47533Update populate.jade7b4b609fix link of compatibility table
There are 20 commits in total.
See the full diff
Version 5.0.15 just got published.
Update to this version instead π
Commits
The new version differs by 22 commits.
7237444chore: release 5.0.159b57123fix(document): addtoHexString()function so you don't need to check whether a path is populated to get an id3baf5dftest(document): repro #61156219ddefix(versioning): don't require matching version when using array.pull()170fa71test(versioning): repro #61908bf8b4cdocs(model): fix typo re: #622110e93a3Merge pull request #6336 from lineus/fix-6331be61da3docs(middleware): enumerate the ways to error out in a hookf968a28adding test file decimal128.js and conversion from number testa403d4achore(document): fix test failures re: #6313557f012fix(document): respect schema-level depopulate option for toObject()228ec2ctest(document): repro #631361a8172Merge pull request #6306 from lineus/feature-62995b29924adding hack for converting from number to decimal12827a987cfix(query): run array setters on query if input value is an array
There are 22 commits in total.
See the full diff
Version 5.0.16 just got published.
Update to this version instead π
Commits
The new version differs by 25 commits.
4703df3chore: release 5.0.16a275a41docs: fix typo re #61927bd9cbafix(update): handlerequiredarray with update validators and $pull39c8368test(update): repro #6341dfce9dfdocs(model): fix aggregate function re: #634661d0c33Merge pull request #6374 from lineus/order-api-methods00fdfcesort api method links based on their stringdc7eff4Merge pull request #6353 from lineus/docs-634499a471aMerge pull request #6370 from mattc41190/master8426730Merge pull request #6367 from ekulabuhov/patch-11456d6eMerge pull request #6366 from dhritzkiv/patch-32da664cdocs(guide): add further reading linkef64d9eChange docs for create collection0693937Merge pull request #6365 from treble-snake/patch-2eb6357efix(update): avoid setting __v in findOneAndUpdate if it is$set
There are 25 commits in total.
See the full diff
Version 5.0.17 just got published.
Update to this version instead π
Commits
The new version differs by 19 commits.
e270b9echore: release 5.0.1754c6c76fix(document): don't throw whenpush()on a nested doc array2672e0atest(document): repro #63980fe5f2aMerge branch 'master' of github.com:Automattic/mongoose20b9a24chore: bump kareem re: #6385c1911e4fix(model): apply hooks to custom methods if specified621ff38test(document): repro #638583014c1fix(model+query): use _.get() to get schema options in updates97c62ecMerge pull request #6401 from markstos/document-uri-encoding-in-migration-notesb07fb8adocs(migration): certain in passwords may cause connection failuresc8df284fix(schema): support opting out of one timestamp field but not the other forinsertMany()cff9f80test(schema): repro #6381829ff0atest(documentarray): improve test for #63643fdef7efix(documentarray): handlerequired: truewithin documentarray definition352726ftest(documentarray): repro #6364
There are 19 commits in total.
See the full diff
Version 5.0.18 just got published.
Update to this version instead π
Commits
The new version differs by 27 commits.
37146c2chore: release 5.0.18da198b0Merge pull request #6441 from lineus/fix-643913f6ed5Merge pull request #6423 from ChristianMurphy/chore/update-bson-and-nspcfeb2dcMerge pull request #6430 from lineus/fix-641420e9988fixes #6439 - stop clobbering $in when casting doc in query2a1c44ffixing test, removing erroneous comment adding meaningful 2nd pathe238457chore: update bson065f16dMerge pull request #6437 from simllll/patch-263adc1amongodb upgrade to 3.0.8 to fix #6357c3b6588fixes #6414 - populates array of objects with space separated pathsa4838e8chore: fix missing strict mode19fb5a4fix(document): avoid running default functions on init() if path has valueb4b8a60test(document): repro #64107deef1fMerge pull request #6421 from lineus/fix-6390b0607f2docs(faq+schematypes): highlight array defaults more prominently
There are 27 commits in total.
See the full diff
Version 5.1.0 just got published.
Update to this version instead π
Commits
The new version differs by 87 commits.
9b1fed5chore: release 5.1.02623702Merge pull request #6442 from Automattic/5.1446bed5test: fix tests on node 10a7a0b5echore: add node 10.x to build matrix920b134docs(schematypes): correct comment238e30bMerge branch 'master' into 5.1abc7ff7chore: now working on 5.0.19d680c7ftest: refactor tests to pass withcloneSchemason9ed9a96feat(index): addcloneSchemasoption to mongoose globalf25cb7afeat(document): add warning about callingsave()on subdocs923a4bffeat(document): support$ignore()on single nested and array subdocs08b484ftest(document): repro #6152841cf56fix: fix tests re: #58602af656efeat(schema): print warning if method conflicts with mongoose internalsaf097e4Merge branch 'master' into 5.1
There are 87 commits in total.
See the full diff
Version 5.1.1 just got published.
Update to this version instead π
Commits
The new version differs by 24 commits.
3ffe291chore: release 5.1.1fa32ea9fix(populate): addretainNullValuesoption to avoid stripping out null keys653ef83test(populate): repro #64327ff8e3eMerge branch 'master' of github.com:Automattic/mongoose2de3280fix: make debug output printnullcorrectly3054e03Merge pull request #6470 from lineus/docs-6440b80fbf9fix linter errors in types/buffer.js and schema.jsdbd7b1dadd notes in api and guide about schema.methods objectedb3059fix(discriminator): throw readable error whencreate()with a non-existent discriminator keyfd04db0test(discriminator): repro #64347a4a82aMerge pull request #6464 from HabitRPG/fix-6433d2d45e6docs(model): add change streams and ToC, make terminology more consistent2a6b69cremove .only from tests5b6eebdfeat(error): add modified paths to VersionErrorc09202fstyle: fix lint re: #6411
There are 24 commits in total.
See the full diff
Version 5.1.2 just got published.
Update to this version instead π
Commits
The new version differs by 60 commits.
a8352e9Merge branch 'master' of github.com:Automattic/mongoose5fbff00chore: release 5.1.230b9432Merge pull request #6490 from distancesprinter/patch-1cfdb51echore: add carbon cpc ads476d466chore: add todo re: concat()6ee94e1fix(array): usepush()instead ofconcat()because of array subclassing quirks in node v4 and v591c49fbUpdated guide.jade to include new SchemaTypes7af1221Merge branch 'master' of github.com:Automattic/mongoose7edfedefix(array): use custom array class to avoid clobbered property names04132c3test(document): repro #64317cd160eMerge pull request #6486 from lineus/fix-64788b2eaa3make MongooseMap.toJSON return a serialized object7b009a1chore: bump to latest acquitf24868fdocs(connection): documentuseDb()e4efcf8style: fix lint re: #6435
There are 60 commits in total.
See the full diff
Version 5.1.3 just got published.
Update to this version instead π
Commits
The new version differs by 44 commits.
c1a6fc6chore: release 5.1.38e4337dfix(document): support set() on path underneath array embedded discriminator3d433a2test(document): repro #65269ece1f8fix(document): handle set() on path under embedded discriminator with object syntax3228dc8test(document): repro #64824030aebMerge pull request #6511 from lineus/feature-645636a8ffcstyle: add space4904e96Merge branch 'master' of github.com:Automattic/mongoosea3352f6fix(populate): handle virtual populate under single nested doc under embedded discriminator2a2f9c8test(populate): repro #648884141c6Merge pull request #6527 from lineus/fix-65174160f19createConnection should take an extended model tooe083aa1fix(document): handledoc.set()underneath embedded discriminator742ef81test(document): repro #64823c15f47Merge pull request #6514 from ChristianMurphy/update-dependencies
There are 44 commits in total.
See the full diff
Version 5.1.4 just got published.
Update to this version instead π
Commits
The new version differs by 27 commits.
38d4aa7chore: release 5.1.448ac62bdocs(lambda): add info on what happens if database does down between lambda function callsab26feaMerge pull request #6550 from lineus/docs-yeahIbrokethat86c0488fix: bump mongodb -> 3.0.9 for handling multiple mongos disconnects793ecc0adding hr tags for parallel save error and add something2648773fix(update): allow updating embedded discriminator path if discriminator key is in filtera528c89test(model): repro #5841b0e3893test(populate): add coverage for remaining cases for #649839c5fbdMerge pull request #6537 from lineus/fix-6509aec8136Merge pull request #6545 from iblamefish/patch-15654683Merge pull request #6539 from lineus/fix-652810836b6Fix broken Connection pools anchor0b21110fix(populate): propagatelean()down to subpopulated25403ctest(populate): repro part 1 of #6498131030bdont use full argument signature when subpopulating with options
There are 27 commits in total.
See the full diff
Version 5.1.5 just got published.
Update to this version instead π
Commits
The new version differs by 35 commits.
374c117chore: release 5.1.52803b0ftest: skip webpack on older node versions and bump timeoutb6e11c2style: fix lint5c217c9test(webpack): add missing file0f681dddocs(browser): create new browser docs pagec85a282chore: bump lockfile6049f4cchore: bump acquit -> 1.0.0d4b18d1Merge branch 'master' of github.com:Automattic/mongoose6909d30fix(populate): handle virtual populate with embedded discriminator under single nested subdoc512e090test(populate): repro #6571689e0e1Merge pull request #6575 from lineus/docs-65679ed16edstyle: fix lint335e09fMerge pull request #6563 from lineus/docs-find-projectiond156188Merge pull request #6560 from l33ds/patch-11545313Merge pull request #6559 from lineus/fix-6554
There are 35 commits in total.
See the full diff
Version 5.1.6 just got published.
Update to this version instead π
Commits
The new version differs by 34 commits.
144fd69chore: release 5.1.6e4a90bfdocs: make guides.jade title for browser lib more concise9c715c3chore: add cpm to guides.jade76f14c1fix: bump mongodb -> 3.0.10 for better retries support280e658Merge pull request #6604 from lineus/docs-66031f30880make the messages the same for doc/model9821432add undefined return to {model,doc}.save3fed6f0Merge branch 'master' of github.com:Automattic/mongooseddf9641docs: add note about theapplyPluginsToDiscriminatorsoption021640eMerge pull request #6552 from profbiss/master9a4fad6Merge branch 'master' of github.com:Automattic/mongoosebdddd11fix(schema): apply alias when adding fields with .add()d188e4ctest(schema): repro #6593133d05edocs: add schema as an item on navbara646ce9Merge pull request #6590 from lineus/docs-6589
There are 34 commits in total.
See the full diff
Version 5.1.7 just got published.
Update to this version instead π
Commits
The new version differs by 21 commits.
d578f91chore: release 5.1.76ab0941Merge branch 'master' of github.com:Automattic/mongoose999eaaddocs(populate): quick typesetting fix8e281f3Merge pull request #6623 from VFedyk/patch-21122cb7Merge pull request #6577 from joeytwiddle/patch-1506a87bdocs(middleware): clean up error handling middleware docs a bit2c262a8Added NPM badge36fc46cdocs(document): add more info onincludedChildrenoptionc9a430ffix(document): handle document arrays inmodifiedPaths()with includeChildren option237a931test(document): repro #59044b6f7cbRename sections, split paragraphsd37182dMerge pull request #6613 from jimmytsao/fix-6612e140663Merge pull request #6614 from lineus/fix-6611492c3fbdocs: add basic geojson guide0e0056eset saving to undefined before emitting save
There are 21 commits in total.
See the full diff
Version 5.1.8 just got published.
Update to this version instead π
Commits
The new version differs by 13 commits.
48b089achore: release 5.1.8647b1e1Merge pull request #6638 from evanhenke/master5715c28test: fix testsf298e1edocs(geojson): add geojson docse540a2cdocs(geojson): add querying example re: #660715f5e16change to testff23bdbfix for TypeError being thrown when calling save() more than once if the object being saved has atomicsc2fe031fix: bump mongodb -> 3.0.11 to avoid cyclic dependency error with retryWritesae2a9aestyle: fix lint re: #6625d0218c4fix(query): add explain() helper and don't hydrate explain outputea3332dtest(query): repro #6625801ba20docs(query): fixsetOptions()lists0eeebd2chore: now working on 5.1.8
See the full diff
Version 5.2.0 just got published.
Update to this version instead π
Commits
The new version differs by 41 commits.
d457cbechore: release 5.2.05d730d4Merge pull request #6600 from Automattic/5.2985a845feat(model): make ensureIndexes() fail if specifying an index on _id93d06a4feat(model): addcountDocuments()cb2a9a8Merge branch 'master' into 5.244928eftest: fix testsdd3ee74fix(model): ignore sparse indexes when using decorateDiscriminatorIndexOptions()8d775f1feat(model): decorate unique discriminator indexes with partialFilterExpressions678692etest(model): repro #6347b5f928dchore: add missing strict mode7839a0dfeat(discriminator): support discriminators on nested doc arrays91980e4feat(model): addsyncIndexes(), drops indexes that aren't in schemae6a30b9chore: depend on mongodb-core for require() with node v4f39595efeat(model): add listIndexes() helper0a2d255fix: avoid using Object.values() for old node versions
There are 41 commits in total.
See the full diff
Version 5.2.1 just got published.
Update to this version instead π
Commits
The new version differs by 7 commits.
f7f55b0chore: release 5.2.1ff08b9cfix(model): only warn on custom _id index if index only has _id key2decc5bfix(connection): allow setting the mongodb driver's useNewUrlParser option, default to falseb2c1c6dchore: now working on 5.2.1d90ef00Merge pull request #6652 from lineus/temp-fix-conn-issuesa016a2fdocs(model): add session to startSession() example727eda4dont use newUrlParser until next driver update
See the full diff
Version 5.2.2 just got published.
Update to this version instead π
Commits
The new version differs by 22 commits.
a596859chore: release 5.2.230e2e95Merge pull request #6695 from lineus/docs-6691672d459docs: add rudimentary transactions guide888d376fix(model+query): add missing estimatedDocumentCount() function516199badd syntax highlighting on 2nd answer7ccee4dfix existing faq for array-defaults void 0 doesnt return null, add an example for initializing to a null value8671d27docs(middleware): remove unnecessary version reference re: #6679bea998dMerge pull request #6681 from AbdelrahmanHafez/master667143bMerge branch 'master' of github.com:Automattic/mongooseedb91b2docs(model): fix countDocuments() docs, bad copy/paste from count() docs2fce5f2Merge pull request #6683 from lineus/enhance-66697d7e9abfix(connection): addstartSession()helper to connection and mongoose global41ec904fix: upgrade mongodb driver -> 3.1.1 for countDocuments() fix7511d8ddocs(compatibility): add MongoDB 4 range26a1a97chore: use latest acquit-ignore to handle examples that start with acquit:ignore:start
There are 22 commits in total.
See the full diff