Full-featured Node.js framework, with no complexity. 🚀 Simple and easy to use, TypeScript-based and well-documented.
#1250
@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
cacheControl
option to static middleware (issue: #1221) (PR: #1241 )@foal/cli
@foal/swagger
@paoloevan
#1223
npx foal 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.MongoDBStore
, there is no need anymore to maintain two versions of mongodb
. You can use version 5 of mongodb
dependency.@foal/socket.io
with redis, install socket.io-adapter
.better-sqlite
driver has been dropped. Use the sqlite3
driver instead. In DB configuration, use type: 'sqlite'
instead of type: 'better-sqlite3'
.@types/node
to v18.11.9.import { ObjectID } from 'typeorm';
to import { ObjectId } from 'typeorm';
@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)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.
@foal/cli
@foal/core
@foal/graphql
@foal/jwt
@foal/social
@foal/password
(issue: #1195) (PR: 1196)ctx.controllerName
and ctx.controllerMethodeName
(issue: #1183) (PR: #1199)@lcnvdl
max-age
attribute of the Strict-Transport-Security
header to "industry standard" (issue: #1146) (PR: #1155)@typescript-eslint/no-non-null-assertion
in generated projects (PR: #1178).env
files (issue: #1182) (PR: #1185)foal upgrade
command (issue: #1158) (PR: #1186, #1193)https://github.com/FoalTS/foal/pull/1162
@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
createapp
install v3 of @foal/cli
(PR: #1172)graphql
, etc). Specify which minimum version of TypeORM is required. Upgrade the peer dependencies.
escape
and escapeProp
. Modern frontend frameworks (React, Angular, Vue, etc) take care of this.
Context
class to mainly improve type safety.
undefined
values in configuration (issue: #1071)
foal generate rest-api
command.~
@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]