You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New config option defaultIdType is now available for setting the default returned id type globally. This option can be overwritten by the options of each function.
Small security updates.
Documentation updates.
We will switch to new documentation system soon, to add more context, details and examples to documentation.
Better type support added for many functions with optional type parameters. Now optionally you can use TS generics to generate dynamically generated types for many functions but not for all.
Now all _id fields are automatically converted into ObjectId type including sub documents, arrays etc. Any _id field with valid ObjectId string will be converted into ObjectId type when passing to MongoDB driver.
Planning of better TS type support and schema validation feature started. We will add schema validation feature with the future updates.
Some BUG Fixes
This update may include breaking changes as well as some minor BUGs.