Skip to content

Releases: tomas-abrahamsson/gpb

Release 4.19.2

05 Dec 14:57
Compare
Choose a tag to compare

Version 4.19.2
2021-Dec-05

  • Wrap no_underspecs in a preprocessor check. (#212)

  • Fix typos. Thanks to Ang Kian Meng Ang. (#213)

  • Fix potential dialyzer issue for type encoders when all fields
    are translated.

Release 4.19.1

28 Aug 18:21
Compare
Choose a tag to compare

Version 4.19.1
2021-Aug-28

  • Wrap errors in the data-driven encoder/decoder: On invalid input,
    catch for instance function clause errors and re-raise as
    a {gpb_error, Info} error instead. This has been the case
    for the generated encoder/decoder since 3.28.1. #211.

  • Add an option {include_mod_hrl_prepend, string()} which can
    insert a string before the mod.hrl in the generated
    -include("mod.hrl"). (related to erlang/rebar3#2610)

  • Remove the old parser. There has been no reported problems
    with the new parser for over a year.

Release 4.19.0

28 Aug 13:46
Compare
Choose a tag to compare

Version 4.19.0
2021-Aug-28

  • Wrap errors in the data-driven encoder/decoder: On invalid input,
    catch for instance function clause errors and re-raise as
    a {gpb_error, Info} error instead. This has been the case
    for the generated encoder/decoder since 3.28.1. #211.

  • Add an option {include_mod_hrl_prepend, string()} which can
    insert a string before the mod.hrl in the generated
    -include("mod.hrl"). (related to erlang/rebar3#2610)

  • Remove the old parser. There has been no reported problems
    with the new parser for over a year.

Release 4.18.0

10 Jun 16:40
Compare
Choose a tag to compare

Version 4.18.0
2021-Jun-10

  • Add a new option, verify_decode_required_present (-vdrp) for
    generating code that verifies that required fields are
    present in message binaries during decoding. (#210)

Release 4.17.7

27 May 16:22
Compare
Choose a tag to compare

Version 4.17.7
2021-May-27

  • Bugfix building on windows (#208)
  • Bugfix building with rebar3 >= 3.14.0 with _checkouts (#209)

Release 4.17.6

19 May 18:29
Compare
Choose a tag to compare

Version 4.17.6
2021-May-19

  • Fix generation of map types when targeting Erlang 17 and 18 (#196)

  • Rework building outside of a git-repo:

    • Add the possibility to manually specify version
      by adding a gpb.vsn file.
    • Add the concept of a version source: git | file
      include this info in the generated code
    • Add a --dest-dir=DIR option to the mk-versioned-archive

Release 4.17.5

19 May 17:32
Compare
Choose a tag to compare

Version 4.17.5
2021-May-19

  • Fix generation of map types when targeting Erlang 17 and 18 (#196)

  • Rework building outside of a git-repo:

    • Add the possibility to manually specify version
      by adding a gpb.vsn file.
    • Add the concept of a version source: git | file
      include this info in the generated code
    • Add a --dest-dir=DIR option to the mk-versioned-archive

Release 4.17.4

19 May 17:20
Compare
Choose a tag to compare

Version 4.17.4
2021-May-19

  • Fix generation of map types when targeting Erlang 17 and 18 (#196)

  • Rework building outside of a git-repo:

    • Add the possibility to manually specify version
      by adding a gpb.vsn file.
    • Add the concept of a version source: git | file
      include this info in the generated code
    • Add a --dest-dir=DIR option to the mk-versioned-archive

Release 4.17.3

19 Apr 19:52
Compare
Choose a tag to compare

Version 4.17.3
2021-Apr-19

  • Fix mk-versioned-archive to also substitute the
    version in the gpb.app.src file.

Release 4.17.2

19 Apr 18:23
Compare
Choose a tag to compare

Version 4.17.2
2021-Apr-19

  • Fix mk-versioned-archive to actually also work
    from a non-git directory tree.