DEV Community

Cover image for FoalTS version 2.6 is here
Loïc Poullain
Loïc Poullain

Posted on

FoalTS version 2.6 is here

Version 2.6 of Foal has been released! Here are the improvements that it brings.

Support of the array value for AJV coerceTypes option

{
  "settings": {
    "ajv": {
      "coerceTypes": "array"
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Option documentation: https://ajv.js.org/coercion.html#coercion-to-and-from-array.

Swagger page supports strict CSP

Inline scripts in the Swagger page have been removed to support more strict Content Security Policy directive.

Bug fixes

The foal connect angular command now supports empty angular.json files.

Oldest comments (0)