routing-controllers
Advanced tools
Changelog
0.7.3
Changelog
0.7.2
@Authorization
decorator with Koa caused 404 responses (ref [#240][#240])authorizationChecker
(ref [#233][#233])Changelog
0.7.0 [BREAKING CHANGES]
MiddlewareInterface
was removed and instead ExpressMiddlewareInterface
or KoaMiddlewareInterface
should be usedErrorMiddlewareInterface
was renamed to ExpressErrorMiddlewareInterface
@UseBefore
and @UseAfter
now should not be marked with @Middleware
decorator@MiddlewareGlobalBefore()
and @MiddlewareGlobalAfter()
were removed and instead new signatures should be used: @Middleware({ type: "before" })
and @Middleware({ type: "after" })
@QueryParams
, @Params
, @HeaderParams
etc.@Authorized
and @CurrentUser
decorators@Ctx
decorator to use context with koa@NullResultCode
has been renamed to @OnNull
, now supports error classes@UndefinedResultCode
has been renamed to @OnUndefined
, now supports error classes@EmptyResultCode
has been removed. Use @OnUndefined
decorator instead and return concrete types in your controllers.JsonResponse
and TextResponse
decorators