Releases: FoalTS/foal
Releases Β· FoalTS/foal
v4.5.1
Features
Some security vulnerabilities were showing up with npm audit
. This version updates Foal's dependencies to get rid of them.
Dependencies
@foal/acceptance-tests
@foal/aws-s3
@aws-sdk/[email protected]
@aws-sdk/[email protected]
@foal/core
@foal/examples
@foal/redis
v4.5.0
Features
- [Internal] Upgrade to lerna v8 (PR: #1259)
- Deprecate use of CLI globally (PR: #1273)
- Fix
foal connect react
and support build output dir (PR: #1274) - Make logging more suitable for log monitoring softwares (PR: #1275)
- Allow to run async tasks and catch and log them appropriately on failure (PR: #1276)
- Improve
GoogleProvider
types (PR: #1277) - Improve social auth for SPA (PR: #1277)
- Remove the link to the official site from the
index.html
of new applications to avoid polluting the traffic analytics of foalts.org (PR: #1278)
Dependencies
@foal/aws-s3
@aws-sdk/[email protected]
@aws-sdk/[email protected]
@foal/cli
@foal/core
@foal/graphql
[email protected]
[email protected]
(peer dependency)
@foal/mongodb
v4.4.0
Features
This release updates Foal's sub-dependencies, including the express
library, which presents a moderate vulnerability in versions prior to 4.19.2.
Dependencies
@foal/aws-s3
@aws-sdk/[email protected]
@aws-sdk/[email protected]
@foal/core
@foal/swagger
Contributions
Thanks to Lucho for reporting this vulnerability in the first place!
v4.3.0
Features / improvements / fixes
- [Internal] Use fs native API with promises (PR: #1243)
- [Bug] Fix HTTP logger error when the client request is aborted (issue: #1247) (PRs: #1249, #1252)
- [CLI] Display all errors when the validation of script arguments fails (PR: #1251)
Dependencies
@foal/aws-s3
@aws-sdk/[email protected]
@aws-sdk/[email protected]
@foal/cli
@foal/core
@foal/jwks-rsa
@foal/social
@foal/socket.io
@foal/swagger
v4.2.0
Features
v4.1.0
v4.0.0
Overview and goals
Migration guide
- Run
npx foal upgrade
. - Version 16 of Node is not supported anymore. Upgrade to version 18 or version 20.
- Support of MariaDB has been dropped.
- If you use any of these dependencies, upgrade
typeorm
to v0.3.17,graphql
to v16,type-graphql
to v2,class-validator
to v0.14,mongodb
to v5 and@socket.io/redis-adapter
to v8. - If you use both TypeORM and
MongoDBStore
, there is no need anymore to maintain two versions ofmongodb
. You can use version 5 ofmongodb
dependency. - If you use
@foal/socket.io
with redis, installsocket.io-adapter
. - Support for
better-sqlite
driver has been dropped. Use thesqlite3
driver instead. In DB configuration, usetype: 'sqlite'
instead oftype: 'better-sqlite3'
. - In your project dependencies, upgrade
@types/node
to v18.11.9. - If you use TypeORM with MongoDB, for the entities definitions, rename
import { ObjectID } from 'typeorm';
toimport { ObjectId } from 'typeorm';
Dependencies
@foal/aws-s3
@aws-sdk/[email protected]
@aws-sdk/[email protected]
@foal/cli
@foal/graphiql
@foal/graphql
[email protected]
graphql@^16.8
(peer dependency)
@foal/jwks-rsa
@foal/mongodb
@foal/redis
@foal/socket.io
@foal/swagger
@foal/typeorm
[email protected]
(peer dependency)[email protected]
(dev dependency / driver)[email protected]
(dev dependency / driver)
@foal/typestack
[email protected]
(peer dependency)
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