-
-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v4.0.0 #1222
Merged
Merged
v4.0.0 #1222
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Drop Node v16 and `better-sqlite3` support and add Node v20
Upgrade db dependencies for version 4
Drop MariaDB support
Upgrade dependencies for v4
Upgrade dependencies for v4
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview and goals
#1223
Implementation
better-sqlite3
support and add Node v20 #1220better-sqlite3
library Drop Node v16 andbetter-sqlite3
support and add Node v20 #1220Migration guide
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 ofmongodb
. You can use version 5 ofmongodb
dependency.@foal/socket.io
with redis, installsocket.io-adapter
.better-sqlite
driver has been dropped. Use thesqlite3
driver instead. In DB configuration, usetype: 'sqlite'
instead oftype: 'better-sqlite3'
.@types/node
to v18.11.9.import { ObjectID } from 'typeorm';
toimport { ObjectId } from 'typeorm';
Dependencies
@foal/aws-s3
@aws-sdk/[email protected]
@aws-sdk/[email protected]
@foal/cli
[email protected]
@foal/graphiql
[email protected]
@foal/graphql
[email protected]
graphql@^16.8
(peer dependency)@foal/jwks-rsa
[email protected]
@foal/mongodb
[email protected]
@foal/redis
[email protected]
@foal/socket.io
[email protected]
@foal/swagger
[email protected]
@foal/typeorm
[email protected]
(peer dependency)[email protected]
(dev dependency / driver)[email protected]
(dev dependency / driver)@foal/typestack
[email protected]
(peer dependency)