Skip to content

Releases: BoostIO/tachijs

v0.6.0

10 Jan 00:43
549b2dc
Compare
Choose a tag to compare

Features

  • @reqBody can use validator class from the param type. @reqBody(User) user: User => @reqBody() user: User
  • Expose property types via selector of @handlerParam decorator.

v0.5.0

08 Jan 12:25
24a32f2
Compare
Choose a tag to compare

Features

  • Expose req and res via httpContext prop of BaseController

v0.4.1

08 Jan 08:24
b194a55
Compare
Choose a tag to compare

Bug fix

  • Fix missing types

v0.4.0

03 Jan 01:15
28418f9
Compare
Choose a tag to compare

Features

  • Request body validation with class-validator.
  • Rename decorators for cookies.
    • @setCookie -> @cookieSetter
    • @clearCookie -> @cookieClearer
  • @controller and @httpMethod accepts middlewares.

v0.3.0

01 Jan 14:09
95ba455
Compare
Choose a tag to compare

Features

  • Add @reqSession decorator for req.session

Bug fix

  • Move unnecessary dependencies to dev dependencies like cookie-parser

v0.2.0

01 Jan 07:41
2804aee
Compare
Choose a tag to compare

Features

  • Add type alias, ConfigSetter, for before and after option properties.
  • RedirectResult accepts status.
  • Discard @nextFn and @resRender. (They make hard to guess where sending response happening.)
  • Add @reqCookies, @setCookie, @clearCookie and reqSignedCookies.

Bug fix

  • Fix @handlerParam decorator bug. (Metadata boundary was wrong.)
  • Rename BaseController#sendStatusResult method to BaseController#sendStatus.
  • Make encoding argument of EndResult optional.

Dev

  • Implement tests(100% coverage)
  • Enable TravisCI
  • Enable CodeCov