Foal Versions Save

Full-featured Node.js framework, with no complexity. 🚀 Simple and easy to use, TypeScript-based and well-documented.

v3.0.0

1 year ago

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.
    • #1029
    • #1070
    • #1075
  • Upgrade all 3p dependencies doing major upgrades (graphql, etc). Specify which minimum version of TypeORM is required. Upgrade the peer dependencies.
    • #1028
    • #1030
    • #1033
    • #1035
    • #1036
    • #1041
    • #1056
    • #1148
    • #1079
    • #1081
    • #1082
    • #1154
  • 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.
    • #1037
  • Remove the functions escape and escapeProp. Modern frontend frameworks (React, Angular, Vue, etc) take care of this.
    • #1034
  • Improve the interface of the Context class to mainly improve type safety.
    • #1073
  • Correct the bad design on the precedence of environment variables. (issue: #1021)
    • #1128
  • Support optional fields in @ValidateMultipartFormDataBody (issue: #1008)
    • #1048
  • Support TypeORM 0.3.0.
    • #1074
    • #1089
    • #1091
    • #1092
    • #1093
    • #1094
    • #1095
    • #1096
    • #1098
    • #1100
    • #1156
  • Ignore undefined values in configuration (issue: #1071)
    • #1113
  • Simplify generated CLI files.
    • #1077
  • ~Drop foal generate rest-api command.~
    • #1078
    • #1088
  • Make the session and JWT systems a bit simpler.
    • #1107
    • #1108
    • #1119
    • #1133
    • #1134
    • #1135
    • #1145
    • #1147
    • #1152
  • Miscellaneous

Dependencies

v2.11.0

1 year ago

Features

  • Increase password hashing iterations (PR: #1149)

v2.10.2

1 year ago

Content

  • [Internal] Add getCsrfTokenFromRequest util (PR: #1138)
  • [Internal] Split directories jwt and sessions into jwt|sessions/core and jwt|sessions/http (PR: #1137)
  • [Internal] Add getCsrfTokenFromCookie and shouldVerifyCsrfToken utils (PR: #1140)
  • [Internal] Reorganize utils in jwt/ and sessions/ (PR: #1141)

v2.10.1

1 year ago

Fixes

  • Do not throw errors on uploads with empty filenames (PR: #1129)
  • Add default Content-Type header in Disk.createHttpResponse responses (PR: #1130)

v2.10.0

1 year ago

Features

  • @foal/cli included as dev dependency in new projects generated by createapp (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 and fs.getProjectDevDependencies (PR: #1111)
  • [Internal] Re-organize common/ internal directory (PR: #1122)

Contributors

@scho-to

v2.9.0

1 year ago

Features

  • Support version 15 of graphql and recent versions of type-graphql (issue: #1066) (PR: #1068)
  • Support PKCE in OAuth2 providers (issue: #1014) (PR: #1053)
  • Add Twitter provider (issue: #1047) (PR: #1053)

Dependencies

Contributors

@LeonardoSalvucci

v2.8.2

2 years ago
  • [CLI] Fix installation with yarn on node 10 (PR: #1058)
  • Show security requirements, servers and external doc of sub-controllers in Swagger auto-generated document (issue: #1057) (PR: #1060)

v2.8.1

2 years ago

Improvements / fixes

  • [WS] Allow to emit client events without payload or callback (issue: #1043) (PR: #1044)

v2.8.0

2 years ago

Features

  • Add Websocket/Socket.io support (issue: #481) (PR: #901)
  • Allow to pass a custom redis client to the RedisStore (PR: #1032)
  • Allow to pass a custom MongoDB client to the MongDBStore (PR: #1032)
  • Allow to pass a custom TypeORM connection to the TypeORMStore (PR: #1032)
  • Support ServerSideEncryption for AWS S3 (issue: #1013) (PR: #1040)

Dependencies

v2.7.2

2 years ago

Fixes

  • Fix colors dependency version which causes bad output on Windows terminal (PR: #1023)

Contributors

@kingdun3284