Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

Releases: szokodiakos/typegoose

Release 5.9.0

29 Jul 09:43
c538ed4
Compare
Choose a tag to compare

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

16 Jul 20:51
Compare
Choose a tag to compare
v5.8.1

Release 5.8.1

Release 5.8.0

16 Jul 20:52
Compare
Choose a tag to compare
v5.8.0

Release 5.8.0

Release 5.7.2

13 Jun 18:06
4fc64e5
Compare
Choose a tag to compare
  • Add type property to array schema to fix array defaults
  • Remove mongoose promise override

Release 5.7.0

06 Jun 21:44
Compare
Choose a tag to compare
  • Add virtual populate options - thanks to @hasezoey

Release 5.6.0

02 Mar 13:29
Compare
Choose a tag to compare
  • Removed lodash dependency (thanks to @Luxcium )
  • Add string validation options (thanks to @neckaros )

Release 5.5.1

25 Feb 09:54
Compare
Choose a tag to compare
 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

04 Feb 14:56
Compare
Choose a tag to compare

This release brings support for instance methods on subschemas - thanks @cjanietz

Release 5.4.0

08 Sep 19:52
Compare
Choose a tag to compare

Features

Fixes and Changes

  • Add missing spaces to error message (reflect-metadata)
  • Reduce NPM package size

Release 5.3.0

20 Aug 08:44
Compare
Choose a tag to compare

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