Releases: lyaguxafrog/jam
Releases · lyaguxafrog/jam
v3.2.0.post0
Full Changelog: v3.2.0...v3.2.0.post0
v3.2.0
Added
- Complete JOSE module (
jam.jose):JWS- JSON Web Signature (RFC 7515)JWE- JSON Web Encryption (RFC 7516)JWK/JWKSet- JSON Web Key (RFC 7517)JWT- JSON Web Token (RFC 7519)
- JWT token lists (black/white) with pluggable backends: Redis, JSON, in-memory
- Factory functions:
create_jwt_instance,create_jws_instance,
create_jwe_instance JamJWTNotYetValidexception for nbf claim validationcheck_nbfparameter inJam.jwt_decode()andJam.aio.jwt_decode()include_headersparameter inJam.jwt_decode()andJam.aio.jwt_decode()jtiparameter inJam.jwt_encode()andJam.aio.jwt_encode()- Pre-built JWS/JWE instances support in JWT constructor
- Critical header (
crit) validation per RFC 7515 - HKDF key derivation for symmetric sign-then-encrypt
Changed
- JWT sign-then-encrypt now follows RFC 7519 nested JWT specification
- JWE key management algorithm auto-detected based on key type:
RSA →RSA-OAEP, EC →ECDH-ES, symmetric →A256KW/A128KW expandnbfclaims validation moved from JOSE module toJaminstancesJWT.decode()consistently returns{"header": dict, "payload": dict}- Updated TestClients
Deprecated
jam.Jam.jwt_make_payload: Use JWS for signingjam.Jam.jwt_create: Usejam.Jam.jwt_encodejam.jwt.JWT: Usejam.jose.JWT
Removed
JsonEncoderandBaseEncoderfrom__all__exports
Fixed
- Typo in CLI documentation (
bahs→bash)
Security
- Algorithm
noneexplicitly disabled
v3.2.0rc2
Added
- New JOSE module:
- JWT
- JWE
- JWK(s)
- JWS
JamJWTNotYetValidexception for nbf claim validationcheck_nbfparameter inJam.jwt_decode()andJam.aio.jwt_decode()include_headersparameter inJam.jwt_decode()andJam.aio.jwt_decode()jtiparameter inJam.jwt_encode()andJam.aio.jwt_encode()- Support for pre-built JWS/JWE instances in JWT constructor
JWT.decode()always returns{"header": dict, "payload": dict}
Changed
- JWT sign-then-encrypt now follows RFC 7519 specification
- Auto-detection of JWE key management algorithm based on key type (RSA→RSA-OAEP, EC→ECDH-ES, symmetric→A*-KW)
expandnbfclaims validation moved from JOSE module toJaminstancesinclude_headersparameter added to both sync and asyncjwt_decode()
Deprecated
jam.Jam.jwt_make_payload: The JWT specification has been introduced, so signing is now done via JWSjam.Jam.jwt_create: Usejam.Jam.jwt_encodejam.jwt.JWT: Usejam.jose.JWT
Removed
- Remove
JsonEncoderandBaseEncoderfrom__all__imports.
Fixed
- Fixed typo in CLI documentation (
bahs→bash)
Security
v3.2.0rc0
Added
- New JOSE module:
- JWT
- JWE
- JWK(s)
- JWS
JamJWTNotYetValidexception for nbf claim validationcheck_nbfparameter inJam.jwt_decode()andJam.aio.jwt_decode()include_headersparameter inJam.jwt_decode()andJam.aio.jwt_decode()jtiparameter inJam.jwt_encode()andJam.aio.jwt_encode()- Support for pre-built JWS/JWE instances in JWT constructor
JWT.decode()always returns{"header": dict, "payload": dict}
Changed
- JWT sign-then-encrypt now follows RFC 7519 specification
- Auto-detection of JWE key management algorithm based on key type (RSA→RSA-OAEP, EC→ECDH-ES, symmetric→A*-KW)
expandnbfclaims validation moved from JOSE module toJaminstancesinclude_headersparameter added to both sync and asyncjwt_decode()
Deprecated
jam.Jam.jwt_make_payload: The JWT specification has been introduced, so signing is now done via JWSjam.Jam.jwt_create: Usejam.Jam.jwt_encodejam.jwt.JWT: Usejam.jose.JWT
Removed
- Remove
JsonEncoderandBaseEncoderfrom__all__imports.
Fixed
- Fixed typo in CLI documentation (
bahs→bash)
Security
v3.1.2
Security
- Update cryptography to 48.0.0
v3.1.1
Added
- Experemental plugin system.
- AGENTS.md file.
Changed
- Remove
unstablebranch.
Fixed
- Fix typo in main instance.
v3.1.0
Added
- Add CLI tool for generate keys.
v3.0.0
Added
- New changelog format.
- JSON configuration.
- New JWT module.
- Environment variable support in config.
- PASETO v1–v4 modules.
- New utilities:
- Utility for generating symmetric keys
- Utility for generating ED key pairs
Changed
- License changed to Apache-2.0.
- Renamed all
__abc_*_module__to__base__. - Exception format updated.
- Refactored Litestar plugins.
- Refactored Flask extensions.
- Refactored Starlette integrations.
- Renamed
default_ttltottlin Redis sessions.
Removed
- Removed obsolete dependencies.
- Removed module
jam.modules. - Removed all deprecated modules.
Fixed
- YAML config builder.
- Fixed JWT lists in Starlette/FastAPI extensions.
- Fixed all typo errors.
Security
- Updated all dependencies.
v3.0.0.rc3
3.0.0 [Unreleased]
Added
- New changelog format.
- Json configuration.
- New JWT Module.
- Environment variables support in config.
- PASETO v1-v4 modules.
- New utils:
- Util for generate symmetric keys
- Util for generate ED key pairs
Changed
- Change license to Apache-2.0.
- Rename all
__abc_*_module__to__base__. - Exception format.
- Refactoring litestar plugins.
- Refactoring flask extensions.
- Refactoring starlette integrations.
- Rename
default_ttltottlin redis sessions.
Removed
- Deleted old useless dependencies.
- Delete module
jam.modules. - Remove all deprecated modules.
Fixed
- YAML Config builder.
- Fixed JWT lists in starlette/fastapi ext.
- Fixed ALL TYPO errors.
Security
- Update all dependencies.
[unreleased] v2.5.6...unstable
v3.0.0.rc2
3.0.0 [Unreleased]
Added
- New changelog format.
- Json configuration.
- New JWT Module.
- Environment variables support in config.
- PASETO v1-v4 modules.
- New utils:
- Util for generate symmetric keys
- Util for generate ED key pairs
Changed
- Change license to Apache-2.0.
- Rename all
__abc_*_module__to__base__. - Exception format.
- Refactoring litestar plugins.
- Refactoring flask extensions.
- Refactoring starlette integrations.
- Rename
default_ttltottlin redis sessions.
Removed
- Deleted old useless dependencies.
- Delete module
jam.modules. - Remove all deprecated modules.
Fixed
- YAML Config builder.
- Fixed JWT lists in starlette/fastapi ext.
- Fixed ALL TYPO errors.
[unreleased] v2.5.6...unstable