Version 2.1 has been released! Here are the improvements that it brings.
When an error is thrown or rejected in development, the server returns an error page with some debugging details. The UI of this page has been improved and it now provides more information.
When creating a new project, the generated welcome page is also different.
This small improvement is useful when we want to stop a CI pipeline when one of its commands fails.
This decorator handles all requests regardless of the HTTP verb (GET, POST, etc.).
It can be used for example to create a
not found handler.
New CSRF option in
This option allows you to override the behavior of the configuration specified globally with the key
settings.session.csrf.enabled or the key
It can be useful for example to disable the CSRF protection on a specific route.
When using Foal with SQLite, you now have the choice between two drivers:
better-sqlite3. The package
better-sqlite3 is used by default in new projects starting from this version on.
Stay up to date with the newsletter.