Skip to content

1.0.0

Compare
Choose a tag to compare
@Odrin Odrin released this 19 Oct 12:40
· 6 commits to master since this release

1.0.0 (2016-10-19)

Code Refactoring

  • ApplicationInstance.errorHandlers replaced by single global onError() handler
  • ApplicationInstance.requestHandlers replaced by single global onRequest() handler
  • NodeJS 6.X & TypeScript 2.X
  • es6-shim typings removed

Features

  • controller initialization via glob, no more need to list all controllers in ApplicationInstance constructor
  • added http exceptions support - see HttpError
  • ControllerExceptionFilter and ActionExceptionFilter to handle exceptions
  • added model validation functionality - see ModelValidator, @required(), @stringlength(), @range(), @regularexpression()