Releases: ahamez/protox
Releases · ahamez/protox
1.0.0
0.25.0
0.24.0
0.23.1
0.23.0
- [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
0.22.0
0.21.0
0.20.0
- Pass all tests of protobuf 3.12 conformance suite tests
- (proto2) Always serialize required fields
- Add defs_by_name/0 in generated modules for messages
- Add syntax/0 in generated modules for messages
- Add Protox.Message.merge/2 to merge two messages of the same type
- [Breaking change] (proto2) use nil for unset fields
- [Breaking change] rename generated get_required_fields/0 into required_fields/0
- [Breaking change] rename generated get_unknown_fields/0 into unknown_fields/0
- [Breaking change] rename generated get_unknown_fields_name/0 into unknown_fields_name/0
0.19.1
- Fix warning about duplicate keys (thanks to https://github.com/ananthakumaran)
0.19.0
- CamelCase for all generated modules (fixes https://github.com/EasyMile/protox/issues/3)