-----
**Released on July 20, 2023**
- Huge improvements on type hints, via :user:`Viicos`.
- Do not mutate the header when ``jwt.encode``, via :issue:`6`.
- Register algorithms with their matched key types on key set.
- Improve error handling, raise proper errors.
**Breaking changes**:
- ``jws.JSONSignature`` is replaced by :class:`jws.GeneralJSONSignature`
and :class:`jws.FlattenedJSONSignature`.
- ``jwe.JSONEncryption`` is replaced by :class:`jwe.GeneralJSONEncryption`
and :class:`jwe.FlattenedJSONEncryption`.