Releases: FoalTS/foal
Releases Β· FoalTS/foal
v0.4.0-alpha.3
- Add handle-errors in
@foal/express
(#53). - Add
escape
andescapeHTML
utils (#60). - Add
@foal/ajv
for schema validation (#59). - Add
details
toHttpError
and use them inhandleErrors
(#59). - Allow
null
value forRoute.serviceMethodName
in controller factories (#61). - Add more unit tests (#64, #62)
- In
rest
PATCH, DELETE, PUT / and POST /:id throw now anMethodNotAllowedError
(#62) -
@foal/sequelize
is now supported by MySQL (#65).
Small breaking changes
v0.4.0-alpha.2
v0.4.0-alpha.0
Note: v0.3.0 was a POC and was not ready for prod. That's why breaking changes are permitted here.
- Add useful access control hooks in a new package:
@foal/common
(#22). - Add authentication and authorization example in
@foal/examples
(#22) - Add
post-hooks
(#30) - Introduce
view
controller binder withViewService
(#34) - Add
@foal/ejs
to render ejs templates (#34) - Having a PR in https://github.com/FoalTS/generator-foal to support v4 (FoalTS/generator-foal#17)
- Remove the
in progress
and replace them withalpha version
Breaking changes
- Convert
SequelizeService
to a generic class (#15). - Redefine contexts (#19, #22).
- Rename
Injector
toServiceManager
with some of its attributes (#27). - Rename
module.preHooks
tomodule.hooks
(#30). - FoalTS requires node version >= 8 (#35)
- Rename
update
andpatch
toreplace
andmodify
(#37). - Controllers are not any more a sub-category of services(#37).
- The
controller binders
become thecontrollers
(#37). -
RestController
is replaced byPartialCRUDService
,CRUDService
,CreateService
,ReadService
,UpdateService
,DeleteService
(#37). -
module.controllerBindings|imports
becomemodule.controllers|modules
(#37). - Split
@foal/core
into@foal/core
and@foal/common
(#37).
v0.3.0
- Remove express and contextual decorators
- Add pre-hooks
- Remove
express
from@foal/core
and add the new package@foal/express