This version introduces a new package protodelim to marshal and unmarshal size-delimited messages.
It also brings the implementation up to date with the latest protobuf features.
CL/462315: cmd/protoc-gen-go: make deprecated messages more descriptive
CL/473015: encoding/prototext: allow whitespace and comments between minus sign and number in negative numeric literal
Alignment with protobuf
CL/426054: types/descriptorpb: update *.pb.go to use latest protoc release, 21.5
CL/425554: encoding/protojson: fix parsing of google.protobuf.Timestamp
CL/461238: protobuf: remove the check for reserved field numbers
CL/469255: types/descriptorpb: regenerate using latest protobuf v22.0 release
CL/472696: cmd/protoc-gen-go: support protobuf retention feature
Documentation improvements:
CL/464275: proto: document Equal behavior of invalid messages
CL/466375: all: update links to Protocol Buffer documentation
Minor performance improvements
CL/460215: types/known/structpb: preallocate map in AsMap
CL/465115: internal/strs: avoid unnecessary allocations in Builder
Breaking changes
CL/461238: protobuf: remove the check for reserved field numbers
protowire.(Number).IsValid() no longer returns false for reserved fields because reserved fields are considered semantically valid by the protobuf spec.
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 google.golang.org/protobuf from 1.28.1 to 1.29.1.
Release notes
Sourced from google.golang.org/protobuf's releases.
Commits
095a62b
all: release v1.29.1edaf511
internal/encoding/text: fix parsing of incomplete numbersfe5bc54
all: start v1.29.0-develd3c9826
all: release v1.29.0eba8b09
cmd/protoc-gen-go: support protobuf retention featurefcf5f6c
encoding/prototext: allow whitespace and comments between minus sign and numb...bc1253a
types/descriptorpb: regenerate using latest protobuf v22.0 release246af0d
internal,reflect: correct typos49eaa78
all: update links to Protocol Buffer documentatione831c33
proto: document Equal behavior of invalid messagesDependabot 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)