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.
Bump version to 0.5.0.
Breaking Changes Upgrade Steps
JWT Claims
Change Description
We have added the option to include custom claims when generating a new token. The function generate_token now expects an additional parameter: claims: Option.
Fix:
Add the None variable to jwt::JWT::new(secret).generate_token.
PR: #578
Redis Configuration
Change Description
We have introduced the option to use cache in the app context. To avoid confusion, the app context variable redis has been changed to queue.
Fix:
In the configuration file config/[ENVIRONMENT].yaml change redis to queue
Existing config:
Redis Configuration
redis:
uri: {{get_env(name="REDIS_URL", default="redis://127.0.0.1")}}
...
Updated Configuration:
Queue Configuration
queue:
uri: {{get_env(name="REDIS_URL", default="redis://127.0.0.1")}}
...
PR: #590
Update SeaORM version
Change Description
Upgrade SeaORM from 1.0.0-rc.3 to 1.0.0-rc.4
Fix:
in Cargo.tomland migration/Cargo.toml bump the version to 1.0.0-rc.4