Releases: FoalTS/foal
Releases Β· FoalTS/foal
v3.0.2
v3.0.1
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]
v2.11.0
v2.10.2
Content
- [Internal] Add
getCsrfTokenFromRequest
util (PR: #1138) - [Internal] Split directories
jwt
andsessions
intojwt|sessions/core
andjwt|sessions/http
(PR: #1137) - [Internal] Add
getCsrfTokenFromCookie
andshouldVerifyCsrfToken
utils (PR: #1140) - [Internal] Reorganize utils in
jwt/
andsessions/
(PR: #1141)
v2.10.1
v2.10.0
Features
-
@foal/cli
included as dev dependency in new projects generated bycreateapp
(issue: #1097) (PR: #1109) - [CLI] Do not use
http
module in new projects (PR: #1118) - [CLI] Fix
concurrently
issue on some OS (issues: #1115, #1022) (PR: #1123) - [Internal] [CLI] Add
fs.getProjectDependencies
andfs.getProjectDevDependencies
(PR: #1111) - [Internal] Re-organize
common/
internal directory (PR: #1122)