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

Bump google.golang.org/protobuf from 1.25.0 to 1.26.0 in /exporter/signalfxexporter #404

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 22, 2021

Bumps google.golang.org/protobuf from 1.25.0 to 1.26.0.

Release notes

Sourced from google.golang.org/protobuf's releases.

v1.26.0

Overview

This release reduces dependencies on other modules, enforces strict behavior with generated Go packages and name conflicts, expands support for aberrant message types, and provides minor new features in protobuf reflection.

Notable changes

New features:

  • CL/242377: proto: add MessageName helper
  • CL/236777: reflect/protoreflect: add MessageFieldTypes
  • CL/239838: reflect/protoreflect: add FieldDescriptor.TextName
  • CL/238000: reflect/protoreflect: improve source information usability

Behavior changes:

  • CL/240017: internal/impl: introduce instability to protoreflect.Message.Range order
  • CL/262681: internal/encoding/text: escape \x7f (DEL) in strings
  • CL/262682: internal/encoding/text: escape Unicode control characters in strings
  • CL/259900: internal/filedesc: remove ProtoLegacyRawDesc method
  • CL/286132: internal/descfmt: always include type name in FormatList
  • CL/302330: cmd/protoc-gen-go: support --help flag
  • CL/301952: cmd/protoc-gen-go: print version to stdout
  • CL/244297: all: return less-specific, but more informative wire unmarshal errors

Bug fixes:

  • CL/247458: testing/protocmp: fix representation of empty bytes
  • CL/241658: testing/prototest: fix suggestion for field name
  • CL/259899: reflect/protodesc: fix round-tripping for package field
  • CL/247737: encoding/protojson: restrict valid values for google.protobuf.Value.number_value
  • CL/246097: types/known/fieldmaskpb: repeated and map fields are only valid in the last position of a path
  • CL/244718: internal/impl: make errInvalidUTF8 be a proto.Error

Performance optimizations:

  • CL/253100: proto/equal: reduce equal scalar value allocation
  • CL/240378: reflect/protoregistry: avoid checking for '/' in FindMessageByName

Reduced dependencies

  • CL/259901: cmd/protoc-gen-go: remove reference to legacy ProtoPackageIsVersion4
  • CL/262679: all: rely on dynamic dependency check for genproto
  • CL/262683: all: remove weak dependency on github.com/golang/protobuf
  • CL/262684: all: add weak dependency on github.com/golang/protobuf
  • CL/235283: all: update protobuf toolchain dependency

... (truncated)

Changelog

Sourced from google.golang.org/protobuf's changelog.

#!/bin/bash

Copyright 2019 The Go Authors. All rights reserved.

Use of this source code is governed by a BSD-style

license that can be found in the LICENSE file.

cd "$(git rev-parse --show-toplevel)"

read -p "What is the next release version (e.g., 'v1.26.0')? " VERSION SEMVER_REGEX='^v([0-9])[.]([0-9])[.]([0-9])([.a-zA-Z0-9A-Z-])$' if ! [[ -z $(echo $VERSION | sed -e "s/$SEMVER_REGEX//") ]]; then echo; echo "invalid: must be a semver string"; exit 1 fi VERSION_MAJOR=$(echo $VERSION | sed -e "s/$SEMVER_REGEX/\1/") VERSION_MINOR=$(echo $VERSION | sed -e "s/$SEMVER_REGEX/\2/") VERSION_PATCH=$(echo $VERSION | sed -e "s/$SEMVER_REGEX/\3/") VERSION_PRERELEASE=$(echo $VERSION | sed -e "s/$SEMVER_REGEX/\4/") if ! [[ "$VERSION_MAJOR" =~ ^1$ ]]; then echo; echo "invalid: major version must be 1"; exit 1 fi if ! [[ -z $VERSION_PRERELEASE ]] && ! [[ "$VERSION_PRERELEASE" =~ ^-rc[.][0-9]+$ ]]; then echo; echo "invalid: pre-release suffix must be empty or '-rc.X'"; exit 1 fi VERSION_PRERELEASE=${VERSION_PRERELEASE#"-"} # trim possible leading dash

function version_string() { VERSION_STRING="v${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" if ! [[ -z $VERSION_PRERELEASE ]]; then VERSION_STRING="${VERSION_STRING}-${VERSION_PRERELEASE}" fi echo $VERSION_STRING }

read -p "Were there any changes to the generator that relies on new runtime functionality? " YN case $YN in [Yy]* ) read -p " What minor version of the runtime is required now? " GEN_VERSION if ! [[ "$GEN_VERSION" =~ ^[0-9]+$ ]]; then echo; echo "invalid: must be an integer"; exit 1; fi;; [Nn]* ) ;;

  • ) echo; echo "invalid: must be 'yes' or 'no'"; exit 1;; esac

read -p "Were there any dropped functionality in the runtime for old generated code? " YN case $YN in [Yy]* ) read -p " What minor version of the runtime is required now? " MIN_VERSION if ! [[ "$MIN_VERSION" =~ ^[0-9]+$ ]]; then echo; echo "invalid: must be an integer"; exit 1; fi;; [Nn]* ) ;;

  • ) echo; echo "invalid: must be 'yes' or 'no'"; exit 1;; esac

... (truncated)

Commits
  • f2d1f6c all: release v1.26.0
  • 41ef85a all: add weak dependency on github.com/golang/protobuf
  • bdf6e19 all: start v1.26.0-rc.1.devel
  • 1c57cac all: release v1.26.0-rc.1
  • b7197c1 all: remove weak dependency on github.com/golang/protobuf
  • e471641 cmd/protoc-gen-go: support --help flag
  • 174b9ec all: document that Unmarshal must be a mutable message
  • 8b366e8 compiler/protogen: require that the import path be specified
  • 23ccb35 internal/impl: add runtime support for aberrant messages
  • e31c6dd cmd/protoc-gen-go: print version to stdout
  • 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 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 22, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jun 28, 2021

Superseded by #625.

@dependabot dependabot bot closed this Jun 28, 2021
@dependabot dependabot bot deleted the dependabot/go_modules/exporter/signalfxexporter/google.golang.org/protobuf-1.26.0 branch June 28, 2021 04:24
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants