Skip to content

Releases: ezypeeze/nuxt-neo

v5.0.1

25 Jul 14:45
c8b40be
Compare
Choose a tag to compare

5.0.1 (2024-07-25)

Bug Fixes

v5.0.0

14 Mar 10:25
33742b8
Compare
Choose a tag to compare

5.0.0 (2022-03-12)

⚠ BREAKING CHANGES

  • Parsing of params in route paths now uses the path-to-regexp library which is what express.js uses also. Before this change there was no validation of passed path params while now the API call will fail if the params don't match what the route path expects.

Bug Fixes

  • ensure bundled version of path-to-regexp is used (#74) (2ee628b)
  • make params matching use express logic (#70) (6f520cd)

v4.3.1

07 Feb 10:07
60af7ea
Compare
Choose a tag to compare

4.3.1 (2022-02-07)

Bug Fixes

  • remove ctx from error after running error handler (#58) (102b730)

v4.3.0

07 Feb 09:58
Compare
Choose a tag to compare

Features

  • types: add types for the module configuration and api (#37) (6105698)

Bug Fixes

  • allow using ES imports syntax in the controllers (#15) (3af9aad), closes #12
  • support passing options through nuxtNeo property (#33) (77700dc)

v4.2.1

07 Feb 09:58
Compare
Choose a tag to compare

Bug Fixes

  • remove unused "config" dependency (#13) (7f7431a)

v4.2.0

07 Feb 09:58
Compare
Choose a tag to compare

Features

  • extendRouter: add config to allow to extend router, since middleware doesn't has access to res/next object (e2e6cba)

v4.1.0

07 Feb 09:57
Compare
Choose a tag to compare

Bug Fixes

  • issue #10: Promise.catch() in plugins.api.template.js (2b7f053), closes #10
  • fix middleware handler not being sequencially ran

Refactor

  • add action middleware into Controller.ROUTES[middleware].middleware (deprecated from old way Controller.MIDDLEWARE) - controller middleware remains the same

Other

  • upgrade dependencies for latest and stable available

v4.0.0 - Major Release

30 Jun 16:22
Compare
Choose a tag to compare

Features

  • error handler: pass entire context nuxt object instead of only the error nuxt handler (ce0f598)

BREAKING CHANGES

  • error handler: errorHandler will only have one parameter (of type Error) with the err.ctx object monkey-patched

v3.0.0 - Major Release

28 Mar 18:56
Compare
Choose a tag to compare

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

v2.0.1

19 Jul 14:58
Compare
Choose a tag to compare

Bug Fixes

  • directory: resolve nuxt alias key directory for api (ca9a8d4)