https://github.com/Automattic/mongoose

sort by:
Revision Author Date Message Commit Date
54b3cae chore: release 5.9.16 25 May 2020, 17:44:57 UTC
e08670b Merge pull request #9021 from zbjornson/zb/error-class refactor(error): convert errors to classes extending Error 25 May 2020, 17:27:03 UTC
7aa470e Merge pull request #9052 from AbdelrahmanHafez/patch-6 upgrade eslint to 7.1.0 25 May 2020, 17:11:31 UTC
4a7c715 Merge pull request #9053 from AbdelrahmanHafez/gh-9006 enhancement(connection): make server selection error less deterministic 25 May 2020, 17:03:27 UTC
9a21a5b enhancement(connection): make server selection error less deterministic 25 May 2020, 00:32:00 UTC
bd2aa99 lint(compile): fix no-setter-return 24 May 2020, 23:49:35 UTC
adbf710 lint(document): remove impossible to execute branch 24 May 2020, 23:49:09 UTC
c382a57 upgrade eslint to 7.1.0 24 May 2020, 23:36:22 UTC
f1e4201 fix(query): throw CastError if filter `$and`, `$or`, `$nor` contain non-object values Fix #8948 23 May 2020, 19:08:52 UTC
8fec66c fix(document): fix one more dangling $__.scope reference re: #8955 23 May 2020, 18:53:30 UTC
cf2ba9f fix(model): make syncIndexes() not drop index if all user-specified collation options are the same Fix #8994 23 May 2020, 18:12:48 UTC
64ea7cf fix(document): make internal `$__.scope` property a symbol instead to work around a bug with fast-safe-stringify Fix #8955 23 May 2020, 17:11:25 UTC
9b082a4 fix(discriminator): remove discriminator schema nested paths pulled from base schema underneath a mixed path in discriminator schema Fix #9042 23 May 2020, 15:35:29 UTC
5cf9d2f test: repro #9042 23 May 2020, 15:35:20 UTC
97569fa Merge pull request #9026 from dandv/patch-10 docs: model.findByIdAndUpdate() 'new' param fix 22 May 2020, 19:55:45 UTC
c8aedad Merge pull request #9031 from AbdelrahmanHafez/gh-9030 fix(bulkwrite): cast filter & update to schema after applying timestamps 22 May 2020, 19:54:48 UTC
253a26f Merge pull request #9040 from vitorhnn/master fix(document): use the complete path name of a property when avoiding overwriting default values with undefined 22 May 2020, 19:50:38 UTC
074078d Merge pull request #9023 from dandv/patch-9 update returns updateWriteOpResult 22 May 2020, 19:44:24 UTC
ab4f1e9 tests(document): add GitHub issue number 20 May 2020, 19:03:13 UTC
1843533 fix(document): don't overwrite defaults with undefined keys in nested documents Fixes #9039 20 May 2020, 18:33:47 UTC
cc815b3 test(document): repro #9039 20 May 2020, 18:31:43 UTC
0f73556 chore: upgrade opencollective sponsors 20 May 2020, 03:04:44 UTC
3fceefe fix(bulkwrite): cast timestamps when type is different than `Date` 19 May 2020, 10:16:42 UTC
a61defa test: repro #9030 19 May 2020, 10:10:00 UTC
ffb1f84 refactor(error): convert errors to classes extending Error 19 May 2020, 02:55:10 UTC
44c270c chore: update opencollective sponsors 18 May 2020, 22:48:22 UTC
8ac42aa chore: release 5.9.15 18 May 2020, 22:41:53 UTC
14bba6f Merge pull request #9013 from philippejer/gh-9012 fix(documentarray): make sure you can call `unshift()` after `map()` 18 May 2020, 20:52:21 UTC
ed97aac Merge pull request #9014 from AbdelrahmanHafez/strictQuery-anchor docs: add anchor tag to strictQuery and strict 18 May 2020, 20:48:13 UTC
dba19fb docs: model.findByIdAndUpdate() 'new' param fix 18 May 2020, 11:35:53 UTC
12aa3b3 docs: fix `/docs/` omission from path 18 May 2020, 11:32:27 UTC
b5c5211 fix(model): report `insertedDocs` on `insertMany()` errors Fix #8938 17 May 2020, 21:33:14 UTC
faaff44 fix(model): ensure consistent `writeErrors` property on insertMany error with `ordered: false`, even if only one op failed Re: #8938 17 May 2020, 21:19:57 UTC
e736a73 test(model): repro #8938 17 May 2020, 21:19:41 UTC
478f841 update returns updateWriteOpResult 17 May 2020, 10:48:51 UTC
59f0024 fix(schema): treat creating dotted path with no parent as creating a nested path Fix #9020 16 May 2020, 19:05:46 UTC
c7dec63 test(schema): repro #9020 16 May 2020, 19:05:24 UTC
9c172e9 style: fix lint 16 May 2020, 18:18:11 UTC
6197c74 fix(timestamps): set createdAt and updatedAt on doubly nested subdocs when upserting Fix #8894 16 May 2020, 18:15:36 UTC
3d19ec1 test(timestamps): repro #8894 16 May 2020, 18:15:20 UTC
3c46473 docs(guide): add anchor tag to strict option 16 May 2020, 13:17:16 UTC
2fd29b0 docs: add anchor tag to strictQuery 16 May 2020, 11:38:40 UTC
1b190b6 fix(documentarray): make sure you can call `unshift()` after `map()` Fix #9012 16 May 2020, 10:32:30 UTC
71cc8f2 chore: update opencollective sponsors 15 May 2020, 22:41:50 UTC
5419f9c Merge branch 'master' of github.com:Automattic/mongoose 15 May 2020, 22:28:22 UTC
108e126 fix(populate): treat populating a doc array that doesn't have a `ref` as a no-op Fix #8946 15 May 2020, 22:27:28 UTC
31a4475 Merge pull request #9005 from dandv/patch-8 Fix typos in documents.pug 15 May 2020, 21:17:26 UTC
4e01246 Merge pull request #9007 from AbdelrahmanHafez/docs-gh-8993 docs: add note about throwing error only after validation and fix broken reference to api/CastError 15 May 2020, 21:16:48 UTC
51c5e15 Merge pull request #9003 from AbdelrahmanHafez/gh-9001 docs(document): elaborate on how Document#save() works 15 May 2020, 21:09:56 UTC
33b4fd4 Merge pull request #9004 from AbdelrahmanHafez/remove-faq-ipv6 docs(faq): remove faq ipv6 15 May 2020, 21:05:37 UTC
d5fa450 test: fix tests re: #8940 15 May 2020, 21:01:31 UTC
dcacea6 fix(schema): remove `db` from reserved keywords Fix #8940 15 May 2020, 20:54:51 UTC
df45db8 docs(schematypes): fix broken reference to api/CastError 15 May 2020, 12:01:58 UTC
8227492 docs(schematype): add note about throwing error only after validation 15 May 2020, 12:00:51 UTC
e50f899 Fix typos in documents.pug 15 May 2020, 06:24:40 UTC
d0674d9 style: add empty lines before each question 15 May 2020, 05:28:09 UTC
cea1b26 docs(faq): remove slow-localhost 15 May 2020, 05:27:48 UTC
e9c826c docs(document): elaborate on how Document#save works re #9001 15 May 2020, 05:16:33 UTC
ac0aa87 Merge pull request #8990 from AbdelrahmanHafez/gh-8982-bulkwrite fix(model): cast bulkwrite according to discriminator schema if discriminator key is present 14 May 2020, 19:28:27 UTC
7009c14 Merge pull request #8991 from AbdelrahmanHafez/gh-8984 fix(model): allow POJOs as schemas for model.discriminator(...) 14 May 2020, 19:19:05 UTC
a5d8de8 Merge pull request #8998 from AbdelrahmanHafez/remove-eslint-ignore-discriminators-test lint: enable eslint on model.discriminator.test 14 May 2020, 19:18:43 UTC
6fe7baa lint: fix model.discriminator.test linting 14 May 2020, 05:43:11 UTC
b75b51c test: improve assertion for #8984 14 May 2020, 05:38:23 UTC
dbdc417 chore: release 5.9.14 13 May 2020, 22:24:26 UTC
33b8ccc fix(model): allow POJOs as schemas for model.discriminator(...) 13 May 2020, 12:44:15 UTC
5663a97 test: repro #8984 13 May 2020, 12:43:30 UTC
87752e3 validate operation before attempting to get model on `updateOne` 13 May 2020, 12:08:57 UTC
9681756 fix(model): cast bulkwrite according to discriminator schema if discriminator key is present 13 May 2020, 11:57:31 UTC
bf9315d test: repro #8982 bulkwrite casting 13 May 2020, 11:49:23 UTC
1bdec38 Merge pull request #8986 from osher/patch-1 fix(errors) - user defines its own r/o err.toJSON 12 May 2020, 22:14:06 UTC
b293a36 Merge pull request #8983 from AbdelrahmanHafez/test/casting-discriminator-key add test case to assert #8892 12 May 2020, 22:02:18 UTC
28c845a Merge pull request #8987 from Andrew5569/patch-1 doc: add immutable type to Schema Types 12 May 2020, 22:01:00 UTC
d05dc13 chore: fix typo 12 May 2020, 22:00:33 UTC
810efe5 Merge pull request #8978 from AbdelrahmanHafez/gh-8974 fix(populate): populate virtuals defined on child discriminators 12 May 2020, 21:59:08 UTC
52d2986 Merge pull request #8970 from AbdelrahmanHafez/patch-5 test(model): fix flaky text for model.populate 12 May 2020, 17:43:23 UTC
4e9c5fe Merge pull request #8976 from AbdelrahmanHafez/gh-8953 fix(model): add `kind` to cast errors thrown by query execution 12 May 2020, 17:39:58 UTC
78031b7 Merge pull request #8966 from AbdelrahmanHafez/refactor/sort-schema-reserved docs: sort schema reserved keys in documentation 12 May 2020, 17:31:58 UTC
a93b9a5 Merge pull request #8973 from AbdelrahmanHafez/gh-8962 fix(cursor): add index as second parameter to eachAsync callback 12 May 2020, 17:31:01 UTC
0dd361a doc: add immutable type to Schema Types 12 May 2020, 15:18:22 UTC
c02ce2c fix(errors): user defines its own r/o err.toJSON When user code defines it's own Error.prototype.toJSON, which is defined as a read-only property - the fixed line crashes. It happens specificly because of the old-school `Object.create(prototype)` thing. 12 May 2020, 14:40:14 UTC
537154e test: repro #8982 12 May 2020, 10:18:30 UTC
1383a48 chore: update opencollective sponsors 11 May 2020, 19:14:14 UTC
0a14ab8 fix(populate): populate virtuals defined on child discriminators 11 May 2020, 11:40:32 UTC
3133039 test: repro #8924 11 May 2020, 11:24:22 UTC
04cef93 refactor(getModelsMapForPopulate): step-down and use for of instead of for let i 11 May 2020, 11:14:04 UTC
0e719db fix(castError): add `kind` to cast errors thrown by query execution 11 May 2020, 09:53:05 UTC
2528752 test(model): repro #8953 11 May 2020, 09:49:05 UTC
55c096d fix(eachAsync): add index as a second parameter to callback 11 May 2020, 06:23:19 UTC
bc7dcb9 test(eachAsync): repro: #8972 11 May 2020, 06:04:15 UTC
b29e6e2 refactor(eachAsync): step-down `iterate` and handleNextResult` 11 May 2020, 04:38:16 UTC
d7b8ff2 test(model): fix flaky text for model.populate 11 May 2020, 04:20:20 UTC
5d0cec1 Merge pull request #8956 from AbdelrahmanHafez/gh-8947 update Document#save docs 11 May 2020, 01:42:10 UTC
3b1bee6 refactor: sort schema reserved keys 10 May 2020, 06:56:01 UTC
f6ac2ab fix(query): cast filter according to discriminator schema if discriminator key in filter Fix #8881 09 May 2020, 16:27:34 UTC
1345781 test(query): repro #8881 09 May 2020, 16:27:21 UTC
5383398 style: fix lint 09 May 2020, 16:03:39 UTC
1fcab18 fix(update): use child schema strict on single nested updates if useNestedStrict not set Fix #8922 For backwards compat because 5.9.8 ended up breaking this behavior 09 May 2020, 16:02:36 UTC
78c7705 test(update): repro #8922 09 May 2020, 16:02:26 UTC
0bc6d32 Merge branch 'master' into gh-8947 08 May 2020, 21:41:15 UTC
fd1a651 docs(document): copy Model#save to Document#save 08 May 2020, 21:31:53 UTC
back to top