Saltar al contenido principal

Version 4.2 release notes

· Lectura de un minuto
Loïc Poullain
Creator of FoalTS. Software engineer.

Banner

Version 4.2 of Foal is out!

Better logging for socket.io controllers

Socket.io messages are now logged in the same way as HTTP requests.

AJV strict mode can be disabled

AJV strict mode can be disabled thanks to the new config key settings.ajv.strict:

config/default.json

{
"settings": {
"ajv": {
"strict": false
}
}
}

foal connect angular command fixed

The command that allows to set up a project with Angular and Foal has been fixed to support the latest versions of Angular.

Cache control can be disabled for static files

The cacheControl option of the express.static middleware can be passed through the configuration.

config/default.json

{
"settings": {
"staticFiles": {
"cacheControl": false
}
}
}