v0.4.0-alpha.0
Pre-release
Pre-release
LoicPoullain
released this
24 Dec 14:13
·
5489 commits
to master
since this release
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).