Skip to content

Releases: FoalTS/foal

v0.4.0-alpha.0

24 Dec 14:13
Compare
Choose a tag to compare
v0.4.0-alpha.0 Pre-release
Pre-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).

v0.3.0

01 Nov 16:27
Compare
Choose a tag to compare
  • Remove express and contextual decorators
  • Add pre-hooks
  • Remove express from @foal/core and add the new package @foal/express