Skip to content

v0.4.0-alpha.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@LoicPoullain LoicPoullain released this 14 Jan 15:05
· 5386 commits to master since this release
  • Add handle-errors in @foal/express (#53).
  • Add escape and escapeHTML utils (#60).
  • Add @foal/ajv for schema validation (#59).
  • Add details to HttpError and use them in handleErrors (#59).
  • Allow null value for Route.serviceMethodName in controller factories (#61).
  • Add more unit tests (#64, #62)
  • In rest PATCH, DELETE, PUT / and POST /:id throw now an MethodNotAllowedError (#62)
  • @foal/sequelize is now supported by MySQL (#65).

Small breaking changes

  • Rename Middleware to ReducedMiddleware. (#56)
  • Rename PreMiddleware and PostMiddleware to a same type Middleware. (#56)
  • Rename serviceMethodBinder to middleware. (#56)
  • Rename LowLevelRoute to ReducedRoute (consistency with ReducedMiddleware). (#56)