Skip to content

v3.0.0 - Major Release

Compare
Choose a tag to compare
@ezypeeze ezypeeze released this 28 Mar 18:56
· 80 commits to master since this release

Feature

  • support both client and server side success and error handlers
  • add nuxt error page function resolver as errorHandler parameter
  • add http error classes both on server and client side

Bug Fixes

  • convert camelCase controller file name to dash case (for route url's endpoint)

Other

  • upgrade devDependencies (including nuxt)

BREAKING CHANGES

  • responseMiddleware is now called successHandler (successHandler function was removed) (used both on client and server side)
  • errorHandler is now a string (file path), instead of a function (used both on client and server side)
  • successResponse was renamed to serverSuccessResponse
  • errorResponse was renamed to serverErrorResponse
  • notFoundRouteResponse was renamed to serverNotFoundRouteResponse