| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
add a .gitignore in types folder to not allow pushing simple .ts-files | 4 年前 | |
revert: restore master before middleware skip changes | 2 个月前 | |
types(objectid): fix _id getter helper on ObjectId When we removed the dependency on `bson` in https://github.com/Automattic/mongoose/pull/15576, we inadvertently broke the augmentation added in https://github.com/Automattic/mongoose/pull/13515 to capture the default option that adds a helper `_id` property on `ObjectId` values. Updating the augmentation to reference the `ObjectId` type exported from `mongodb` instead of `bson` fixes the augmentation. | 4 个月前 | |
fix CallbackError using NativeError | 4 年前 | |
types(connection+collection): make BaseCollection and BaseConnection usable as values | 1 年前 | |
chore: run "mongodb-update-links" script | 6 个月前 | |
chore: run "mongodb-update-links" script | 6 个月前 | |
types(document): respect schema toObject and toJSON options | 1 个月前 | |
fix: removed doc property from validation errors as per maintainer feedback | 9 个月前 | |
types: add $percentile to TypeScript types | 3 个月前 | |
fix(types): improve helpers typings | 4 年前 | |
types(document): respect schema toObject and toJSON options | 1 个月前 | |
types(model): add named status unions and typed status details to SearchIndexInfo | 8 天前 | |
types: handle required discriminator keys when inferring embedded discriminator enum Re: #16045 | 1 个月前 | |
types: handle required discriminator keys when inferring embedded discriminator enum Re: #16045 | 1 个月前 | |
types: handle compiling with exactOptionalPropertyTypes Fix #16273 | 3 个月前 | |
revert: restore master before middleware skip changes | 2 个月前 | |
types(model): add missing properties to listSearchIndexes() return type | 8 天前 | |
feat: support global strictRead mongoose.set() and add TS typings - Updated Schema.prototype.defaultOptions() to read baseOptions.strictRead instead of defaulting to hardcoded false. - Added strictRead to mongooseoptions.d.ts (MongooseOptions) and schemaoptions.d.ts (SchemaOptions) typings. - Added test verifying mongoose.set('strictRead', ...) is correctly inherited by newly instantiated schemas. | 2 个月前 | |
feat(aggregate): add pipelineForUnionWith() helper to allow reusing pipelines with $unionWith in TypeScript Fix #16033 | 6 个月前 | |
types(populate): add missing retainNullValues, getters, clone, skipInvalidIds to PopulateOptions | 2 个月前 | |
types(query): make QueryFilter respect string unions and enums Fix #16240 | 4 个月前 | |
types: add explicit discriminator key to embedded discriminator subtypes | 1 个月前 | |
types: import BSON from mongodb instead of bson 1556421ed removed bson as a direct dependency and switched runtime code to mongodb/lib/bson, but types/schematypes.d.ts still imports the bson package directly. Under strict node_modules layouts (pnpm), undeclared packages cannot be resolved, so consumers compiling with mongoose >= 9.9.0 fail with: types/schematypes.d.ts(1,23): error TS2307: Cannot find module 'bson' or its corresponding type declarations. Use the BSON namespace re-exported by the mongodb driver instead. | 1 个月前 | |
BREAKING CHANGE: remove callbacks from types, add notes about HydratedDocument changes | 3 年前 | |
refactor: single mongoose:query TracingChannel with unified payload Collapse 4 channels into one. All operations (find, save, aggregate, insertMany, bulkWrite) emit on mongoose:query with a common payload: operation, collection, database, serverAddress, serverPort, args. The args field carries operation-specific data (filter, pipeline, docs, ops) without imposing a typed shape — APM tools that need it can dig in. | 4 个月前 | |
fix(types): make subdocuments and array subdocuments have the same behavior for `toObject()` and `toJSON()` as documents | 6 个月前 | |
docs: add some clarification about HydratedDocumentOverrides re: code review | 2 个月前 | |
BREAKING CHANGE: change `this` to HydratedDocument for default() and required(), HydratedDocument | Query for validate() | 1 年前 | |
types: handle declaring both statics and virtuals in schema options by passing correct THydratedDocumentType to virtuals Fix #16046 | 6 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 年前 | ||
| 2 个月前 | ||
| 4 个月前 | ||
| 4 年前 | ||
| 1 年前 | ||
| 6 个月前 | ||
| 6 个月前 | ||
| 1 个月前 | ||
| 9 个月前 | ||
| 3 个月前 | ||
| 4 年前 | ||
| 1 个月前 | ||
| 8 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 3 个月前 | ||
| 2 个月前 | ||
| 8 天前 | ||
| 2 个月前 | ||
| 6 个月前 | ||
| 2 个月前 | ||
| 4 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 3 年前 | ||
| 4 个月前 | ||
| 6 个月前 | ||
| 2 个月前 | ||
| 1 年前 | ||
| 6 个月前 |