Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github May 13, 2022

Bumps protobuf from 0.8.0 to 0.10.0.

Changelog

Sourced from protobuf's changelog.

v0.10.0

Enhancements

  • Add Protobuf.get_unknown_varints/1, returns fields that could not be decoded.
  • Support JSON mapping for proto2 schemas.
  • No longer warn when decoding unknown enum values.
  • Validate options in Protobuf.JSON.encode/2.
  • Raise Protobuf.DecodeError instead of CaseClauseError when trying to decode an unknown wire type.
  • Raise Protobuf.DecodeError instead of MatchError when trying to decode invalid delimeted types.
  • Include protoc-gen-elixir plugin version in generated files.

Bug fixes

  • Encode fields in the order they are defined in the schema.
  • Encode the value of oneof fields even when it's the default value.
  • Camelization fixes in generated code using the module_prefix and package_prefix options.
  • Add nil to oneof typespec union.
  • Skip calling Type.new/1 for structs with transform modules.

Deprecations

  • Warn if @type t is defined inside a module that calls use Protobuf. To fix this warning the files can be regenerated with the latest version of protobuf.

Breaking changes

  • Raise an error if only @type t or defstruct is defined inside a module that calls use Protobuf.

v0.9.0

Enhancements

Most of the enhancements in this release concern JSON support.

  • JSON support for Google types. The library now supports JSON mapping of Google.Protobuf.* types such as timestamps, durations, type wrappers, and so on. In order to use this correctly, you need to manually generate the Protobuf Elixir files from the .proto files provided by Google since they are not shipped with this library.
  • Accept integer numbers for float fields when decoding JSON.
  • Add Protobuf.encode_to_iodata/1.
  • Add the one_file_per_module CLI option when using the protoc-gen-elixir plugin.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [protobuf](https://github.com/elixir-protobuf/protobuf) from 0.8.0 to 0.10.0.
- [Release notes](https://github.com/elixir-protobuf/protobuf/releases)
- [Changelog](https://github.com/elixir-protobuf/protobuf/blob/main/CHANGELOG.md)
- [Commits](elixir-protobuf/protobuf@v0.8.0...v0.10.0)

---
updated-dependencies:
- dependency-name: protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 13, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 19, 2022

Superseded by #37.

@dependabot dependabot bot closed this Aug 19, 2022
@dependabot dependabot bot deleted the dependabot/hex/protobuf-0.10.0 branch August 19, 2022 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant