eigr / massa

A Stateful Serverless framework on the BEAM VM
https://eigr.io
Apache License 2.0
54 stars 5 forks source link

Bump protobuf from 0.9.0 to 0.11.0 #155

Open dependabot[bot] opened 2 years ago

dependabot[bot] commented 2 years ago

Bumps protobuf from 0.9.0 to 0.11.0.

Changelog

Sourced from protobuf's changelog.

v0.11.0

Enhancements

  • Improve formatting in generated code.
  • Fix JSON encoding of field masks.
  • Fix return value of Protobuf.JSON.RFC3339.encode/2.
  • Improve error message when encoding oneoff.
  • Add support for proto3 optional field.

Bug fixes

  • Fix encoding root structs with transform module.
  • Fix a bug with negative durations in JSON.
  • Fix enum default value for structs where module is not available.
  • Support transform module in JSON encoder.

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

... (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)