Published by LoicPoullain about 6 years ago
parsePassword
now expects a string instead of an object (https://github.com/FoalTS/foal/pull/145).src/app/sub-modules
and sub-modules/
paths to foal g module
(https://github.com/FoalTS/foal/pull/147).process.env.NODE_ENV
(https://github.com/FoalTS/foal/pull/149).npm run migration:generate
and npm run migration:run
(https://github.com/FoalTS/foal/pull/152).Published by LoicPoullain about 6 years ago
Remove route
controller factory.
Remove methodNotAllowed
pre-hook.
Remove onSuccessKeepFields
(https://github.com/FoalTS/foal/pull/134).
Add the csrf token in a meta tag in index.html
(https://github.com/FoalTS/foal/pull/135).
Remove yeoman generators and move all the generations into the cli package (https://github.com/FoalTS/foal/pull/135).
Rename restrictAccessToAuthenticated
to LoginRequired
(https://github.com/FoalTS/foal/pull/139).
Support graphql loading.
Remove Abstract prefix from EmailAuthenticator.
Move validate to @foal/core and remove @foal/ajv package.
Remove combinePostHooks
and combinePreHooks
(https://github.com/FoalTS/foal/pull/140).
Remove handlers and convert controllers to classes (with http method decorators and DI) (https://github.com/FoalTS/foal/pull/140).
Convert pre and post hooks in Hook decorators (https://github.com/FoalTS/foal/pull/140).
Make standard start by a capital letter (https://github.com/FoalTS/foal/pull/140).
Convert modules to classes implementing IModule
(https://github.com/FoalTS/foal/pull/140).
Reorganize @foal/core
code structure (internal) (https://github.com/FoalTS/foal/pull/140).
Split test command into several commands (internal) (https://github.com/FoalTS/foal/pull/140).
Simplify ctx
by using the express request
object (https://github.com/FoalTS/foal/pull/140).
Remove PostContext
(https://github.com/FoalTS/foal/pull/140).
Remove body-parser dep (https://github.com/FoalTS/foal/pull/140).
Support that hook functions may return other values that HttpResponse
(https://github.com/FoalTS/foal/pull/140).
Remove afterThatLog
post-hook (https://github.com/FoalTS/foal/pull/140).
Rename models to entities (consistency with typeorm) (https://github.com/FoalTS/foal/pull/140).
Rename IModelService
and ModelService
to ISerializer
and EntitySerializer
(https://github.com/FoalTS/foal/pull/140).
Add Permission
and Group
entities (https://github.com/FoalTS/foal/pull/140).
Add getPath
, getHookFunction
and getHttpMethod
utils (https://github.com/FoalTS/foal/pull/140).
Allow to inject the ServiceManager inside a service or controller.
Simplify authentication (controller mostly) (https://github.com/FoalTS/foal/pull/140).
Add PermissionRequired
and remove restrictAccessToAdmin
(https://github.com/FoalTS/foal/pull/140).
Add "remove additionalProperties" feature (https://github.com/FoalTS/foal/pull/140).
Move templates/
to controllers/
dir (https://github.com/FoalTS/foal/pull/140).
Remove csrfToken from state (https://github.com/FoalTS/foal/pull/140).
[@foal/cli] Do not restart the server on error (https://github.com/FoalTS/foal/pull/140).
[@foal/cli] Add smart detection folder with foal generate
(https://github.com/FoalTS/foal/pull/140).
Rename Validate to ValidateBody.
Add test coverage on @foal/core
.
Published by LoicPoullain over 6 years ago
Fix typo.
Published by LoicPoullain over 6 years ago
@foal/cli
: Prevent image loading when requiring html templates.Published by LoicPoullain over 6 years ago
Published by LoicPoullain over 6 years ago
validateEmailCredentialsFormat
to validateEmailAndPasswordCredentialsFormat
. (https://github.com/FoalTS/foal/pull/101).Published by LoicPoullain over 6 years ago
ObjectType
.UserModelService
(https://github.com/FoalTS/foal/pull/97).Published by LoicPoullain over 6 years ago
Published by LoicPoullain over 6 years ago
To fix instanceof
issues across several npm packages:
isObjectDoesNotExist
.isHttpResponse
s.Published by LoicPoullain over 6 years ago
stateDef
to getCallback
(now getMiddlewares
) (https://github.com/FoalTS/foal/issues/80)Published by LoicPoullain almost 7 years ago
@foal/express
(https://github.com/FoalTS/foal/pull/53).escape
and escapeHTML
utils (https://github.com/FoalTS/foal/pull/60).@foal/ajv
for schema validation (https://github.com/FoalTS/foal/pull/59).details
to HttpError
and use them in handleErrors
(https://github.com/FoalTS/foal/pull/59).null
value for Route.serviceMethodName
in controller factories (https://github.com/FoalTS/foal/pull/61).rest
PATCH, DELETE, PUT / and POST /:id throw now an MethodNotAllowedError
(https://github.com/FoalTS/foal/pull/62)@foal/sequelize
is now supported by MySQL (https://github.com/FoalTS/foal/pull/65).Middleware
to ReducedMiddleware
. (https://github.com/FoalTS/foal/pull/56)PreMiddleware
and PostMiddleware
to a same type Middleware
. (https://github.com/FoalTS/foal/pull/56)serviceMethodBinder
to middleware
. (https://github.com/FoalTS/foal/pull/56)LowLevelRoute
to ReducedRoute
(consistency with ReducedMiddleware
). (https://github.com/FoalTS/foal/pull/56)Published by LoicPoullain almost 7 years ago
getPreMiddleware
and getPostMiddleware
utils in @foal/core
(https://github.com/FoalTS/foal/pull/41).afterThatRemoveField(name: string)
(https://github.com/FoalTS/foal/pull/43).createEmptyContext
util in @foal/core
(https://github.com/FoalTS/foal/pull/47).Published by LoicPoullain almost 7 years ago
Note: v0.3.0 was a POC and was not ready for prod. That's why breaking changes are permitted here.
@foal/common
(https://github.com/FoalTS/foal/pull/22).@foal/examples
(https://github.com/FoalTS/foal/pull/22)post-hooks
(https://github.com/FoalTS/foal/pull/30)view
controller binder with ViewService
(https://github.com/FoalTS/foal/pull/34)@foal/ejs
to render ejs templates (https://github.com/FoalTS/foal/pull/34)in progress
and replace them with alpha version
SequelizeService
to a generic class (https://github.com/FoalTS/foal/pull/15).Injector
to ServiceManager
with some of its attributes (https://github.com/FoalTS/foal/pull/27).module.preHooks
to module.hooks
(https://github.com/FoalTS/foal/pull/30).update
and patch
to replace
and modify
(https://github.com/FoalTS/foal/pull/37).controller binders
become the controllers
(https://github.com/FoalTS/foal/pull/37).RestController
is replaced by PartialCRUDService
, CRUDService
, CreateService
, ReadService
, UpdateService
, DeleteService
(https://github.com/FoalTS/foal/pull/37).module.controllerBindings|imports
become module.controllers|modules
(https://github.com/FoalTS/foal/pull/37).@foal/core
into @foal/core
and @foal/common
(https://github.com/FoalTS/foal/pull/37).Published by LoicPoullain almost 7 years ago
express
from @foal/core
and add the new package @foal/express