Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump protobuf from 0.13.0 to 0.14.0 #1364

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 20, 2025

Bumps protobuf from 0.13.0 to 0.14.0.

Changelog

Sourced from protobuf's changelog.

v0.14.0

Enhancements

  • Include Google modules in this package, removing the need for :google_protos.
  • Include comments from the Protobuf definitions in the generated module docs when generating with the include_docs=true option.
  • Add native JSON support for Elixir 1.18+.
  • Add Protobuf.JSON.encode_to_iodata/1.
  • Add the Protobuf.TransformModule.typespec/1 macro. It allows transform modules to transform typespecs for the message.
  • Add the Protobuf.unknown_fields() type.
  • Keep same alphabetical order in options for use Protobuf in generated code.

Bug fixes

  • Fix Protobuf.EncodeError exception including unrelated fields in the message.
  • Fix Protobuf.Encoder.encode_to_iodata/1 not applying transformation on outer struct before encoding it.
  • Support decoding integer as floats in JSON.
  • Support decoding scientific notation integers in JSON (conformance).
  • Accept nulls for repeated and maps in JSON (conformance).
  • Fix handling of defaults in map decoding (conformance).
  • Ensure there's a newline in the end of generated files.

Breaking changes

  • Inclusion of Google modules in this package requires the removal of the :google_protos dependency.
  • Protobuf struct modules now depend on their transform modules. This can cause circular dependencies if the transform module has a dependency in the other direction.
Commits
  • 6c53c49 Release v0.14 (#399)
  • 62dfa12 Fix encode_to_iodata/1 not matching encode/1 behaviour (#397)
  • 0e6bbc5 Add native Elixir JSON support (#394)
  • 6ed1bd0 Update protobuf to v29.3 (#395)
  • 84f00af Conformance: accept nulls for repeated and maps in JSON decoder (#393)
  • 914422d Ensure there's a newline in the end of generated files (#387)
  • 2653f60 Fix decoding of maps to match conformance tests (#391)
  • 65faf65 Fix mangled Protobuf.EncodeError (#386)
  • db54215 Accept integers in scientific notation in JSON decoder (#392)
  • 509460a Support json_name for proto2; Ensures proper field emission for JSON encoder ...
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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.13.0 to 0.14.0.
- [Changelog](https://github.com/elixir-protobuf/protobuf/blob/main/CHANGELOG.md)
- [Commits](elixir-protobuf/protobuf@v0.13.0...v0.14.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner January 20, 2025 17:26
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Jan 20, 2025
@rodrigo-o rodrigo-o merged commit ecbeba5 into main Jan 20, 2025
16 checks passed
@rodrigo-o rodrigo-o deleted the dependabot/hex/protobuf-0.14.0 branch January 20, 2025 19:00
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 elixir Pull requests that update Elixir code
Projects
Development

Successfully merging this pull request may close these issues.

1 participant