massa
massa copied to clipboard
Bump protobuf from 0.9.0 to 0.11.0
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.DecodeErrorinstead ofCaseClauseErrorwhen trying to decode an unknown wire type.- Raise
Protobuf.DecodeErrorinstead ofMatchErrorwhen 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_prefixandpackage_prefixoptions.- Add
nilto oneof typespec union.- Skip calling
Type.new/1for structs with transform modules.Deprecations
- Warn if
@type tis defined inside a module that callsuse Protobuf. To fix this warning the files can be regenerated with the latest version of protobuf.Breaking changes
- Raise an error if only
@type tordefstructis defined inside a module
... (truncated)
Commits
885f39eRelease v0.11.0bac0d6aSupport TransformModule in JSON encoder (#310)9a45a01Fix conformance tests in CI (#309)a1a65b0Fix decoding of proto3 optional non-nil defaults (#302)042b58fUpdate README to 0.10.0 (#307)ace76fdFix CI deps caching (#305)6a37705Do not load module for enum defaults (#303)48c39d4Fix use Bitwise warning (#296)747fca4Regenerate Protobuf descriptors19eeb0eAdd a regression test that fails on OTP 25- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)