This repository has been archived by the owner on Jun 29, 2021. It is now read-only.
Releases: szokodiakos/typegoose
Releases · szokodiakos/typegoose
Release 5.9.0
Changelog
- 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
Big thanks to @hasezoey and all others for making this release possible
Release 5.8.1
v5.8.1 Release 5.8.1
Release 5.8.0
v5.8.0 Release 5.8.0
Release 5.7.2
- Add type property to array schema to fix array defaults
- Remove mongoose promise override
Release 5.7.0
- Add virtual populate options - thanks to @hasezoey
Release 5.6.0
Release 5.5.1
Bumped to version: 5.5.1 after updating lodash dependencie (#250) * dash": "~4.17.11" in package-lock.json * bumping patch version to 5.5.1
Support instance methods for subschemas
This release brings support for instance methods on subschemas - thanks @cjanietz
Release 5.4.0
Features
- Add @Index class decorator
Fixes and Changes
- Add missing spaces to error message (reflect-metadata)
- Reduce NPM package size
Release 5.3.0
Features
- Updated 'ref' parameter to allow population by string - thanks to @ChristianPraiss
- Support for custom validators - thanks to @vnenkpet
- Add support for updateMany hook - thanks to @tac-aymeric
Other changes
- Use Decimal128 from mongoose.Types
- Update devDependencies - thanks to @marcelh-gh