Releases: typegoose/typegoose
Releases · typegoose/typegoose
Release 6.0.1
- Add TSDoc for
refType
on PropOptions refPath
now uses the right type (new usesrefType
instead ofitemsType
)- Fix decorator options (rawOptions) mutating thanks to #60
- Pre hook's function's
next
is now not marked as "optional" anymore, which causednext()
to beEmptyVoidFn | undefined
Release 6.0.0
For the changelog please look at https://typegoose.github.io/typegoose/changelog#600
Release 5.9.2
-
Change README examples & badges to the new repo
-
use new travis.yml (from version 6.0.0)
-
use new style of package.json (from version 6.0.0)
-
Tags got deleted and added, please remove all local tags and re-download them
This Release did not change anything in the code, it is just there to update the NPM front
Release 5.9.1
- fix accidentally added typeguards
- add a note that typegoose uses mongoose's strict by default
- add note that typegoose dosnt work with classes with the same name (at least in 5.x, working on it in 6.x)
- implemented a hack for ObjectId / ObjectID (mongoose some version fixed this)
Release 5.9.0
- This should not be a breaking release
- Hooks now support Regular Expression for names, like mongoose
- Tests are splitted into their own files
- Fixing
itemsRefPath
& adding tests itemsRef
now supports to be used with a string as model@prop({ alias })
is now supported- Index weights are now supported
isDocument
&isDocumentArray
typeguards are now implemented- Updated Dependencies
Note worthy are:- mongoose 5.6 is now required instead of 5.5
- this project should be used with typescript 3.5+
@mapProp()
is now implemented- Fix for
@prop({ select })
- A public version of
buildSchema
is now available - Added more Documentation to README
- Added TSDOC to many functions and properties
- build target is now ES6 instead of ES5