v1.9.0
Features
- Make JWTRequired and TokenRequired work with TypeORM and MongoDB (fetchMongoDBUser) (issue: #548) (PR: #701)
- Request body and path parameters are now also passed as third and second arguments to the controller methods (issue: #507) (PR: #705)
- Add
HttpResponseTooManyRequests
(issue: #664) (PR: #709) - Support custom type for
ctx.state
(issue: #711) (PR: #717) - [Bug] Make
forceDownload
option work on all browsers (PR: #722)
CLI
This version also takes care of closing a lot of pending issues.
- [CLI] [Internal] Refactor the CLI to add new features in the future (issue: #577) (PR: #712)
- [CLI] [Bug] Fix error displayed when running
foal g vscode-config
(issue: #694) (PR: #714). - [CLI] Support subdirectories in
g service|controller
(ex:foal g controller api/products --register
) (issue: #368) (PR: #714) - [CLI] [Bug fix] Frontend projects attached to Foal with
foal connect
on Windows now can build on unix systems (issue: #562) (PR: #703) - [CLI] [Bug fix] Fix yarn installation failure on Node 8 (issue: #706) (PR: #705)
- [CLI] [Bug fix] Scripts generated in a Mongoose project uses Mongoose (issue: #362) (PR: #715)
- [CLI] Support
--auth
flag infoal g rest-api
(issue: #366) (PR: #716)