sort by:
Revision Author Date Message Commit Date
3c7ae7a chore: release 6.1.5 04 January 2022, 16:53:58 UTC
869cbc8 refactor: remove unnecessary if re: #11168 04 January 2022, 16:49:42 UTC
9dcbe71 Merge pull request #11176 from EugeneKorshenko/ts-projection_return_type types: Fix return type of `projection` method 04 January 2022, 16:43:23 UTC
234f21d Merge pull request #11164 from ahmedelshenawy25/ahmedelshenawy25-patch-1 Update CONTRIBUTING.md 04 January 2022, 16:38:12 UTC
2350bff Merge pull request #11168 from AbdelrahmanHafez/gh-11160 fix(document): allow populating deeply nested models as strings 04 January 2022, 16:33:05 UTC
a455e18 types: Fix return type of `projection` method 04 January 2022, 16:18:45 UTC
d5550a5 fix(query): allow calling `limit()` and `skip()` with a string Fix #11017 04 January 2022, 03:17:57 UTC
0c1fdbc docs: add github sponsors section 03 January 2022, 18:57:26 UTC
c8fd2cd fix(document): handle cases where subPopulate is nullish 03 January 2022, 17:44:44 UTC
e49a1f6 refactor(cursor): use standard `completeOne()` to hydrate doc with query cursors rather than separate code path Re: #11130 03 January 2022, 02:53:21 UTC
9a2e8b5 fix: better way to avoid @types/node@17.0.6 03 January 2022, 02:22:18 UTC
d17a3f7 fix(index.d.ts): temporarily disallow @types/node@17.0.6 until mongodb driver works around GridFSBucketWriteStream errors 03 January 2022, 01:37:14 UTC
2ee4ffc fix(cursor): propery apply selected fields when loading discriminator docs with query cursor Fix #11130 03 January 2022, 01:15:41 UTC
ccaef75 test(cursor): repro #11130 03 January 2022, 01:15:03 UTC
301180c refactor typescript test to step-down style 03 January 2022, 00:42:32 UTC
c61c8fe Revert "test quick fix for splitPath is undefined" This reverts commit b41cd1e9d6a0047ca625104ecaae4b171b6612cd. 03 January 2022, 00:27:43 UTC
59f2937 fix(document): allow populating deeply nested models as strings 03 January 2022, 00:24:46 UTC
4751a75 remove .only 03 January 2022, 00:23:53 UTC
8064a09 test(document): repro #11160 03 January 2022, 00:23:21 UTC
78b1d2b Merge branch 'master' of https://github.com/Automattic/mongoose 03 January 2022, 00:06:40 UTC
8704302 Update CONTRIBUTING.md 31 December 2021, 16:47:37 UTC
b0d525d Merge pull request #11150 from mhoc/master Export a Separate Type for PipelineStage Types Allowed in Facet Aggregation Sub-Pipelines 30 December 2021, 22:08:51 UTC
6a5c154 Revert "fix(model): make `exists()` consistenty return the query" This reverts commit 92b8c5f24d5b85955e9da0f3f64b0dfefbc5c9b6. 30 December 2021, 21:56:32 UTC
df94638 Merge pull request #11147 from Shivaansh-Agarwal/patch-1 docs: use es6 object destructuring instead of regular dot operator for accessing value in object 30 December 2021, 21:54:40 UTC
004f397 Merge pull request #11140 from EugeneKorshenko/fix_typings_Group Follow-up fix of TS index signature definition for Group type. 30 December 2021, 21:53:51 UTC
92b8c5f fix(model): make `exists()` consistenty return the query Fix #11138 30 December 2021, 21:37:46 UTC
20ccfdf fix(index.d.ts): handle primitives with `FlattenMaps` Fix #11117 30 December 2021, 21:18:21 UTC
210ab50 test: repro #11117 30 December 2021, 21:11:10 UTC
1141ec4 perf(index.d.ts): simplify `Schema` typedef for query helpers and methods to significantly reduce TS compiler overhead Re: #10349 30 December 2021, 03:05:00 UTC
d723d8d fix(index.d.ts): enforce id on lean query result type Fix #11118 29 December 2021, 20:28:32 UTC
52d986b Rename Step -> Stage. 28 December 2021, 18:31:11 UTC
dab3149 Export a separate type for PipelineStage types allowed in Facets. 28 December 2021, 18:25:37 UTC
7ef7b71 fix(mongoose+connection): clone schema correctly when passing instance of another Mongoose instance's Schema to Connection.prototype.model() Fix #11047 28 December 2021, 01:52:23 UTC
0c4ff26 test(mongoose): repro #11047 28 December 2021, 01:35:39 UTC
e59f096 docs: use es6 object destructuring instead of regular dot operator for accessing value in object 27 December 2021, 20:49:48 UTC
111758b chore: release 6.1.4 27 December 2021, 18:29:32 UTC
6745b69 Merge branch '5.x' 27 December 2021, 18:05:33 UTC
d2b846f chore: release 5.13.14 27 December 2021, 17:54:15 UTC
8dfc4cc fix(index.d.ts): unpack array when using generic type override with `populate()` Fix #11027 27 December 2021, 17:24:17 UTC
69c1f6c docs(models): fix up nModified example for 5.x Fix #11055 27 December 2021, 02:30:54 UTC
4cfc4d6 fix(timestamps): avoid setting `createdAt` on documents that already exist but dont have createdAt Fix #11024 27 December 2021, 02:10:23 UTC
69b67ad docs(connection): clarify that "connected" and "open" are different Fix #10886 26 December 2021, 17:13:25 UTC
851b62d fix: upgrade to kareem@2.3.3 for #11110 26 December 2021, 17:00:39 UTC
101dd82 fix(document): handle save with undefined nested doc under subdoc Fix #11110 26 December 2021, 16:44:36 UTC
58371ea test(document): repro #11110 26 December 2021, 16:44:14 UTC
49d46e9 Merge branch 'master' of https://github.com/Automattic/mongoose 26 December 2021, 12:36:34 UTC
6b7b787 Fixes TS index signature definition for Group type All explicitly defined keys should always follow the type defined at the index signature. So having `any` as a type for `_id` was just a hidden error. Even more, `_id` as a key in the member of union type was redundant. 24 December 2021, 13:01:50 UTC
6d41296 Merge pull request #11079 from gramliu/master Fix findByIdAndUpdate behavior with undefined id 24 December 2021, 02:43:03 UTC
7b60e4d Update model.populate.test.js 24 December 2021, 02:34:06 UTC
34b0488 Update model.populate.test.js 24 December 2021, 02:25:55 UTC
0c7023d Merge pull request #11135 from MontgomeryWatts/patch-1 Update guide.md 24 December 2021, 02:18:33 UTC
b6eb341 Merge pull request #11133 from orgads/connection-states fix(index): export ConnectionStates 24 December 2021, 02:16:40 UTC
89f1302 fix(document): allow manually populating subdocument refs with `create()` Fix #10856 23 December 2021, 20:20:26 UTC
e2f8565 fix(document): support manually populating document refs Re: #10856 23 December 2021, 18:27:12 UTC
3aeb86a docs(typescript): add note about Schema.Types.ObjectId vs Types.ObjectId in document definition Fix #10949 23 December 2021, 17:42:19 UTC
9402efd fix(populate): handles refPath underneath map of subdocuments Fix #9359 23 December 2021, 17:27:23 UTC
53fd005 test(populate): repro #9359 23 December 2021, 17:19:08 UTC
dbb7ed6 Merge pull request #11132 from DavideViolante/patch-2 fix(index.d.ts): fix typings in Merge stage 23 December 2021, 16:52:19 UTC
86a77bb docs(populate): correct `refPath` example to not use `on` as a schema path name Fix #11113 23 December 2021, 16:49:01 UTC
ab9e0f5 Update guide.md Update example for `strictQuery` to indicate it will *not* remove fields not in schema when set to `false`. 23 December 2021, 15:39:03 UTC
cea80bc fix(index): export ConnectionStates It is declared as an enum in ts definitions, but did not really work. 23 December 2021, 06:54:32 UTC
fe3809f fix(index.d.ts): fix Merge pipeline types Fix Merge pipeline types on whenMatched case. 22 December 2021, 14:52:44 UTC
17fcd47 chore: release 6.1.3 21 December 2021, 19:16:31 UTC
d564362 chore: update some dev deps 21 December 2021, 19:11:40 UTC
dc535ea chore: correct eslint 21 December 2021, 19:04:18 UTC
55144a8 chore: update some dev dependencies 21 December 2021, 19:03:10 UTC
9a89276 chore: upgrade bluebird dep 21 December 2021, 19:01:49 UTC
33792d1 Merge pull request #11124 from DavideViolante/patch-2 fix(index.d.ts): fix typings in Group stage 21 December 2021, 18:43:51 UTC
8a64699 Fix TS typings in Group stage 20 December 2021, 09:37:14 UTC
4f5c0a6 Merge pull request #11121 from eltociear/patch-2 chore: fix typo in model.js 20 December 2021, 00:46:30 UTC
c072e57 Merge pull request #11114 from hustxiaoc/patch-1 Better for service discovery 20 December 2021, 00:45:51 UTC
a0712da Merge pull request #11107 from rpenido/fix-castPipelineOperator-$unset fix: allow use type string in $unset update with aggregation pipeline 20 December 2021, 00:36:15 UTC
fb1d42d Merge pull request #11103 from warlock1996/patch-1 Update validation.md 20 December 2021, 00:31:18 UTC
c45aa1f Merge pull request #11102 from rpenido/fix-typescript-project-pipeline fix(index.d.ts) treat _id like other fields in $project 20 December 2021, 00:30:17 UTC
c892db0 perf(populate): avoid duplicate model names when using `refPath` to avoid O(n^2) memory growth with number of array elements Fix #10983 20 December 2021, 00:27:15 UTC
e43ef16 perf: reduce some more unnecessary property instantiations when creating a new document Re: #10400 19 December 2021, 18:21:16 UTC
8a3c69a perf: make `isSubdocument` a prototype property to reduce memory usage Re: #10400 19 December 2021, 17:31:40 UTC
74b7c8c chore: fix typo in model.js similarily -> similarly 19 December 2021, 07:36:53 UTC
444ec6e test: fix tests 18 December 2021, 23:01:44 UTC
cc589b7 docs: add MongooseDocumentArray to API docs Fix #10998 18 December 2021, 22:47:42 UTC
90086ed docs(subdocuments): fix broken link Fix #10998 18 December 2021, 22:11:16 UTC
9dfbfc4 fix(populate): report full path when throwing `strictPopulate` error with deep populate Fix #10923 18 December 2021, 22:08:09 UTC
b50770f test(populate): repro #10923 18 December 2021, 22:03:21 UTC
9f68670 fix(document): clean modified paths when setting deeply nested subdocument Fix #11060 18 December 2021, 21:31:39 UTC
df7db90 test(document): repro #11060 18 December 2021, 21:31:04 UTC
f361220 Update connection.js 17 December 2021, 03:31:37 UTC
c4d7c9e fix(schema): handle default function that returns null on document arrays Fix #11058 16 December 2021, 20:18:17 UTC
fd103fc test: repro #11058 16 December 2021, 20:17:47 UTC
24d1d6f fix(schema+model): cast paths marked with `ref` when hydrating Fix #11052 16 December 2021, 19:49:15 UTC
156f83a test(model): repro #11052 16 December 2021, 19:49:06 UTC
b71e551 add test gh-11106 15 December 2021, 22:19:16 UTC
c473f91 fix: allow use type string in $unset update with aggregation pipeline 15 December 2021, 21:06:20 UTC
926d1e4 treat _id like other fields on $project 15 December 2021, 16:18:00 UTC
a97e6cc docs(migrating_to_6): add `omitUndefined` to Mongoose 6 migration guide 15 December 2021, 15:20:43 UTC
429ce49 fix(index.d.ts): add `Mongoose.prototype.trusted()` function to type defs Fix #10957 15 December 2021, 14:46:58 UTC
02f4198 Update validation.md 15 December 2021, 04:46:03 UTC
2349b73 fix(index.d.ts) allow $project with only {_id: 1} 15 December 2021, 01:36:08 UTC
b6e68f6 chore: release 6.1.2 15 December 2021, 00:02:55 UTC
f82a1e0 docs: undo #11091 14 December 2021, 23:58:30 UTC
cacc0df Merge pull request #11098 from alibehroozi/fix_replace_root_type fix replaceRoot type 14 December 2021, 22:41:42 UTC
back to top