Skip to content

v0.4.0-alpha.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@LoicPoullain 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 with ViewService (#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 with alpha version

Breaking changes

  • Convert SequelizeService to a generic class (#15).
  • Redefine contexts (#19, #22).
  • Rename Injector to ServiceManager with some of its attributes (#27).
  • Rename module.preHooks to module.hooks (#30).
  • FoalTS requires node version >= 8 (#35)
  • Rename update and patch to replace and modify (#37).
  • Controllers are not any more a sub-category of services(#37).
  • The controller binders become the controllers(#37).
  • RestController is replaced by PartialCRUDService, CRUDService, CreateService, ReadService, UpdateService, DeleteService(#37).
  • module.controllerBindings|imports become module.controllers|modules(#37).
  • Split @foal/core into @foal/core and @foal/common(#37).