86d6f73 | Valeri Karpov | 02 April 2017, 22:21:16 UTC | chore: release 4.9.3 | 02 April 2017, 22:21:16 UTC |
5eb8692 | Valeri Karpov | 02 April 2017, 05:39:33 UTC | perf(populate): dont clone whole options every time Fix #5103 | 02 April 2017, 05:39:35 UTC |
f6dd89f | Valeri Karpov | 02 April 2017, 05:25:13 UTC | docs(schematype): explain custom message with required function Fix #5123 | 02 April 2017, 05:25:13 UTC |
12425b5 | Valeri Karpov | 01 April 2017, 06:14:34 UTC | fix(populate): only apply refPath duplicate id optimization if not array Fix #5114 | 01 April 2017, 06:14:34 UTC |
ca59b9c | Valeri Karpov | 01 April 2017, 06:14:22 UTC | test(populate): repro #5114 | 01 April 2017, 06:14:22 UTC |
0a7be41 | Valeri Karpov | 31 March 2017, 22:49:10 UTC | docs(schematypes): explain some subtleties with arrays Fix #5059 | 31 March 2017, 22:49:12 UTC |
79fdf6a | Valeri Karpov | 31 March 2017, 22:30:59 UTC | Merge pull request #5129 from monkbroc/patch-1 Avoid exception on constructor check | 31 March 2017, 22:30:59 UTC |
fe20693 | Valeri Karpov | 31 March 2017, 22:30:23 UTC | Merge pull request #5131 from krmannix/master document.js fixes for functions prepended with `$` | 31 March 2017, 22:30:23 UTC |
f4d7ad6 | Valeri Karpov | 31 March 2017, 16:28:58 UTC | fix(document): copy non-objects to _doc when init() Re: #5111 | 31 March 2017, 16:28:58 UTC |
cede3b4 | Valeri Karpov | 31 March 2017, 16:28:55 UTC | test(document): repro #5111 | 31 March 2017, 16:28:55 UTC |
04fb701 | Valeri Karpov | 30 March 2017, 04:35:13 UTC | feat(document): add isDirectSelected() to minimize isSelected() changes Fix #5063 | 30 March 2017, 04:35:15 UTC |
2d6bf66 | Valeri Karpov | 30 March 2017, 04:34:48 UTC | test(document): repro #5063 | 30 March 2017, 04:34:48 UTC |
0a03288 | Valeri Karpov | 30 March 2017, 04:16:21 UTC | docs(discriminator): use message in discriminator docs re: #5113 | 30 March 2017, 04:16:21 UTC |
eee1f04 | K. Rodman Mannix | 29 March 2017, 13:30:03 UTC | document.js fixes for functions prepended with `$` | 29 March 2017, 13:59:19 UTC |
65f6178 | Valeri Karpov | 29 March 2017, 00:47:57 UTC | docs(schematype): explain how to use `isAsync` with validate() Fix #5125 | 29 March 2017, 00:47:57 UTC |
6967687 | Julien Vanier | 28 March 2017, 14:12:23 UTC | Avoid exception on constructor check I was pushing object created by `Object.create(null);` into an array so the prototype is `undefined` which causes `Cannot read property 'baseCasterConstructor' of undefined`. Check that the prototype is defined first. | 28 March 2017, 14:12:23 UTC |
541294a | Valeri Karpov | 26 March 2017, 23:46:23 UTC | chore: now working on 4.9.3 | 26 March 2017, 23:46:23 UTC |
fcff38e | Valeri Karpov | 26 March 2017, 23:39:33 UTC | chore: release 4.9.2 | 26 March 2017, 23:39:33 UTC |
8042fb4 | Valeri Karpov | 26 March 2017, 00:54:04 UTC | Merge pull request #5076 from bertolo1988/master Update description said "documents" instead of "one document" | 26 March 2017, 00:54:04 UTC |
1edc6ab | Valeri Karpov | 25 March 2017, 23:42:53 UTC | Merge branch 'master' of github.com:Automattic/mongoose | 25 March 2017, 23:42:53 UTC |
2dd76ab | Valeri Karpov | 25 March 2017, 23:41:47 UTC | fix(connection): throw error if username:password includes @ or : Re: #5091 | 25 March 2017, 23:41:47 UTC |
6752313 | Valeri Karpov | 25 March 2017, 23:26:33 UTC | Merge pull request #5093 from Jiang-Xuan/patch-1 Update guide.jade | 25 March 2017, 23:26:33 UTC |
70c6fd9 | Valeri Karpov | 25 March 2017, 23:25:09 UTC | fix(discriminator): handle class names consistently Fix #5104 | 25 March 2017, 23:25:09 UTC |
aae7c57 | Valeri Karpov | 25 March 2017, 23:09:48 UTC | fix(document): ensure subdoc post save runs after parent save Fix #5085 | 25 March 2017, 23:09:50 UTC |
2bbc59e | Valeri Karpov | 25 March 2017, 23:08:26 UTC | test(document): repro #5085 | 25 March 2017, 23:08:26 UTC |
64b4eb1 | Valeri Karpov | 25 March 2017, 22:09:41 UTC | fix(querycursor): run pre find hooks with .cursor() Fix #5096 | 25 March 2017, 22:09:41 UTC |
dc79ff6 | Valeri Karpov | 25 March 2017, 22:09:37 UTC | test(querycursor): repro #5096 | 25 March 2017, 22:09:37 UTC |
bbf6166 | Valeri Karpov | 23 March 2017, 20:22:17 UTC | refactor: move more tests into before hooks | 23 March 2017, 20:22:17 UTC |
a160e4e | Valeri Karpov | 23 March 2017, 20:02:28 UTC | refactor: move more schemas into before hooks | 23 March 2017, 20:02:28 UTC |
b72eaca | Valeri Karpov | 23 March 2017, 19:47:46 UTC | refactor: move most test schemas into before hooks | 23 March 2017, 19:47:46 UTC |
51b8e80 | Valeri Karpov | 23 March 2017, 02:29:13 UTC | fix(schema): make clone() work with reusing discriminator schemas Fix #5098 | 23 March 2017, 02:29:15 UTC |
432360e | Valeri Karpov | 23 March 2017, 02:28:10 UTC | test(discriminator): repro #5098 | 23 March 2017, 02:28:10 UTC |
1d3a962 | Valeri Karpov | 22 March 2017, 01:57:45 UTC | fix(timestamps): handle overwriting createdAt+updatedAt consistently Re: #5088 #5045 | 22 March 2017, 01:57:48 UTC |
f17fe91 | Jiang-Xuan | 21 March 2017, 01:22:44 UTC | Update guide.jade I guess `unpredictable` is right.Because i can't find it when i use bing online dictionary. | 21 March 2017, 01:22:44 UTC |
ea9ff07 | Valeri Karpov | 21 March 2017, 00:20:18 UTC | fix(update): avoid adding empty updates when updating timestamps Fix #5088 | 21 March 2017, 00:20:20 UTC |
091e12b | Valeri Karpov | 21 March 2017, 00:19:23 UTC | test(update): repro #5088 | 21 March 2017, 00:19:23 UTC |
4abf0af | Valeri Karpov | 19 March 2017, 17:24:26 UTC | chore: now working on 4.9.2 | 19 March 2017, 17:24:26 UTC |
4f864cf | Valeri Karpov | 19 March 2017, 17:22:37 UTC | chore: release 4.9.1 | 19 March 2017, 17:22:37 UTC |
74cdbdd | Valeri Karpov | 19 March 2017, 00:21:55 UTC | Merge pull request #5080 from zoellner/master fix(query): handle $type for arrays | 19 March 2017, 00:21:55 UTC |
249653b | Valeri Karpov | 18 March 2017, 22:19:45 UTC | fix(populate): avoid duplicate ids in dynref queries Fix #5054 | 18 March 2017, 22:19:45 UTC |
dae6192 | Valeri Karpov | 18 March 2017, 22:13:24 UTC | test: fix flakey test | 18 March 2017, 22:13:24 UTC |
79bf54a | Valeri Karpov | 18 March 2017, 16:21:41 UTC | fix: upgrade driver -> 2.2.25 Fix #5033 | 18 March 2017, 16:21:44 UTC |
fa2caf5 | Valeri Karpov | 17 March 2017, 22:54:10 UTC | fix(model): get promise each time save() is called rather than once Fix #5030 | 17 March 2017, 22:54:12 UTC |
7d6c259 | Valeri Karpov | 17 March 2017, 22:24:32 UTC | test: add coverage for #5070 | 17 March 2017, 22:24:32 UTC |
2a0df9a | Valeri Karpov | 17 March 2017, 22:15:17 UTC | fix(connection): make connect return value consistent Fix #5006 | 17 March 2017, 22:15:19 UTC |
1a5fffb | Valeri Karpov | 17 March 2017, 04:47:28 UTC | fix(timestamps): handle nested timestamp paths Fix #5051 | 17 March 2017, 04:47:28 UTC |
4efe0dc | Valeri Karpov | 17 March 2017, 04:46:51 UTC | test(timestamps): repro #5051 | 17 March 2017, 04:46:51 UTC |
dd3182f | Valeri Karpov | 17 March 2017, 04:40:38 UTC | docs(validation): add some more detail re: isAsync | 17 March 2017, 04:40:38 UTC |
91866a8 | Valeri Karpov | 15 March 2017, 22:50:27 UTC | Merge pull request #5072 from sjorssnoeren/gh-5068 InsertMany behaves as expected for validation errors while ordered op… | 15 March 2017, 22:50:27 UTC |
80b325c | Andreas Zoellner | 15 March 2017, 18:22:31 UTC | fix(query): handle $type for arrays Fix #5079 | 15 March 2017, 18:22:31 UTC |
0a88085 | Valeri Karpov | 15 March 2017, 16:31:45 UTC | fix(update): dont double-call setters on arrays Fix #5041 | 15 March 2017, 16:31:45 UTC |
9105d85 | Valeri Karpov | 15 March 2017, 16:30:42 UTC | test(update): repro #5041 | 15 March 2017, 16:30:42 UTC |
606fc04 | Bertolo | 15 March 2017, 10:58:07 UTC | Update description said "documents" instead of "one document" | 15 March 2017, 10:58:07 UTC |
113ad7d | Valeri Karpov | 14 March 2017, 15:31:01 UTC | fix(timestamps): dont set timestamps in update if user set it Fix #5045 | 14 March 2017, 15:31:03 UTC |
1d131f9 | Valeri Karpov | 14 March 2017, 15:29:38 UTC | test(timestamps): repro #5045 | 14 March 2017, 15:29:38 UTC |
d2eaff0 | Sjors Snoeren | 14 March 2017, 14:15:15 UTC | Removes unused trailing comma in insertMany tests | 14 March 2017, 14:15:15 UTC |
be89c60 | Sjors Snoeren | 14 March 2017, 14:13:12 UTC | InsertMany returns an empty array when all models are invalid | 14 March 2017, 14:13:12 UTC |
f4f9d03 | Sjors Snoeren | 14 March 2017, 13:55:21 UTC | InsertMany now handles missing or malformed options object well | 14 March 2017, 13:55:21 UTC |
eb7fbc9 | Sjors Snoeren | 14 March 2017, 13:28:36 UTC | InsertMany behaves as expected for validation errors while ordered option is disabled InsertMany already did use the ordered option for unique constraint errors but didn’t for validation errors. As expected insertMany should behave likewise for validation errors. | 14 March 2017, 13:28:36 UTC |
e2e105b | Valeri Karpov | 13 March 2017, 23:22:02 UTC | chore: now working on 4.9.1 | 13 March 2017, 23:22:02 UTC |
e43cdf1 | Valeri Karpov | 13 March 2017, 23:20:22 UTC | chore: release 4.9.0 | 13 March 2017, 23:20:22 UTC |
36b6ced | Valeri Karpov | 13 March 2017, 23:07:02 UTC | Merge pull request #4977 from Automattic/4925 rawResult option | 13 March 2017, 23:07:02 UTC |
386918a | Valeri Karpov | 13 March 2017, 23:06:50 UTC | Merge pull request #5066 from Automattic/4.9 4.9 | 13 March 2017, 23:06:50 UTC |
566b9e8 | Valeri Karpov | 12 March 2017, 18:42:43 UTC | Merge pull request #5018 from Automattic/4983 Add a clone() function for schemas | 12 March 2017, 18:42:43 UTC |
b40c187 | Valeri Karpov | 12 March 2017, 18:42:32 UTC | Merge pull request #5024 from Automattic/4290 Support isAsync option for validators | 12 March 2017, 18:42:32 UTC |
336b0ee | Valeri Karpov | 12 March 2017, 18:42:21 UTC | Merge pull request #5039 from Automattic/5026 5026 | 12 March 2017, 18:42:21 UTC |
f6acdb2 | Valeri Karpov | 12 March 2017, 18:42:15 UTC | Merge pull request #5040 from Automattic/5027 Return this from `depopulate()` | 12 March 2017, 18:42:15 UTC |
27e461e | Valeri Karpov | 12 March 2017, 18:42:06 UTC | Merge pull request #5065 from Automattic/3998 `Model.bulkWrite()` | 12 March 2017, 18:42:06 UTC |
4aeb6e9 | Valeri Karpov | 12 March 2017, 18:41:01 UTC | Merge branch '4.9' into 4983 Conflicts: test/model.discriminator.test.js | 12 March 2017, 18:41:01 UTC |
c3d7429 | Valeri Karpov | 12 March 2017, 18:38:14 UTC | Merge branch 'master' into 4.9 Conflicts: package.json | 12 March 2017, 18:38:14 UTC |
cdaad77 | Valeri Karpov | 12 March 2017, 18:34:58 UTC | chore: now working on 4.8.8 | 12 March 2017, 18:34:58 UTC |
5c22152 | Valeri Karpov | 12 March 2017, 18:33:14 UTC | chore: release 4.8.7 | 12 March 2017, 18:33:14 UTC |
03e1062 | Valeri Karpov | 12 March 2017, 02:24:14 UTC | fix(populate): handle passing no args to query.populate Fix #5036 | 12 March 2017, 02:24:14 UTC |
165de1c | Valeri Karpov | 12 March 2017, 02:23:59 UTC | test(populate): repro #5036 | 12 March 2017, 02:23:59 UTC |
06d8509 | Valeri Karpov | 12 March 2017, 01:58:00 UTC | docs: improve bulkWrite docs | 12 March 2017, 01:58:00 UTC |
eb47842 | Valeri Karpov | 12 March 2017, 01:56:34 UTC | docs(model): add actual bulkWrite example re: #3998 | 12 March 2017, 01:56:34 UTC |
4c25637 | Valeri Karpov | 12 March 2017, 01:50:51 UTC | fix(model): correct handling of replaceOne Fix #3998 | 12 March 2017, 01:50:53 UTC |
6ab3b8c | Valeri Karpov | 12 March 2017, 01:46:31 UTC | fix(model): handle remaining ops for #3998 | 12 March 2017, 01:46:31 UTC |
166b475 | Valeri Karpov | 12 March 2017, 01:18:26 UTC | fix(model): handle update casting for bulkWrite re: #3998 | 12 March 2017, 01:18:26 UTC |
28f3377 | Valeri Karpov | 12 March 2017, 00:42:12 UTC | refactor(query): expose castUpdate as a pure function internally | 12 March 2017, 00:42:12 UTC |
0450b41 | Valeri Karpov | 11 March 2017, 22:15:05 UTC | feat(model): add rudimentary bulkWrite support Re: #3998 | 11 March 2017, 22:15:07 UTC |
e09a428 | Valeri Karpov | 11 March 2017, 04:20:20 UTC | fix(model): if last arg in spread is falsy, treat it as a callback Fix #5061 | 11 March 2017, 04:20:20 UTC |
057bd3f | Valeri Karpov | 11 March 2017, 04:20:16 UTC | test(model): repro #5061 | 11 March 2017, 04:20:16 UTC |
0540c8a | Valeri Karpov | 10 March 2017, 06:08:14 UTC | test: fix tests | 10 March 2017, 06:08:14 UTC |
4507487 | Valeri Karpov | 10 March 2017, 05:59:40 UTC | test: remove es6-only code from tests | 10 March 2017, 05:59:40 UTC |
a049601 | Valeri Karpov | 10 March 2017, 05:54:44 UTC | feat(query): add deleteOne and deleteMany re: #3998 | 10 March 2017, 05:54:44 UTC |
d555251 | Valeri Karpov | 10 March 2017, 05:47:07 UTC | test(query): add coverage for the justOne option | 10 March 2017, 05:47:07 UTC |
fd38d59 | Valeri Karpov | 10 March 2017, 05:24:32 UTC | Merge branch 'master' into 4.9 | 10 March 2017, 05:24:32 UTC |
0c99538 | Valeri Karpov | 10 March 2017, 04:02:52 UTC | style: remove unnecessary utils. Re: https://github.com/Automattic/mongoose/commit/59c6d3ee90e2f332d81a955412af4c0a511ebe36#commitcomment-21117266 | 10 March 2017, 04:02:54 UTC |
9390543 | Valeri Karpov | 09 March 2017, 06:31:44 UTC | fix(discriminator): handle array discriminators when casting $push Fix #5009 | 09 March 2017, 06:31:47 UTC |
7c114ac | Valeri Karpov | 09 March 2017, 06:31:25 UTC | test(discriminator): repro #5009 | 09 March 2017, 06:31:25 UTC |
952eaca | Valeri Karpov | 09 March 2017, 06:00:07 UTC | fix(populate): dont select foreign field if parent field is selected Fix #5037 | 09 March 2017, 06:00:09 UTC |
3dba7b3 | Valeri Karpov | 09 March 2017, 05:59:24 UTC | test(populate): repro #5037 | 09 March 2017, 05:59:42 UTC |
6669f41 | Valeri Karpov | 08 March 2017, 04:57:22 UTC | fix(document): use $hook instead of hook Fix #5047 | 08 March 2017, 04:57:25 UTC |
f30d834 | Valeri Karpov | 08 March 2017, 04:54:11 UTC | test(document): repro #5047 | 08 March 2017, 04:54:11 UTC |
7d69ceb | Valeri Karpov | 07 March 2017, 03:08:33 UTC | fix(update): use correct method for casting nested arrays Fix #5032 | 07 March 2017, 03:08:33 UTC |
c17732c | Valeri Karpov | 07 March 2017, 03:08:21 UTC | test(update): repro #5032 | 07 March 2017, 03:08:21 UTC |
cded108 | Valeri Karpov | 06 March 2017, 02:43:06 UTC | feat(query): add replaceOne() Re: #3998 | 06 March 2017, 02:43:10 UTC |
0c7b63a | Valeri Karpov | 05 March 2017, 22:25:29 UTC | Merge branch 'master' into 4.9 Conflicts: package.json | 05 March 2017, 22:25:29 UTC |
525f43f | Valeri Karpov | 05 March 2017, 22:24:55 UTC | chore: now working on 4.8.7 | 05 March 2017, 22:24:55 UTC |