Releases: FoalTS/foal
Releases Β· FoalTS/foal
v3.3.0
Features
The jsonwebtoken
dependency has been upgraded to v9 to address security issues.
Note that RSA key size now must be 2048 bits or greater. Make sure to check the size of your RSA key before upgrading to this version.
Dependencies
@foal/cli
@foal/core
@foal/graphql
@foal/jwt
@foal/social
Dev dependencies
- mocha
- rimraf
- typescript
- supertest
- concurrently
- ESLint dependencies
- nyc
v3.2.0
v3.1.0
Features
- Update the
max-age
attribute of theStrict-Transport-Security
header to "industry standard" (issue: #1146) (PR: #1155) - [CLI] Disable ESLint rule
@typescript-eslint/no-non-null-assertion
in generated projects (PR: #1178) - [Bug] Support whitespaces around variable names in
.env
files (issue: #1182) (PR: #1185) - Support custom cookie domain in social auth (issue: #1099) (PR: #1187)
- [CLI] Add
foal upgrade
command (issue: #1158) (PR: #1186, #1193) - Fix: support custom OpenAPI "example" keyword in AJV validation (issue: #1192) (PR: #1194)
Dependencies
Dependencies
@foal/aws-s3
@aws-sdk/[email protected]
@aws-sdk/[email protected]
@foal/cli
@foal/core
@foal/jwks-rsa
@foal/mongodb
@foal/socket.io
@foal/swagger
Contributors
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)