Skip to content

v10.1.0

Compare
Choose a tag to compare
@actgardner actgardner released this 15 Oct 19:37
· 11 commits to master since this release

v10.1.0 fixes the schema evolution behaviour for enumerations to follow the Avro spec:

  • If the indices of symbols are re-ordered in the reader and writer schemas, we will now decode the value to the correct symbol from the reader schema. Previously the index in the reader schema didn't match the index in the writer schema, the symbol in the reader schema would be parsed incorrectly. This issue only affected binary-encoded data, and not JSON-encoded data.
  • If a symbol in the writer schema does not exist in the reader schema, the reader enum definition's "default" value will be used. Previously this would result in an error. If no default is specified this still produces an error in deserialization, per the spec. This change also affects deserializing JSON-encoded data.