2

Version 2.5 release notes

 3 years ago
source link: https://foalts.org/blog/2021/06/11/version-2.5-release-notes/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Version 2.5 release notes

June 11, 2021 · 1 min read

Loïc Poullain

Fullstack developper and creator of FoalTS

Banner

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

npm run develop watches config files#

In previous versions of Foal, the develop command did not restart the server when a configuration file was changed. This was annoying and is the reason why, starting with v2.5, new projects generated by the CLI will watch configuration files.

createOpenApiDocument accepts an optional serviceManager#

If you use createOpenApiDocument, in a shell script for example, the function accepts an optional serviceManager parameter from this version.

This can be useful if your OpenAPI decorators access controller properties whose values are manually injected.

Share this article on
Stay up to date with the newsletter.
Tags:release

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK