protox v0.23.0 Release Notes
Release Date: 2020-06-15 // almost 4 years ago-
- [Breaking change]
encode/1
returns a tuple, useencode!/1
to get the old behaviour ofencode/1
- Raise
RequiredFieldsError
when encoding or decoding a Protobuf 2 message with unset required fields (that is, that have the valuenil
) - Raise
IllegalTagError
when decoding a message with a tag set to0
- ~+40% speedup & ~-30% memory consumption when decoding thanks to macro
- 🛠 Fix missing encoding of unknown fields when a message hadn't any field
- [Breaking change]