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.
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 from 0.9.0 to 0.10.0.
Changelog
Sourced from protobuf's changelog.
Commits
2b9405b
Release v0.10.0 (#271)ff5e97c
Skip calling Type.new/1 for structs with transform modules (#268)244b141
Add nil to oneof typespec union (#269)de70a44
Fix failing tests due to formatting (#267)ff6cde7
Update Protobuf.MessageProps (#263)fe8c4bf
Regenerate bootstrap modules (#262)4080a99
Include protoc-gen-elixir plugin version in generated files (#259)f628385
Suffix version with-dev
when not released (#258)55245dc
Update Protobuf.FieldProps (#261)9de6d49
Add another (skipped) extensions testDependabot 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)