Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 I have created a release beep boop
15.0.0 (2023-07-29)
⚠ BREAKING CHANGES
bulkWrite
now includes alsovoid
Filter
andUpdateFilter
types are now using the strict counterpart types from mongodb v5.__v
property defined. Users who have migrated from Mongoose or are otherwise taking advantage of this property will have to manually add it to their schema definitions.oneOf
types to correctly include it in the resultingrequired
properties array.schema
and the generic arguments formodel
and various utilsmodel()
function.bulkWrite
operations types updated to handle defaults for attributes.schema()
generic types have changed.Features
decimal
type (#326) (13443bc)null
type (#337) (e78f1ca)oneOf
type (#275) (2d55250)tuple
type (#284) (0531447)unknown
type (#276) (716712a)findCursor
model method (#454) (3b65525)Model.exists(filter)
query helper (47ee728)_id
property type (#311) (056928e)bulkWrite
types for insert operations (#211) (8ae6182)constant
type (#312) (e676703)Bug Fixes
oneOf
required option (a24054f)Performance Improvements
Code Refactoring
bulkWrite
when no operations provided (#455) (d56a0f6)__v
version property (86bca4f)This PR was generated with Release Please. See documentation.