v3.0.0
Features
- Drop support for Node 10 (unmaintained), 12 (not maintained from April 2022) and 14 (not maintained in less that a year). Support versions 16 and 18.
- Upgrade all 3p dependencies doing major upgrades (
graphql
, etc). Specify which minimum version of TypeORM is required. Upgrade the peer dependencies. - Use latest version of AJV and use its TS integration (maybe related: #988). Check that the option names are still the same. Check potential conflicts with OpenAPI types.
- Remove the functions
escape
andescapeProp
. Modern frontend frameworks (React, Angular, Vue, etc) take care of this. - Improve the interface of the
Context
class to mainly improve type safety. - Correct the bad design on the precedence of environment variables. (issue: #1021)
- Support optional fields in @ValidateMultipartFormDataBody (issue: #1008)
- Support TypeORM 0.3.0.
- Ignore
undefined
values in configuration (issue: #1071) - Simplify generated CLI files.
-
Dropfoal generate rest-api
command. - Make the session and JWT systems a bit simpler.
- Miscellaneous
Dependencies
@foal/aws-s3
aws-sdk
->@aws-sdk/[email protected]
and@aws-sdk/[email protected]
@foal/cli
@foal/core
@foal/graphql
[email protected]
peerDependencies: graphql@^15.8.0
@foal/jwks-rsa
@foal/jwt
@foal/mongodb
@foal/redis
@foal/socket.io
@foal/storage
@foal/swagger
@foal/typeorm
peerDependencies: typeorm@^0.3.10
@foal/typestack
peerDependencies: [email protected]
peerDependencies: [email protected]