https://github.com/Automattic/mongoose

sort by:
Revision Author Date Message Commit Date
cc722a1 test: add coverage for constructor properties 09 July 2023, 14:26:33 UTC
e29578d fix: avoid prototype pollution on init 09 July 2023, 00:10:42 UTC
b336ed8 chore: release 7.3.2 06 July 2023, 18:07:51 UTC
7ad5eef Merge pull request #13579 from Automattic/vkarpov15/gh-13531 fix(model): avoid TypeError if insertMany() fails with error that does not have `writeErrors` property 06 July 2023, 16:25:03 UTC
c01cff6 Merge pull request #13581 from hasezoey/updateDev Update dev dependencies `@typescript-eslint/*` and `mkdirp` 05 July 2023, 11:27:30 UTC
7b3b027 chore(dev-deps): bump mkdirp from 2.1.3 to 3.0.1 05 July 2023, 10:56:52 UTC
db01339 chore(dev-deps): bump @typescript-eslint/* from 5.60.1 to 5.61.0 05 July 2023, 10:53:34 UTC
a5f8dd8 Merge pull request #13571 from Automattic/vkarpov15/gh-13570 fix(query): throw readable error when executing a Query instance without an associated model 04 July 2023, 23:26:56 UTC
3fbb59d fix(model): avoid TypeError if insertMany() fails with error that does not have `writeErrors` property Fix #13531 04 July 2023, 19:23:22 UTC
eeed3f5 Update test/query.test.js 04 July 2023, 18:58:17 UTC
e0ec269 Merge branch 'master' into vkarpov15/gh-13570 04 July 2023, 18:40:14 UTC
8aabe2f test: add suggested test for missing `op` 04 July 2023, 18:39:39 UTC
aa5c2c2 Merge pull request #13572 from Automattic/vkarpov15/gh-13550 fix(query): convert findOneAndUpdate to findOneAndReplace when overwrite set for backwards compat with Mongoose 6 04 July 2023, 18:31:01 UTC
664ba3f Merge pull request #13574 from orgads/merge-type Types: Reuse MergeType in DiscriminatorSchema 04 July 2023, 18:30:43 UTC
153ab07 Merge pull request #13576 from Automattic/vkarpov15/gh-13537 docs(connections): clarify that socketTimeoutMS now defaults to 0 04 July 2023, 18:25:11 UTC
5f9c783 docs(connections): clarify that socketTimeoutMS now defaults to 0 Fix #13537 04 July 2023, 15:24:59 UTC
b2897dc Types: Reuse MergeType in DiscriminatorSchema 04 July 2023, 06:41:37 UTC
0caeb6b fix(query): convert findOneAndUpdate to findOneAndReplace when overwrite set for backwards compat with Mongoose 6 Fix #13550 03 July 2023, 16:22:52 UTC
01f4d84 fix(query): throw readable error when executing a Query instance without an associated model Fix #13570 03 July 2023, 15:30:39 UTC
67b4224 Merge pull request #13568 from Automattic/vkarpov15/gh-13548 docs(migrating_to_7): add mapReduce() removal to migration guide 03 July 2023, 13:26:57 UTC
dd3955d Update docs/migrating_to_7.md Co-authored-by: Mohamed Oraby <37554568+MohOraby@users.noreply.github.com> 03 July 2023, 08:32:18 UTC
05cd285 docs(migrating_to_7): add mapReduce() removal to migration guide Fix #13548 02 July 2023, 21:54:45 UTC
d8d4845 Merge pull request #13564 from Automattic/dependabot/npm_and_yarn/master/mongodb-memory-server-8.13.0 chore(deps-dev): bump mongodb-memory-server from 8.12.2 to 8.13.0 02 July 2023, 13:03:19 UTC
101948f Merge pull request #13563 from Automattic/dependabot/npm_and_yarn/master/babel/preset-env-7.22.5 chore(deps-dev): bump @babel/preset-env from 7.22.4 to 7.22.5 02 July 2023, 13:03:02 UTC
4250c34 chore(deps-dev): bump @babel/preset-env from 7.22.4 to 7.22.5 Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.22.4 to 7.22.5. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.22.5/packages/babel-preset-env) --- updated-dependencies: - dependency-name: "@babel/preset-env" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> 02 July 2023, 13:01:29 UTC
3010818 Merge pull request #13566 from Automattic/dependabot/npm_and_yarn/master/typescript-5.1.6 chore(deps-dev): bump typescript from 5.1.3 to 5.1.6 02 July 2023, 13:00:55 UTC
4d6af1b Merge pull request #13565 from Automattic/dependabot/npm_and_yarn/master/eslint-8.44.0 chore(deps-dev): bump eslint from 8.41.0 to 8.44.0 02 July 2023, 13:00:40 UTC
ef5a62d Merge pull request #13561 from Automattic/dependabot/npm_and_yarn/master/typescript-eslint/eslint-plugin-5.60.1 chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.8 to 5.60.1 02 July 2023, 13:00:04 UTC
6820cdb Merge pull request #13562 from Automattic/dependabot/npm_and_yarn/master/dotenv-16.3.1 chore(deps-dev): bump dotenv from 16.1.3 to 16.3.1 02 July 2023, 12:59:47 UTC
ae72cc0 chore(deps-dev): bump typescript from 5.1.3 to 5.1.6 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.3 to 5.1.6. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/commits) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> 02 July 2023, 12:57:57 UTC
b65aeb7 chore(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.8 to 5.60.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.60.1/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> 02 July 2023, 12:57:48 UTC
1bd6e80 chore(deps-dev): bump eslint from 8.41.0 to 8.44.0 Bumps [eslint](https://github.com/eslint/eslint) from 8.41.0 to 8.44.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.41.0...v8.44.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> 02 July 2023, 12:57:41 UTC
06f7d18 Merge pull request #13560 from Automattic/dependabot/npm_and_yarn/master/typescript-eslint/parser-5.60.1 chore(deps-dev): bump @typescript-eslint/parser from 5.59.8 to 5.60.1 02 July 2023, 12:56:57 UTC
1e7c889 Merge pull request #13559 from Automattic/dependabot/npm_and_yarn/master/babel/core-7.22.5 chore(deps-dev): bump @babel/core from 7.22.1 to 7.22.5 02 July 2023, 12:56:47 UTC
0de5f59 Merge pull request #13557 from Automattic/dependabot/npm_and_yarn/master/sinon-15.2.0 chore(deps-dev): bump sinon from 15.1.0 to 15.2.0 02 July 2023, 12:56:34 UTC
82ef2bf Merge pull request #13556 from Automattic/dependabot/npm_and_yarn/master/webpack-5.88.1 chore(deps-dev): bump webpack from 5.85.0 to 5.88.1 02 July 2023, 12:56:23 UTC
8b673aa Merge pull request #13555 from Automattic/dependabot/github_actions/master/actions/checkout-3.5.3 chore(deps): bump actions/checkout from 3.5.2 to 3.5.3 02 July 2023, 12:56:02 UTC
ff23560 chore(deps-dev): bump mongodb-memory-server from 8.12.2 to 8.13.0 Bumps [mongodb-memory-server](https://github.com/nodkz/mongodb-memory-server/tree/HEAD/packages/mongodb-memory-server) from 8.12.2 to 8.13.0. - [Release notes](https://github.com/nodkz/mongodb-memory-server/releases) - [Changelog](https://github.com/nodkz/mongodb-memory-server/blob/master/CHANGELOG.md) - [Commits](https://github.com/nodkz/mongodb-memory-server/commits/v8.13.0/packages/mongodb-memory-server) --- updated-dependencies: - dependency-name: mongodb-memory-server dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> 01 July 2023, 23:56:39 UTC
6f3b0c6 chore(deps-dev): bump dotenv from 16.1.3 to 16.3.1 Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.1.3 to 16.3.1. - [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md) - [Commits](https://github.com/motdotla/dotenv/compare/v16.1.3...v16.3.1) --- updated-dependencies: - dependency-name: dotenv dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> 01 July 2023, 23:54:42 UTC
a90e717 chore(deps-dev): bump @typescript-eslint/parser from 5.59.8 to 5.60.1 Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.8 to 5.60.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.60.1/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> 01 July 2023, 23:52:09 UTC
57b8c2b chore(deps-dev): bump @babel/core from 7.22.1 to 7.22.5 Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.22.1 to 7.22.5. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.22.5/packages/babel-core) --- updated-dependencies: - dependency-name: "@babel/core" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> 01 July 2023, 23:51:17 UTC
947ecfb chore(deps-dev): bump sinon from 15.1.0 to 15.2.0 Bumps [sinon](https://github.com/sinonjs/sinon) from 15.1.0 to 15.2.0. - [Release notes](https://github.com/sinonjs/sinon/releases) - [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md) - [Commits](https://github.com/sinonjs/sinon/compare/v15.1.0...v15.2.0) --- updated-dependencies: - dependency-name: sinon dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> 01 July 2023, 23:49:49 UTC
8636db2 chore(deps-dev): bump webpack from 5.85.0 to 5.88.1 Bumps [webpack](https://github.com/webpack/webpack) from 5.85.0 to 5.88.1. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.85.0...v5.88.1) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> 01 July 2023, 23:49:13 UTC
94d03b7 chore(deps): bump actions/checkout from 3.5.2 to 3.5.3 Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 3.5.3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/8e5e7e5ab8b370d6c329ec480221332ada57f0ab...c85c95e3d7251135ab7dc9ce3241c5835cc595a9) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> 01 July 2023, 23:35:16 UTC
9482716 Merge pull request #13551 from hasezoey/routineMDfix docs: routine lint for markdown code run 29 June 2023, 11:09:24 UTC
c6555b8 Merge pull request #13552 from hasezoey/addMarkdownLint Add markdown lint 29 June 2023, 01:42:12 UTC
64e90df chore(workflows/documentation): lint MD files with "markdownlint-cli2" 28 June 2023, 12:02:56 UTC
bf98d5f docs(middleware): remove "new in 4.5.0" message 28 June 2023, 12:00:14 UTC
a478980 docs: fix header skipping header levels 28 June 2023, 12:00:14 UTC
c88280a docs(deprecations): change links to be valid 28 June 2023, 12:00:14 UTC
3029d95 docs: change all non-excluded files to have a h1 heading 28 June 2023, 12:00:13 UTC
075cba4 docs: add language to missing code-blocks 28 June 2023, 12:00:13 UTC
4f867e2 docs: apply automatically fixable rules 28 June 2023, 12:00:13 UTC
09223fa chore: add "markdownlint-cli2" 28 June 2023, 12:00:13 UTC
a51effe chore(eslintrc): also lint all "." files 28 June 2023, 10:59:24 UTC
44ca013 docs: routine lint for markdown code run 28 June 2023, 09:35:38 UTC
05c6b11 Merge pull request #13543 from Automattic/vkarpov15/gh-13534 types: support `mongoose.Schema.ObjectId` as alias for `mongoose.Schema.Types.ObjectId` 26 June 2023, 13:06:58 UTC
1c455e6 types: support `mongoose.Schema.ObjectId` as alias for `mongoose.Schema.Types.ObjectId` Fix #13534 25 June 2023, 19:51:06 UTC
d679d4b Merge pull request #13541 from Automattic/vkarpov15/remove-internal-callbacks refactor: avoid using callbacks for internal `deleteOne()` and `find()` calls 25 June 2023, 19:40:38 UTC
500a0c3 test: try cleaning up data to fix deno tests 25 June 2023, 19:24:17 UTC
79289e3 Merge pull request #13540 from Metehan-Altuntekin/patch-1 docs(schemas): fix typo in schemas.md 25 June 2023, 18:52:26 UTC
f50309e refactor: avoid using callbacks for internal `deleteOne()` and `find()` calls 24 June 2023, 20:56:12 UTC
8d510c5 docs(schemas): fix typo in schemas.md "descibing" -> "describing" 23 June 2023, 19:56:45 UTC
95f1ec9 chore: release 7.3.1 21 June 2023, 16:28:23 UTC
49dd7e4 Merge pull request #13532 from Automattic/vkarpov15/gh-13498 docs(middleware): explain how to access query and save() parameters in middleware 21 June 2023, 12:09:55 UTC
de6250d Merge pull request #13533 from Automattic/vkarpov15/gh-12967 docs(connections): expand docs on serverSelectionTimeoutMS 21 June 2023, 12:09:33 UTC
e6ac182 docs(connections): expand docs on serverSelectionTimeoutMS Fix #12967 20 June 2023, 19:23:34 UTC
56563ec docs(middleware): explain how to access query and save() parameters in middleware Fix #13498 20 June 2023, 18:42:21 UTC
94b78c0 Merge pull request #13524 from Automattic/vkarpov15/gh-13483 docs(connections+faq): add info on localhost vs 127.0.0.1 19 June 2023, 20:30:14 UTC
936c95d Update docs/connections.md Co-authored-by: hasezoey <hasezoey@gmail.com> 19 June 2023, 20:30:02 UTC
ad9aa0d Merge pull request #13526 from Automattic/revert-13513-vkarpov15/schema-collection-options Revert "feat(schema): add collectionOptions option to schemas" 19 June 2023, 14:03:50 UTC
96d8df1 Revert "feat(schema): add collectionOptions option to schemas" 19 June 2023, 14:03:42 UTC
643d55a Merge pull request #13513 from Automattic/vkarpov15/schema-collection-options feat(schema): add collectionOptions option to schemas 19 June 2023, 14:03:24 UTC
48e5c15 docs(connections+faq): add info on localhost vs 127.0.0.1 Fix #13483 19 June 2023, 00:11:58 UTC
faefe56 Update types/schemaoptions.d.ts Co-authored-by: hasezoey <hasezoey@gmail.com> 18 June 2023, 23:58:06 UTC
855008f Merge pull request #13516 from Automattic/vkarpov15/gh-13507 fix(query): respect query-level `strict` option on `findOneAndReplace()` 18 June 2023, 23:57:51 UTC
1890646 Merge pull request #13521 from lorand-horvath/patch-11 docs(SchemaType): validate members are validator & message (not msg) 18 June 2023, 23:30:46 UTC
b86b3ad docs(SchemaType): validate members are validator & message (not msg) 17 June 2023, 14:28:47 UTC
7f64419 refactor(query): reduce code path duplication in `_findOneAndReplace()` Re: #13507 16 June 2023, 15:53:37 UTC
b5da38d fix(query): respect query-level `strict` option on `findOneAndReplace()` Fix #13507 16 June 2023, 15:25:12 UTC
2d5473c style: fix lint 15 June 2023, 21:33:01 UTC
afe7d00 feat(schema): add collectionOptions option to schemas 15 June 2023, 21:28:34 UTC
1db7cf4 chore: release 7.3.0 14 June 2023, 18:31:26 UTC
3742d8f Merge pull request #13499 from Automattic/7.3 7.3 14 June 2023, 18:23:36 UTC
fcda25d Merge pull request #13506 from Automattic/IslandRhythms/optimistic-concurrency-array Island rhythms/optimistic concurrency array 14 June 2023, 18:14:45 UTC
b6f18fe Merge pull request #13509 from Automattic/vkarpov15/aggregate-finally feat(aggregate): add `Aggregate.prototype.finally()` to be consistent with Promise API for TypeScript 14 June 2023, 18:13:38 UTC
e1dae1a feat(aggregate): add `Aggregate.prototype.finally()` to be consistent with Promise API for TypeScript 14 June 2023, 16:47:07 UTC
9e08552 made requested fixes 14 June 2023, 15:03:41 UTC
e483c33 Merge pull request #13508 from Climax777/patch-1 Update migrating_to_7.md to include Model.countDocuments 14 June 2023, 13:08:45 UTC
4e793e8 Update migrating_to_7.md to include Model.countDocuments `Model.countDocuments` also removed the option for callbacks, but is not mentioned in the migration document 14 June 2023, 12:34:57 UTC
97dec73 don't apply optimistic concurrency if optCon array 13 June 2023, 22:01:04 UTC
40528ce set version if modified path and optCon is array 13 June 2023, 21:51:16 UTC
848f8b7 not working 13 June 2023, 20:15:54 UTC
2f88d21 Merge pull request #13504 from hasezoey/fixFurtherReadingJobs docs(further_reading): remove style for "img" 13 June 2023, 19:50:12 UTC
e8987d0 Merge pull request #13503 from Automattic/IslandRhythms/validateModifiedOnly added test case for schema option `validateModifiedOnly` 13 June 2023, 19:30:50 UTC
30e7833 types: fix some issues with `select()` generic re: #13224 13 June 2023, 19:21:22 UTC
1bfb163 Merge branch '7.3' of github.com:Automattic/mongoose into 7.3 13 June 2023, 18:38:47 UTC
a190740 Merge branch 'master' into 7.3 13 June 2023, 18:38:37 UTC
1f2a26e Update schemaoptions.d.ts 13 June 2023, 18:35:36 UTC
1a74ac2 fix: lint 13 June 2023, 16:53:25 UTC
back to top