Packages
charon
3.0.0
4.3.0
4.3.0-beta1
4.2.0
4.2.0-beta3
4.2.0-beta2
4.2.0-beta1
4.1.0
4.0.1
4.0.0
4.0.0-beta3
4.0.0-beta2
4.0.0-beta1
3.4.1
3.4.0
3.3.0
3.2.0
3.1.1
3.1.0
3.0.3
3.0.2
3.0.1
3.0.0
3.0.0-beta1
2.8.0
2.8.0-beta1
2.7.3
2.7.2
2.7.1
2.7.0
2.6.1
2.6.0
2.5.0
2.4.0
2.3.0
2.2.0
2.2.0-beta
2.1.3
2.1.2
2.1.2-beta
2.1.1
2.1.0
2.0.0
1.3.4
1.3.3
1.3.2-beta
1.3.1-beta
1.3.0-beta
1.2.0-beta
1.1.0-beta
1.0.1-beta
1.0.0-beta1
0.0.4-alpha
0.0.3-alpha
0.0.2-alpha
0.0.1-alpha
Authentication & sessions for API's.
Current section
Files
Jump to
Current section
Files
CHANGELOG.md
# Changelog
## 3.x
### Breaking
- `Charon.SessionStore.RedisStore`
- requires Redis >= 7.x.x
- uses a Redix connection pool by itself, which requires initialization under the application supervision tree
- implements optimistic locking
- uses a new storage format based on hash sets, to which sessions are migrated starting from Charon 2.8
- uses Redis functions to implement all session store operations in a single round trip to the Redis instance
- support for unsigned binaries has been dropped
- config options `:allow_unsigned?` has been removed
- `migrate_sessions/1` has been removed
- sessions that have not been migrated using `migrate_sessions/1` can no longer be used
- `Charon.SessionStore.LocalStore`
- implements optimistic locking
- 2.x marked-deprecated functions have been removed:
- `Charon.Models.Session.deserialize/2`
- `Charon.Models.Session.serialize/1`
- `Charon.SessionStore.delete/3`
- `Charon.SessionStore.get/3`
- `Charon.SessionStore.delete_all/2`
- `Charon.SessionStore.get_all/2`
- `Charon.SessionStore.RedisStore.cleanup/1`
- `Charon.TokenPlugs.verify_refresh_token_fresh/2`
- `Charon.TokenPlugs.verify_token_signature/2` no longer adds default value "full" for claim "styp".
This should not result in issues for tokens created by Charon 2.x.x deployments.
Older deployments may wish to add a plug after `Charon.TokenPlugs.verify_token_signature/2` that adds this default claim.