d99f42c | Valeri Karpov | 05 October 2021, 18:33:19 UTC | chore: release 5.13.10 | 05 October 2021, 18:33:19 UTC |
1a15331 | Valeri Karpov | 05 October 2021, 18:19:02 UTC | fix(index.d.ts): allow using type: SchemaDefinitionProperty in schema definitions Re: #10605 Fix #10674 | 05 October 2021, 18:19:02 UTC |
1f9e481 | Valeri Karpov | 05 October 2021, 17:35:01 UTC | fix(index.d.ts): allow `AnyObject` as param to `findOneAndReplace()` Fix #10714 | 05 October 2021, 17:35:04 UTC |
07946be | Valeri Karpov | 06 September 2021, 16:51:20 UTC | chore: release v5.13.9 | 06 September 2021, 16:51:20 UTC |
264554f | Valeri Karpov | 06 September 2021, 16:39:26 UTC | fix: upgrade to mpath v0.8.4 re: security issue Note that the security issue in earlier versions of mpath does **not** affect Mongoose Fix #10683 | 06 September 2021, 16:39:26 UTC |
fc5fc7e | Valeri Karpov | 03 September 2021, 21:25:20 UTC | fix: peg @types/bson version to 1.x || 4.0.x to avoid stubbed 4.2.x release | 03 September 2021, 21:25:20 UTC |
1f28237 | Valeri Karpov | 03 September 2021, 20:26:33 UTC | fix(populate): avoid setting empty array on lean document when populate result is undefined Fix #10599 | 03 September 2021, 20:26:35 UTC |
1dc9b45 | Valeri Karpov | 02 September 2021, 22:00:13 UTC | style: fix lint | 02 September 2021, 22:00:13 UTC |
3f7dfc5 | Valeri Karpov | 02 September 2021, 21:54:10 UTC | fix(document): make `depopulate()` handle populated paths underneath document arrays Fix #10592 | 02 September 2021, 21:54:10 UTC |
b34d1d5 | Valeri Karpov | 02 September 2021, 20:13:39 UTC | fix(index.d.ts): simplify UpdateQuery to avoid "excessively deep and possibly infinite" errors with `extends Document` and `any` Fix #10617 | 02 September 2021, 20:13:39 UTC |
2a3399e | Valeri Karpov | 26 August 2021, 13:51:31 UTC | docs: another layout fix for 5.x docs Fix #10607 | 26 August 2021, 13:51:34 UTC |
5bf3c29 | Valeri Karpov | 25 August 2021, 21:05:15 UTC | chore: update makefile again | 25 August 2021, 21:05:15 UTC |
191678c | Valeri Karpov | 25 August 2021, 21:02:40 UTC | chore: update makefile re: #10607 | 25 August 2021, 21:02:40 UTC |
776fae9 | Valeri Karpov | 25 August 2021, 20:57:46 UTC | docs: fix up 5.x docs navbar | 25 August 2021, 20:57:46 UTC |
a803885 | Valeri Karpov | 23 August 2021, 21:02:53 UTC | test(typescript): add coverage for #10590 | 23 August 2021, 21:02:53 UTC |
bf43078 | Valeri Karpov | 23 August 2021, 21:01:04 UTC | fix(index.d.ts): allow specifying `weights` as an IndexOption Fix #10586 | 23 August 2021, 21:01:04 UTC |
cb1e787 | Valeri Karpov | 23 August 2021, 15:49:30 UTC | chore: release 5.13.8 | 23 August 2021, 15:49:30 UTC |
5c0140c | Valeri Karpov | 23 August 2021, 15:31:51 UTC | fix(index.d.ts): add `match` to `VirtualTypeOptions.options` Fix #8479 | 23 August 2021, 15:31:51 UTC |
6122f4b | Valeri Karpov | 23 August 2021, 15:22:28 UTC | docs(api): add `Document#$where` to API docs Fix #10583 | 23 August 2021, 15:22:32 UTC |
2871c1b | Valeri Karpov | 23 August 2021, 15:18:22 UTC | style: fix lint | 23 August 2021, 15:18:22 UTC |
8d00f62 | Valeri Karpov | 23 August 2021, 15:03:18 UTC | Merge pull request #10587 from osmanakol/master allow QueryOptions populate parameter type PopulateOptions | 23 August 2021, 15:03:18 UTC |
57e729b | Osman Akol | 22 August 2021, 12:29:02 UTC | allow QueryOptions populate parameter use PopulateOptions | 22 August 2021, 12:29:02 UTC |
6c36263 | Valeri Karpov | 21 August 2021, 18:33:57 UTC | fix(index.d.ts): allow strings for ObjectIds in nested properties Fix #10573 | 21 August 2021, 18:33:57 UTC |
e90aab1 | Valeri Karpov | 19 August 2021, 20:55:01 UTC | docs(History): make a note about #10555 Fix #10576 | 19 August 2021, 20:55:04 UTC |
fca0627 | Valeri Karpov | 17 August 2021, 21:39:52 UTC | style: fix lint | 17 August 2021, 21:39:52 UTC |
6b92599 | Valeri Karpov | 17 August 2021, 21:05:02 UTC | fix(populate): handle populating subdoc array virtual with sort Fix #10552 | 17 August 2021, 21:05:02 UTC |
283d43f | Valeri Karpov | 17 August 2021, 21:04:43 UTC | test(populate): repro #10552 | 17 August 2021, 21:04:43 UTC |
b31fd51 | Valeri Karpov | 17 August 2021, 19:26:19 UTC | fix(model): check for `code` instead of `codeName` when checking for existing collections for backwards compat with MongoDB 3.2 Fix #10420 | 17 August 2021, 19:26:19 UTC |
79d1a8e | Valeri Karpov | 17 August 2021, 18:41:24 UTC | fix(index.d.ts): correct value of `this` for custom query helper methods Fix #10545 | 17 August 2021, 18:41:24 UTC |
ec41d22 | Valeri Karpov | 11 August 2021, 19:17:21 UTC | chore: release 5.13.7 | 11 August 2021, 19:17:21 UTC |
75c3d18 | Valeri Karpov | 11 August 2021, 19:01:27 UTC | Merge pull request #10546 from shahriar-shojib/fix_types updated array push type definition | 11 August 2021, 19:01:27 UTC |
22a3570 | Valeri Karpov | 11 August 2021, 18:56:06 UTC | fix: fix build again | 11 August 2021, 18:56:06 UTC |
0b3083a | Valeri Karpov | 11 August 2021, 18:53:05 UTC | Merge pull request #10550 from thiagokisaki/patch-5 refactor(index.d.ts): make callbacks use the new `Callback` and `CallbackWithoutResult` types | 11 August 2021, 18:53:05 UTC |
fa1c43c | Valeri Karpov | 11 August 2021, 18:31:08 UTC | fix: correct types | 11 August 2021, 18:31:08 UTC |
711ded8 | Valeri Karpov | 11 August 2021, 18:29:02 UTC | fix: fix build | 11 August 2021, 18:29:02 UTC |
2f57e76 | Valeri Karpov | 11 August 2021, 18:28:27 UTC | fix: fix build | 11 August 2021, 18:28:27 UTC |
100101b | Valeri Karpov | 11 August 2021, 18:23:24 UTC | fix: apply code review suggestions re: loose typing to `push()` and remove unused code | 11 August 2021, 18:23:24 UTC |
7e398a9 | Valeri Karpov | 11 August 2021, 18:21:26 UTC | test(typescript): add coverage for #10562 | 11 August 2021, 18:21:26 UTC |
2a608e3 | Valeri Karpov | 11 August 2021, 18:12:24 UTC | style: fix lint | 11 August 2021, 18:12:24 UTC |
134cdbd | Valeri Karpov | 11 August 2021, 18:11:52 UTC | Merge pull request #10562 from JaredReisinger/patch-1 Fix type for schema.index() to reflect actual mongoose API | 11 August 2021, 18:11:52 UTC |
697012a | Valeri Karpov | 11 August 2021, 18:06:33 UTC | Merge pull request #10563 from JaredReisinger/patch-2 Define `IndexOptions` in terms of `mongodb.IndexOptions` | 11 August 2021, 18:06:33 UTC |
540a820 | Valeri Karpov | 11 August 2021, 17:56:05 UTC | fix(index.d.ts): allow using SchemaTypeOptions with array of raw document interfaces Fix #10537 | 11 August 2021, 17:56:05 UTC |
433d6f4 | Valeri Karpov | 11 August 2021, 16:50:04 UTC | Merge branch 'master' of github.com:Automattic/mongoose | 11 August 2021, 16:50:04 UTC |
fefebb3 | Valeri Karpov | 11 August 2021, 16:49:31 UTC | perf(index.d.ts): loosen up restrictions on `ModelType` generic for Schema for a ~50% perf improvement when compiling TypeScript and using intellisense Re: #10349 Fix #10536 Re: #10515 | 11 August 2021, 16:49:31 UTC |
2eed940 | Valeri Karpov | 11 August 2021, 00:06:47 UTC | docs(query): add `Query#model` to docs re: #10531 | 11 August 2021, 00:06:47 UTC |
332268d | Valeri Karpov | 11 August 2021, 00:06:10 UTC | fix(index.d.ts): add `Query#model` property to ts bindings Fix #10531 | 11 August 2021, 00:06:12 UTC |
a1dd24e | Valeri Karpov | 10 August 2021, 22:53:55 UTC | fix(index.d.ts): correct type for `expires` Fix #10529 | 10 August 2021, 22:53:58 UTC |
53d2c12 | Jared Reisinger | 10 August 2021, 17:22:42 UTC | allow any string index property name | 10 August 2021, 17:22:42 UTC |
bdb68c3 | Jared Reisinger | 10 August 2021, 00:24:10 UTC | add `IndexDirection` for index sorting direction | 10 August 2021, 00:24:10 UTC |
f6d1ae6 | Jared Reisinger | 09 August 2021, 23:55:06 UTC | Define `IndexOptions` in terms of `mongodb.IndexOptions` The current mongoose.IndexOptions is missing some mongo-valid paroperties, like `partialFilterExpression`. | 09 August 2021, 23:55:06 UTC |
d70ea43 | Jared Reisinger | 09 August 2021, 23:18:48 UTC | Fix type for schema.index() to reflect actual mongoose API Commit 1c66cc972c90529bd0ffe8496e9de866b92a97fa broke the typing for `Schema.index()` by making `fields` look like mongo's `IndexSpecification`, when it's not: mongoose has its own idea about what the index specification looks like. (I'm not 100% sure about the changed return value on `Schema.indexes()`... there may be prefixing and a `background` field added, as per https://github.com/Automattic/mongoose/blob/master/lib/helpers/schema/getIndexes.js.) Fixes #10561. | 09 August 2021, 23:18:48 UTC |
477afdc | Valeri Karpov | 09 August 2021, 19:29:20 UTC | chore: release 5.13.6 | 09 August 2021, 19:29:20 UTC |
63a8b30 | Valeri Karpov | 09 August 2021, 19:07:50 UTC | style: fix lint | 09 August 2021, 19:07:50 UTC |
2cffb31 | Valeri Karpov | 09 August 2021, 17:22:48 UTC | fix(index.d.ts): allow calling `new Model(...)` with generic Model param Fix #10526 | 09 August 2021, 17:23:20 UTC |
c1a719d | Valeri Karpov | 09 August 2021, 17:00:59 UTC | Merge pull request #10538 from Raader/master update type declarations of Schema.index method | 09 August 2021, 17:00:59 UTC |
ee5b391 | Valeri Karpov | 09 August 2021, 16:58:34 UTC | fix(schema): throw more helpful error when defining a document array using a schema from a different copy of the Mongoose module Fix #10453 | 09 August 2021, 16:58:34 UTC |
cdd4116 | Valeri Karpov | 09 August 2021, 16:30:37 UTC | docs(schema): add more info and examples to `Schema#indexes()` docs Fix #10446 | 09 August 2021, 16:30:41 UTC |
99ae199 | Valeri Karpov | 09 August 2021, 15:46:08 UTC | fix(index.d.ts): add useNewUrlParser and useUnifiedTopology to ConnectOptions Fix #10500 | 09 August 2021, 15:46:08 UTC |
a37f63c | Valeri Karpov | 09 August 2021, 15:42:23 UTC | fix: add explicit check on `constructor` property to avoid throwing an error when checking objects with null prototypes Fix #10512 | 09 August 2021, 15:42:23 UTC |
bf54ac2 | Valeri Karpov | 09 August 2021, 15:30:47 UTC | test(update): repro #10512 | 09 August 2021, 15:35:29 UTC |
a0bdcfe | Valeri Karpov | 09 August 2021, 15:01:04 UTC | fix(cursor): make sure to clear stack every 1000 docs when calling `next()` to avoid stack overflow with large batch size Fix #10449 | 09 August 2021, 15:01:04 UTC |
6f74717 | Thiago Kisaki | 09 August 2021, 11:46:36 UTC | add `CallbackWithoutResult` type | 09 August 2021, 11:46:36 UTC |
523becd | Efe | 09 August 2021, 10:01:42 UTC | remove unnecessary space | 09 August 2021, 10:01:42 UTC |
1c66cc9 | Efe | 09 August 2021, 09:51:00 UTC | use mongodb's index specification | 09 August 2021, 09:51:00 UTC |
f746434 | Shahriar Shojib | 09 August 2021, 02:23:43 UTC | relax types for non AtomicPush | 09 August 2021, 02:23:43 UTC |
95685e2 | Valeri Karpov | 08 August 2021, 20:37:49 UTC | Merge pull request #10557 from thiagokisaki/patch-7 chore: add `types` property to `package.json` | 08 August 2021, 20:37:49 UTC |
c5b4b85 | Valeri Karpov | 08 August 2021, 20:36:24 UTC | Merge pull request #10555 from thiagokisaki/patch-6 fix(index.d.ts): improve types of `Schema#(g|s)et` | 08 August 2021, 20:36:24 UTC |
3390337 | Valeri Karpov | 08 August 2021, 20:28:35 UTC | Merge pull request #10547 from bvgusak/fix/add-diff-indexes-types fix(index.d.ts): add missing type for diffIndexes | 08 August 2021, 20:28:35 UTC |
cdc07ff | Valeri Karpov | 08 August 2021, 20:20:42 UTC | Merge pull request #10544 from GCastilho/type-map-fix fix: Fixed incorrect type definition for Query's .map function | 08 August 2021, 20:20:42 UTC |
d2030a7 | Valeri Karpov | 08 August 2021, 20:10:33 UTC | Merge pull request #10543 from maon-fp/update-mongo-driver bump mongodb to 3.6.11 | 08 August 2021, 20:10:33 UTC |
b96ad00 | Thiago Kisaki | 08 August 2021, 13:32:11 UTC | chore: add `types` property to `package.json` | 08 August 2021, 13:34:56 UTC |
0f49d67 | Thiago Kisaki | 08 August 2021, 03:21:09 UTC | fix(index.d.ts): improve types of `Schema#(g|s)et` | 08 August 2021, 03:21:09 UTC |
36d2185 | Thiago Kisaki | 07 August 2021, 01:22:21 UTC | Merge branch 'master' of https://github.com/thiagokisaki/mongoose into patch-5 | 07 August 2021, 01:22:21 UTC |
9cb7b1d | Thiago Kisaki | 07 August 2021, 01:13:55 UTC | refactor(index.d.ts): add `Callback` type to avoid code repetition | 07 August 2021, 01:13:55 UTC |
8426d39 | bvgusak | 06 August 2021, 04:19:06 UTC | fix(index.d.ts): add missing type for diffIndexes | 06 August 2021, 04:19:06 UTC |
b091ce9 | Shahriar Shojib | 06 August 2021, 04:05:47 UTC | added types for DocumentArray push | 06 August 2021, 04:05:47 UTC |
f64f651 | Shahriar Shojib | 06 August 2021, 03:45:56 UTC | updated definition for docArray | 06 August 2021, 03:45:56 UTC |
0f8903d | Shahriar Shojib | 06 August 2021, 03:27:09 UTC | updated array push type definition | 06 August 2021, 03:27:09 UTC |
4c8847e | GCastilho | 06 August 2021, 01:35:16 UTC | Fixed incorrect type definition for Query's .map function | 06 August 2021, 01:35:16 UTC |
9a87c36 | Valeri Karpov | 06 August 2021, 00:44:56 UTC | chore: update opencollective sponsors | 06 August 2021, 00:44:56 UTC |
7a57544 | Fabian Pfannes | 05 August 2021, 19:37:20 UTC | bump mongodb to 3.6.11 | 05 August 2021, 19:37:20 UTC |
47cba8e | Efe | 03 August 2021, 22:34:56 UTC | update type declarations for index related fields in Schema | 03 August 2021, 22:34:56 UTC |
9b00c96 | Valeri Karpov | 02 August 2021, 15:26:39 UTC | chore: update opencollective sponsors | 02 August 2021, 15:26:39 UTC |
c36bd64 | Valeri Karpov | 30 July 2021, 15:41:06 UTC | chore: release 5.13.5 | 30 July 2021, 15:41:06 UTC |
b33599c | Valeri Karpov | 30 July 2021, 15:36:55 UTC | Merge pull request #10510 from thiagokisaki/gh-10504 fix(index.d.ts): fix `debug` type in `MongooseOptions` | 30 July 2021, 15:36:55 UTC |
d88f981 | Valeri Karpov | 30 July 2021, 15:26:15 UTC | Merge pull request #10515 from andreialecu/perf-types perf: improve typescript type checking performance | 30 July 2021, 15:26:15 UTC |
9c41c19 | Andrei Alecu | 30 July 2021, 07:40:22 UTC | perf: improve typescript type checking performance | 30 July 2021, 07:40:22 UTC |
f1e0de1 | Valeri Karpov | 29 July 2021, 14:20:28 UTC | Merge pull request #10501 from gfrancz/patch-1 Update depopulate documentation for document.js | 29 July 2021, 14:20:28 UTC |
ae819cc | Thiago Kisaki | 29 July 2021, 12:49:18 UTC | fix(index.d.ts): fix `debug` type in `MongooseOptions` | 29 July 2021, 12:49:18 UTC |
28b1aa3 | Valeri Karpov | 28 July 2021, 21:42:59 UTC | fix: get rid of hardcoding of @types/node re: DefinitelyTyped/DefinitelyTyped#54479 | 28 July 2021, 21:42:59 UTC |
b82aa37 | gfrancz | 28 July 2021, 21:39:18 UTC | Update depopulate documentation for document.js Currently the documentation indicates that if a path for depopulate(path) is not provided, then it's a no-op. This is absolutely not true -- in fact, all fields are depopulated. This change fixes the documentation issue. | 28 July 2021, 21:39:18 UTC |
6b33a7b | Valeri Karpov | 28 July 2021, 21:12:00 UTC | chore: release 5.13.4 | 28 July 2021, 21:12:00 UTC |
060039d | Valeri Karpov | 28 July 2021, 20:59:17 UTC | fix(index.d.ts): improve autocomplete for `new Model()` by making `doc` an object with correct keys Fix #10475 Re: #10343 Re: #10302 | 28 July 2021, 20:59:20 UTC |
2066180 | Valeri Karpov | 28 July 2021, 19:30:38 UTC | fix(map): correctly clone subdocs when calling `toObject()` on a map Fix #10486 | 28 July 2021, 19:30:38 UTC |
7793065 | Valeri Karpov | 28 July 2021, 19:29:42 UTC | test(map): repro #10486 | 28 July 2021, 19:30:33 UTC |
1be924d | Valeri Karpov | 28 July 2021, 19:13:51 UTC | style: fix lint | 28 July 2021, 19:13:51 UTC |
c05e7f6 | Valeri Karpov | 28 July 2021, 19:10:16 UTC | Merge branch 'master' of github.com:Automattic/mongoose | 28 July 2021, 19:10:16 UTC |
b6beb3e | Valeri Karpov | 28 July 2021, 19:09:24 UTC | fix(update): support overwriting nested map paths Fix #10485 | 28 July 2021, 19:09:24 UTC |
926533f | Valeri Karpov | 28 July 2021, 19:09:13 UTC | test: repro #10485 | 28 July 2021, 19:09:13 UTC |
fcbadbc | Valeri Karpov | 28 July 2021, 18:19:00 UTC | Merge pull request #10494 from juhdanad/lean-populated Make LeanDocument work with PopulatedDoc | 28 July 2021, 18:19:00 UTC |