Releases: FoalTS/foal
Releases 路 FoalTS/foal
v1.8.0
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
extendsBaseEntity
(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
v1.7.0
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
v1.6.0
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
Dependencies
v1.5.0
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 forSameSite
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
There is no version v1.4.0. Please refer to version 1.5.0
v1.3.1
v1.3.0
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 tocreateapp
(PR: #554). - [CLI] Stop
createapp my-app
if the directorymy-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
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
- Add TypeStack unserialization and validation hooks (issue: #460) (PR: #542).
- Support
AppController.init
to initialize the application (issue: #517) (PR: #544) - Support
ExpressOptions.expressInstance
increateApp
(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
- Fixes incorrect configuration for
loggerFormat: none
.