Releases: typegoose/typegoose
Releases · typegoose/typegoose
Release 6.0.4
This Release didnt change anything on the code, it was mostly tests & github-page
- Update Dependencies
- Upgrade mongoose from 5.7.1 to 5.7.4
- Added soft warning when using "ref" in an "arrayProp"
- Added soft warning when using "refPath" in an "arrayProp"
- Add missing ")" to a deprecation message
- [IC] Fixed some Test's types
- [IC] internal variable renames to better reflect what they are for
Release 6.0.3
- when using
@plugin
, options are now checked if they are an object, when not: make them an object - Added many debug logs for
_buildSchema
- Added Prop Option
autopopulate
, only has an effect ifmongoose-autopopulate
is used - Added default class
FindOrCreate
which has the types formongoose-findorcreate
Release 6.0.2
- actually allow overwriting "_id" of "Base"
- [IC] add npm version script
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