https://github.com/Automattic/mongoose

sort by:
Revision Author Date Message Commit Date
061bb82 chore: release 7.7.0 18 June 2024, 20:09:58 UTC
0198236 types: remove duplicate key 06 June 2024, 20:23:13 UTC
7fdda33 Merge branch '6.x' into 7.x 06 June 2024, 20:18:42 UTC
53d382b chore: release 6.13.0 06 June 2024, 19:31:00 UTC
0f99e99 chore: release 7.6.13 05 June 2024, 20:14:04 UTC
7e6db5f types: cherry-pick #14612 back to 7.x and fix conflicts 05 June 2024, 20:08:12 UTC
40ec813 types: pass DocType down to subdocuments so `HydratedSingleSubdocument` and `HydratedArraySubdocument` `toObject()` returns correct type Fix #14601 05 June 2024, 20:05:22 UTC
7b6be47 Merge pull request #14645 from Automattic/vkarpov15/gh-13762-docs docs(migrating_to_7): add id setter to Mongoose 7 migration guide 04 June 2024, 22:11:33 UTC
da126f4 docs(migrating_to_7): add id setter to Mongoose 7 migration guide 02 June 2024, 15:40:58 UTC
37e73b8 Merge pull request #14599 from Automattic/vkarpov15/gh-14572-3 feat(model): add throwOnValidationError option for opting into getting MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany() 02 June 2024, 15:19:56 UTC
520e4be Merge pull request #14614 from Automattic/vkarpov15/gh-14610 fix(query): shallow clone $or and $and array elements to avoid mutating query filter arguments 30 May 2024, 11:46:08 UTC
d4ad58e bring in some changes from #14580 24 May 2024, 16:22:24 UTC
218d50a fix(query): shallow clone $or and $and array elements to avoid mutating query filter arguments Fix #14610 24 May 2024, 16:20:10 UTC
c3b4bdb chore: release 6.12.9 24 May 2024, 14:22:52 UTC
32f1ee1 chore: release 7.6.12 21 May 2024, 19:39:56 UTC
be48a21 Merge pull request #14605 from Automattic/vkarpov15/gh-14595 fix(update): cast array of strings underneath doc array with array filters 21 May 2024, 19:29:57 UTC
4f5641f fix(update): cast array of strings underneath doc array with array filters Fix #14595 18 May 2024, 11:02:59 UTC
f4cfe1e feat(model): add throwOnValidationError option for opting into getting MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany() Backport #13410 Backport #14587 Fix #14572 16 May 2024, 21:28:51 UTC
7b0d28b Merge pull request #13764 from hasezoey/mms9 upgrade to mongodb-memory-server 9.0.0 16 May 2024, 20:34:31 UTC
eb61572 Merge pull request #14590 from Automattic/vkarpov15/gh-14576 fix(cast): cast $comment to string in query filters 15 May 2024, 21:46:07 UTC
a70ecc2 fix(cast): cast $comment to string in query filters Fix #14576 13 May 2024, 15:59:14 UTC
de05204 chore(deps-dev): bump mongodb-memory-server from 9.1.8 to 9.2.0 11 May 2024, 15:37:35 UTC
07cb7da Merge pull request #14571 from Automattic/vkarpov15/gh-14548 types(model): allow passing strict type checking override to create() 08 May 2024, 23:47:00 UTC
ed79348 test: address code review comments 08 May 2024, 23:37:07 UTC
92fa6eb types(model): allow passing strict type checking override to create() Fix #14548 06 May 2024, 11:02:24 UTC
07fcf0a Merge pull request #14561 from lorand-horvath/patch-14 Bump mongodb driver to 5.9.2 03 May 2024, 19:11:11 UTC
c4c7414 Bump mongodb driver to 5.9.2 03 May 2024, 16:28:36 UTC
c9293a2 Merge pull request #14531 from Automattic/vkarpov15/gh-14502 fix(array): avoid converting to `$set` when calling `pull()` on an element in the middle of the array 27 April 2024, 18:30:46 UTC
cadcf38 Update test/document.test.js Co-authored-by: hasezoey <hasezoey@gmail.com> 25 April 2024, 16:24:31 UTC
299828d fix(document): make isDirectModified return true if path is direct modified in subdoc Re: #14502 22 April 2024, 16:31:32 UTC
dfc4486 fix(array): avoid converting to `$set` when calling `pull()` on an element in the middle of the array Re: #14502 22 April 2024, 15:22:13 UTC
d6d8e95 chore(workflows/test): update mongodb versions to their latest patch 19 April 2024, 14:15:01 UTC
86a8447 chore(deps-dev): bump mongodb-memory-server from 9.0.0 to 9.1.8 19 April 2024, 14:12:50 UTC
a4c9e10 Merge branch '7.x' into mms9 19 April 2024, 14:11:32 UTC
c97c060 chore: release 7.6.11 11 April 2024, 16:21:24 UTC
247d029 fix(populate): avoid match function filtering out `null` values in populate result Fix #14494 11 April 2024, 15:36:10 UTC
bf70152 Merge branch '6.x' into 7.x 10 April 2024, 21:58:25 UTC
c00a715 chore: release 6.12.8 10 April 2024, 21:44:25 UTC
8a8bea5 Merge pull request #14493 from Automattic/vkarpov15/gh-14448 fix(schema): support setting discriminator options in Schema.prototype.discriminator() 04 April 2024, 16:30:49 UTC
f1ed8b1 fix(schema): deduplicate idGetter so creating multiple models with same schema doesn't result in multiple id getters Fix #14457 04 April 2024, 16:30:31 UTC
f845fb2 fix(schema): support setting discriminator options in Schema.prototype.discriminator() Fix #14448 02 April 2024, 20:24:13 UTC
d3cb2ab Merge pull request #14468 from Automattic/vkarpov15/gh-14446 fix(document): handle virtuals that are stored as objects but getter returns string with toJSON 30 March 2024, 11:51:00 UTC
69a0581 fix(document): handle virtuals that are stored as objects but getter returns string with toJSON Fix #14446 26 March 2024, 18:55:34 UTC
759f0d4 Merge pull request #14458 from Automattic/vkarpov15/gh-14418 Avoid depopulating populated subdocs underneath document arrays when copying to another document 26 March 2024, 16:04:12 UTC
bc48379 fix(schematype): consistently set `wasPopulated` to object with `value` property rather than boolean Re: #14418 Re: #6048 21 March 2024, 21:24:44 UTC
ed35573 test(document): add test case for #14418 21 March 2024, 20:14:29 UTC
3e63142 fix(document): avoid depopulating populated subdocs underneath document arrays when copying to another document Fix #14118 21 March 2024, 20:09:12 UTC
9afba5f chore: release 7.6.10 13 March 2024, 13:38:14 UTC
a9cf7b0 Merge pull request #14422 from Automattic/vkarpov15/gh-14387 docs(mongoose): add `options.overwriteModel` details to `mongoose.model()` docs 11 March 2024, 19:18:33 UTC
0c291bc Merge pull request #14426 from hasezoey/update6xDocs Port #14415 to 7.x 08 March 2024, 22:32:24 UTC
ffd254e style(model): fix link for 7.x documentation and up re 0d41df3f6807cab60952b46bc3ff7a5c686fbf60 08 March 2024, 12:49:34 UTC
bf8eb4e Merge branch '6.x' into 7.x 08 March 2024, 12:42:00 UTC
7906ecb Merge branch '7.x' into vkarpov15/gh-14387 07 March 2024, 21:55:30 UTC
9ff5e42 Merge pull request #14415 from Automattic/vkarpov15/gh-14376 docs(model): add extra note about `lean` option for `insertMany()` skipping casting 07 March 2024, 21:52:14 UTC
0d41df3 Update lib/model.js Co-authored-by: hasezoey <hasezoey@gmail.com> 07 March 2024, 21:46:56 UTC
c41ee9a docs(mongoose): add `options.overwriteModel` details to `mongoose.model()` docs Fix #14387 07 March 2024, 15:55:26 UTC
918ae17 style: fix lint 07 March 2024, 15:44:41 UTC
956ed4a Merge branch '6.x' into 7.x 07 March 2024, 15:40:14 UTC
b46652f docs(model): add extra note about `lean` option for `insertMany()` skipping casting Re: #14376 05 March 2024, 23:06:06 UTC
29f57c1 chore: release 6.12.7 01 March 2024, 18:34:32 UTC
d14d25b Merge pull request #14383 from Automattic/vkarpov15/gh-14113-2 perf(document+schema): small optimizations to make `init()` faster 01 March 2024, 16:03:38 UTC
92112dd Merge branch '6.x' into vkarpov15/gh-14113-2 28 February 2024, 20:48:49 UTC
222ad3b chore: pin tmp@0.2.1 re: raszi/node-tmp#293 28 February 2024, 20:43:02 UTC
b6cb439 Merge branch '6.x' into vkarpov15/gh-14113-2 28 February 2024, 19:29:13 UTC
0af28e0 Merge pull request #14376 from Automattic/vkarpov15/gh-14372 perf(model): make `insertMany()` `lean` option skip hydrating Mongoose docs 28 February 2024, 19:28:24 UTC
5096630 style: fix lint 27 February 2024, 21:27:30 UTC
867f7b7 test: fix #13335 tests 27 February 2024, 21:24:41 UTC
a9f6614 test: try fixing tests 27 February 2024, 21:19:24 UTC
834c29f chore: release 7.6.9 26 February 2024, 20:11:58 UTC
635c795 perf(document+schema): small optimizations to make `init()` faster Re: #14113 26 February 2024, 15:59:35 UTC
d937726 Merge branch '6.x' into vkarpov15/gh-14372 25 February 2024, 22:20:26 UTC
ac9ea01 test: quick connection string fix 25 February 2024, 22:20:17 UTC
45f5c4c perf(model): make `insertMany()` `lean` option skip hydrating Mongoose docs Fix #14372 25 February 2024, 22:16:13 UTC
5dfb62f test: fix issues with cherry-picking #13376 to 6.x 25 February 2024, 21:12:03 UTC
352137b Merge pull request #14355 from 3150/introduce_resumeTokenChanged_into_6.x Receive resumeTokenChanged changeStream event also in 6.x 22 February 2024, 20:48:01 UTC
ca1cc92 Merge pull request #14364 from Automattic/vkarpov15/gh-14266 docs(connections): add note about using `asPromise()` with `createConnection()` for error handling 22 February 2024, 19:57:00 UTC
81e36d1 Update docs/connections.md Co-authored-by: hasezoey <hasezoey@gmail.com> 22 February 2024, 19:55:23 UTC
6950c96 docs(connections): add note about using `asPromise()` with `createConnection()` for error handling Fix #14266 20 February 2024, 18:16:24 UTC
34feac0 introduce resumeTokenChanged into 6.x 16 February 2024, 06:50:52 UTC
09181ef chore: release 6.12.6 22 January 2024, 16:03:26 UTC
af123cb Merge pull request #14277 from Automattic/vkarpov15/gh-14184 fix(collection): correctly handle buffer timeouts with `find()` 22 January 2024, 15:58:16 UTC
a6e4d18 style: fix lint 21 January 2024, 19:10:00 UTC
7f9406f types(query): improve findByIdAndDelete return type for query re: #14190 21 January 2024, 19:09:27 UTC
775aadf types(model): correct return type for findByIdAndDelete() Fix #14190 21 January 2024, 19:09:15 UTC
6b67f9b test: add test case for #14184 21 January 2024, 18:09:08 UTC
900e9fa fix(collection): correctly handle buffer timeouts with `find()` Fix #14184 21 January 2024, 12:13:00 UTC
4b6d208 Merge pull request #14254 from Automattic/vkarpov15/gh-14244 fix(document): allow calling `push()` with different `$position` arguments 18 January 2024, 22:46:35 UTC
4939b01 Merge pull request #14264 from Automattic/vkarpov15/gh-14246 docs(model+query+findoneandupdate): add more details about `overwriteDiscriminatorKey` option to docs 18 January 2024, 22:46:03 UTC
cc9ac77 Merge pull request #14265 from rohanricky/pathRelativeToParent_null_check null check 18 January 2024, 15:03:14 UTC
73bea51 null check 18 January 2024, 11:49:25 UTC
cc80894 Update lib/model.js Co-authored-by: hasezoey <hasezoey@gmail.com> 17 January 2024, 18:38:42 UTC
ee0d28f Update docs/tutorials/findoneandupdate.md Co-authored-by: hasezoey <hasezoey@gmail.com> 17 January 2024, 18:38:34 UTC
64fa470 docs(model+query+findoneandupdate): add more details about `overwriteDiscriminatorKey` option to docs Fix #14246 17 January 2024, 11:59:00 UTC
0faafcf Merge pull request #14256 from Automattic/vkarpov15/gh-14245 fix(document): handle embedded recursive discriminators on nested path defined using Schema.prototype.discriminator 13 January 2024, 19:46:56 UTC
d3e22af fix(document): handle embedded recursive discriminators on nested path defined using Schema.prototype.discriminator Fix #14245 12 January 2024, 22:01:39 UTC
6bc42ce test: add missing issue to test title 12 January 2024, 15:30:32 UTC
195b46c fix(document): allow calling `push()` with different `$position` arguments Fix #14244 Re: #4322 12 January 2024, 15:07:42 UTC
ac9af5b docs: add unnecessary lookahead fix to changelog 08 January 2024, 20:32:02 UTC
6ffb123 chore: release 7.6.8 08 January 2024, 20:29:24 UTC
7248bdf Merge branch '6.x' into 7.x 03 January 2024, 21:51:53 UTC
back to top