Release v1.1.0
1.1.0 - 2025-10-13
Changes
-
Add exception hint about
strtypes whendeserializefailsThe
messageparameter of thedeserializemethod takesbytes, as it expects an Avro binary wrapped in Confluent Registry framing.Due to Python's duck typing, a
strcan be passed in without type checkers complaining, but this can lead to subtle and confusing errors if thatstris the result of an inadvertentdecode()on the Avro bytes.When this happens, a hint is now added to the raised
DeserializationErrorto help users identify this problem more easily.This does require bumping the minimum supported Python version to 3.11 (up from the previous minimum supported version 3.10), as
BaseException.add_notewas only added in Python 3.11.