protox

A fast, easy to use and 100% conformant Elixir library for Google Protocol Buffers (aka protobuf)

MIT License

Downloads
495K
Stars
261
Committers
15
protox - 1.2.4

Published by ahamez almost 4 years ago

  • Fix warning when compiling generated code (thanks to @xinz)
  • Format generated code
  • Fix warning about unused variable in generated code when encoding an empty protobuf message
protox - 1.2.3

Published by ahamez almost 4 years ago

  • Update documentation to better explain the package directive usage
protox - 1.2.2

Published by ahamez almost 4 years ago

  • Enable listing of task protox.generate via mix help
protox - 1.2.1

Published by ahamez almost 4 years ago

  • Add --keep-unknown-fields option to configure support of unknown fields when generating files
protox - 1.2.0

Published by ahamez almost 4 years ago

  • Add keep_unknown_fields option to configure support of unknown fields
protox - 1.1.1

Published by ahamez about 4 years ago

  • Fix documentation links
protox - 1.1.0

Published by ahamez about 4 years ago

  • Add ability to generate one file per protobuf message to speed up compilation (thanks to https://github.com/qgau)
protox - 1.0.0

Published by ahamez about 4 years ago

  • Release 1.0.0 as no new features have been added and the API has been stable for a long time
  • Use Protox exceptions as errors codes
protox - 0.25.0

Published by ahamez over 4 years ago

  • Add mix task to generate files
  • Bump to Elixir 1.7 as minimal supported version
protox - 0.24.0

Published by ahamez over 4 years ago

  • Usage of @external_resource is no longer necessary
protox - 0.23.1

Published by ahamez over 4 years ago

  • Fix parse of [packed=false] option (the serialization was still correct, but not in compliance with Protobuf conformance checker recommandations)
protox - 0.23.0

Published by ahamez over 4 years ago

  • [Breaking change] encode/1 returns a tuple, use encode!/1 to get the old behaviour of encode/1
  • Raise RequiredFieldsError when encoding or decoding a Protobuf 2 message with unset required fields (that is, that have the value nil)
  • Raise IllegalTagError when decoding a message with a tag set to 0
  • ~+40% speedup & ~-30% memory consumption when decoding thanks to macro
  • Fix missing encoding of unknown fields when a message hadn't any field
protox - 0.22.0

Published by ahamez over 4 years ago

  • O(1) encoding of oneof fields
protox -

Published by ahamez over 4 years ago

  • Move back to ahamez/protox
  • Bump to Elixir 1.6 as minimal supported version
  • Add benchmarks
  • Add conformance tests to CI
  • Add dialyzer to CI
protox -

Published by ahamez over 4 years ago

  • 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
protox - 0.19.1

Published by ahamez over 4 years ago

protox -

Published by ahamez over 5 years ago

protox -

Published by ahamez over 5 years ago

protox - 0.16.1

Published by ahamez about 7 years ago

  • Change base name for unknown fields from 'unknown_fields' to 'uf'
protox -

Published by ahamez over 7 years ago

  • Fix handling of +/-infinity an NaN when encoding/decoding floats
  • Move RandomInit to tests