Aller au contenu principal

Version 3.1 release notes

· Une minute de lecture
Loïc Poullain
Creator of FoalTS. Software engineer.

Banner

Version 3.1 of Foal is out! Here are the improvements that it brings:

New foal upgrade command

This command allows you to upgrade all @foal/* dependencies and dev dependencies to a given version.

Examples

foal upgrade # upgrade to the latest version
foal upgrade 3.0.0
foal upgrade "~3.0.0"

Social authentication supports subdomains

If you're using multiple subdomains domains to handle social authentication, you can now do so by specifying a custom cookie domain in the configuration:

settings:
social:
cookie:
domain: foalts.org

Regression on OpenAPI keyword "example" has been fixed

In version 3.0, using the keyword example in an validation object was raising an error. This has been fixed.

.env files support whitespaces

Whitespaces around the equal symbol are now allowed:

FOO_BAR_WITH_WHITESPACES_AROUND_THE_NAME = hello you

Value of the Strict-Transport-Security header has been increased

It has been increased from 15,552,000 to 31,536,000.