Skip to content

Releases: FoalTS/foal

v1.8.0

01 May 07:39
Compare
Choose a tag to compare

Features

  • Allow to inject interfaces and generic classes (such as TypeORM entities) (issues: #598, #627) (PR: #675).
  • ServiceManager.set returns itself (PR: #675).
  • Support service initialization (boot method) (issues: #628) (PR: #678)
  • Base64-encoding option for JWT secrets (issues: #523) (PR: #677)
  • UserWithPermissions extends BaseEntity (issue: #656) (PR: #682)
  • UserWithPermissions has a static method to get all users with a given permission (issue: #637) (PR: #682)
  • Fix recurring bugs with the types of @types/express (issue: #683) (PR: #685).

Dependencies

  • @foal/jwks-rsa
    • jwks-rsa@1.8
  • @foal/redis
    • redis@3.0

v1.7.1

08 Apr 09:52
Compare
Choose a tag to compare
  • Fix multipart fields validation (#672)

v1.7.0

07 Apr 14:14
Compare
Choose a tag to compare

Features

  • [Config] Ajv: support the option allErrors (issue: #633) (PR: #642)
  • [Config] Add an option not to log errors (issue: #612) (PR: #644)
  • [Storage] Add isFileDoesNotExist function (#657).
  • Enhance Config to support type and value checking. More detailed errors (issue: #496) (PR: #641)
  • Validate multipart/formdata requests to facilitate file uploads (issue: #560) (PR: #651)

Dependencies

  • @foal/aws-s3
    • aws-sdk@2.640 (#662)
  • @foal/cli
    • ajv@6.12
    • commander@5.0 (#662)
  • @foal/core
    • ajv@6.12
    • morgan@1.10
  • @foal/graphql
    • ajv@6.12
  • @foal/jwks-rsa
    • jwks-rsa@1.7 (#662)

v1.6.0

12 Feb 09:26
Compare
Choose a tag to compare

Features

  • Support local and Cloud storage (fs and AWS S3) (issues: #604, #421) (PR: #611)
  • Allow to inject custom instances into the DI system (PR: #599)
  • Fix foal generate controller 鈥攔egister bug (issue: #606) (PR: #619)
  • [CLI] Clean the build directory before building the files (issue: #607) (PR: #621)
  • [Internal] Update GraphQL version and modify tsconfig (issue: #614) (PR: #623, #624)
  • Better stream error handling (PR: #611)

Deprecation

The function createHttpResponseFile is deprecated. Prefer to use Disk.createHttpResponse instead: https://foalts.gitbook.io/docs/topic-guides/file-system/upload-and-download-files#file-downloads

How to upgrade

npm update @foal/core # and all the other packages you use

Additionally, you can update your package.json like this.

Contributors

@jeredmasters

Dependencies

  • @foal/cli
  • @foal/core
  • @foal/graphql
  • @foal/mongodb
    • mongodb@3.5 (#613)
  • @foal/swagger
    • swagger-ui-dist@3.25 (#613)

v1.5.0

10 Jan 09:00
Compare
Choose a tag to compare

Features

  • [Social auth] Add Github and LinkedIn providers (issue: #125) (PR: #591)
  • [CLI] Set default CSRF protection for sessions in the configuration (PR: #594).
  • Support the 'none' option for SameSite cookie attribute (PR: #594).
  • Be able to customize the global exception handler (issue: #370) (PR: #595)
  • Be able to increase the request body size limit (issue: #596) (PR: #597)
  • [Internal] Compile Foal's packages with the option noImplicitAny: true (PR: #600)
  • Remove type-graphql dependency introduced by mistake in v1.3.1 (PR: #608)
  • [CLI] Remove wrong npm naming control (PR: #610)

Dependencies

  • @foal/mongodb
    • mongodb@3.4 (#609)

v1.4.0

10 Jan 08:59
Compare
Choose a tag to compare

There is no version v1.4.0. Please refer to version 1.5.0

v1.3.1

05 Dec 08:29
Compare
Choose a tag to compare
  • [Social Auth] [Bug] Improve social errors (issue: #582) (PR: #584)

v1.3.0

03 Dec 14:37
Compare
Choose a tag to compare

Features

  • Migrate to TypeScript version 3 (PR: #557) (breaking change).
  • Fix the unknown issue when building @foal/typestack (PR: #557).
  • Accept null as GraphQL query variables (PR: #553).
  • [CLI] Add --no-git and --no-install options to createapp (PR: #554).
  • [CLI] Stop createapp my-app if the directory my-app already exists (PR: #554).
  • [CLI] Fix bug: the CLI help is displayed unexpectedly (PR: #554).
  • [CLI] Generate new projects with ESLint instead of TSLint (issue: #555) (PR: #561) (big thanks to @fer22f)
  • [Social Auth] Add Facebook and Google providers (issue: #125) (PR: #563)
  • Upgrade sub-dependencies (PR: #578).

Breaking change

Due to a compatibility issue with class-transformer, Foal TS does not support TypeScript 2 anymore. Version 3.5 or higher is recommended.

Contributors

@firesharker
@fer22f

Dependencies

  • @foal/cli
    • ajv@6.10
    • colors@1.4
  • @foal/core
    • @types/express@4.17
    • ajv@6.10
    • express@4.17
  • @foal/ejs
    • ejs@2.7
  • @foal/jwks-rsa
    • jwks-rsa@1.6
  • @foal/jwt
    • jsonwebtoken@8.5
  • @foal/mongodb
    • mongodb@3.3
  • @foal/mongoose
    • @types/mongoose@5.5
  • @foal/swagger
    • swagger-ui-dist@3.24

v1.2.0

26 Sep 06:42
Compare
Choose a tag to compare
  • Add TypeStack unserialization and validation hooks (issue: #460) (PR: #542).
  • Support AppController.init to initialize the application (issue: #517) (PR: #544)
  • Support ExpressOptions.expressInstance in createApp(PR: #547)
  • Add community chat link in npm packages (PR: #541).
  • Remove Mongoose warning logs when creating a new project with foal createapp (PR: #541).

v1.1.1

11 Sep 11:33
Compare
Choose a tag to compare
  • Fixes incorrect configuration for loggerFormat: none.