diff --git a/CHANGELOG.md b/CHANGELOG.md index aa40a97..75183e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.10.2 and 0.7.11 + ++ fix incorrect types on `cb32decode()` + ## 0.10.1 and 0.7.10 + `peewee`: fix missing imports diff --git a/src/suou/__init__.py b/src/suou/__init__.py index a5a166b..fd467bc 100644 --- a/src/suou/__init__.py +++ b/src/suou/__init__.py @@ -37,7 +37,7 @@ from .redact import redact_url_password from .http import WantsContentType from .color import chalk, WebColor -__version__ = "0.10.1" +__version__ = "0.10.2" __all__ = ( 'ConfigOptions', 'ConfigParserConfigSource', 'ConfigSource', 'ConfigValue', diff --git a/src/suou/codecs.py b/src/suou/codecs.py index c617160..043af57 100644 --- a/src/suou/codecs.py +++ b/src/suou/codecs.py @@ -179,7 +179,7 @@ def cb32encode(val: bytes) -> str: ''' return want_str(base64.b32encode(val)).translate(B32_TO_CROCKFORD) -def cb32decode(val: bytes | str) -> str: +def cb32decode(val: bytes | str) -> bytes: ''' Decode bytes from Crockford Base32. '''