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

Chore: bump github.com/jhump/protoreflect from 1.12.0 to 1.13.0 #1982

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 13, 2022

Bumps github.com/jhump/protoreflect from 1.12.0 to 1.13.0.

Release notes

Sourced from github.com/jhump/protoreflect's releases.

v1.13.0

This version includes mostly bug fixes. It does include some new API and features in desc/builder and desc/sourceinfo packages. This version also introduces support for Windows. (Some packages did not work correctly on platforms where the default path separator was not /. These packages have been fixed.)

"github.com/jhump/protoreflect/desc"

Changes/fixes:

  • If using the CreateFileDescriptor functions to convert descriptor protos into "rich" descriptors, a panic could occur on certain kinds of invalid input. For example, if the input type of an RPC method referred to an enum instead of a message, a type assertion panic would be triggered. This has been fixed so that such incorrect input results in the function returning an error, not panic'ing.

"github.com/jhump/protoreflect/desc/builder"

Additions:

  • Adds a new method PruneUnusedDependencies to the FileBuilder type. This can be used to remove any unused dependencies. This is mainly useful when modifying an existing descriptor and removing elements from it. After removing elements, some of the file's imports may no longer be used.

"github.com/jhump/protoreflect/desc/protoparse"

Changes/fixes:

  • Fixes a potential panic when parsing and linking source files. If the source contains a symbol that conflicted with the name of a synthetic oneof (an implementation detail of how descriptors with "proto3 optional" fields are generated), it would trigger a nil de-reference panic while trying to construct the error message. This has been fixed.
  • Fixes a subtle issue when resolving relative references in field types and extendees, whereby this package would previously accept a reference that protoc would reject. The resolution rules in protoc handle partially-qualified references a little differently than unqualified references, and this package didn't previously implement the subtle difference. This is now fixed.
  • Fixes an issue where a field type was allowed to directly refer to the name of a synthetic map entry message. This is not actually allowed by protoc. Now such an incorrect usage results in an appropriate error.
  • Adds checks to verify that default JSON names for fields and enum values do not conflict. This implements the check in the same fashion as protoc, which is case-insensitive. For enum values, any prefix on the value name that matches the enum name (regardless of case or underscores) is disregarded when performing this check. The check results in an error for proto3 syntax files, but only a warning for proto2 syntax files.
  • Adds a check to make sure that custom json_name options on fields are valid. So if two fields try to declare the same json_name, this will be considered an error. For proto3 syntax files, if a custom json_name option conflicts with another field's default json name, this is also an error (but only a warning for proto2 syntax files).
  • The ParseFilesButDoNotLink method will now return uninterpreted options in a form that matches the way the official C++ Parser class does. In particular, aggregate values now use the same string format, which will be identical to the original message literal in source but without the enclosing braces ({ and }), with all comments and whitespace removed, and with a single space inserted between lexical elements.

"github.com/jhump/protoreflect/desc/protoprint"

Changes/fixes:

  • Previously, characters outside US ASCII (7 bit) in string literals would be encoded using octal escapes when printed. (There is not enough information in a descriptor to preserve the original source's encoding.) This made string literals with other unicode code points (other languages/alphabets, emoji, etc) impossible to read. This has been fixed. String literals used for bytes fields still use aggressive octal escapes. But for string fields, escapes are only used for non-printable code points.

"github.com/jhump/protoreflect/dynamic"

Changes/fixes:

  • The GetKnownType method of KnownTypeRegistry could previously return an invalid type, if given the fully-qualified name of a synthetic map entry message. It now returns nil in such a case.

"github.com/jhump/protoreflect/desc/sourceinfo"

Additions:

  • This release adds a new RegisterEncodedSourceInfo function, used by newer code generated by protoc-gen-gosrcinfo. It accepts compressed data and will decompress it during program initialization.

"github.com/jhump/protoreflect/desc/sourceinfo/cmd/protoc-gen-gosrcinfo"

Changes/fixes:

  • The generated code now emits compressed information. That way, it uses less space in the executable, resulting in smaller binaries.
Commits
  • bccb0aa protoprint: try to preserve printable unicode code points in output (#529)
  • 8dab444 protoparse: match the way protoc populates aggregate values in uninterpreted ...
  • cd98cc0 desc: avoid panic if descriptor proto has invalid type references (#525)
  • ab4615d protoparse: enum value name constraints, ostensibly related to JSON format (#...
  • 3057e78 protoparse: enforce unique JSON names (#523)
  • 7614117 protoparse: it is not allowed to reference a synthetic map entry (#522)
  • bc733da oops, how did we never notice license issue
  • 73d52db add caveat about the V1 protobuf API
  • 25e6f5d protoparse: fix scoping issue for extendees and field type names; also fix ar...
  • 060cc04 Remove dependency on grpc-go in internal/testprotos (#519)
  • 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)

Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/jhump/protoreflect/releases)
- [Commits](jhump/protoreflect@v1.12.0...v1.13.0)

---
updated-dependencies:
- dependency-name: github.com/jhump/protoreflect
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Sep 13, 2022
@codecov-commenter
Copy link

codecov-commenter commented Sep 13, 2022

Codecov Report

Base: 38.88% // Head: 38.84% // Decreases project coverage by -0.03% ⚠️

Coverage data is based on head (afd3831) compared to base (2e0ea88).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1982      +/-   ##
==========================================
- Coverage   38.88%   38.84%   -0.04%     
==========================================
  Files         616      616              
  Lines       36336    36336              
==========================================
- Hits        14128    14116      -12     
- Misses      20630    20639       +9     
- Partials     1578     1581       +3     
Impacted Files Coverage Δ
app/router/command/errors.generated.go 0.00% <0.00%> (-100.00%) ⬇️
app/router/command/command.go 36.92% <0.00%> (-3.08%) ⬇️
app/dns/dnscommon.go 86.36% <0.00%> (-2.28%) ⬇️
transport/pipe/impl.go 87.87% <0.00%> (-2.03%) ⬇️
transport/internet/headers/http/http.go 83.54% <0.00%> (-1.90%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kslr kslr merged commit 305661c into master Sep 16, 2022
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/jhump/protoreflect-1.13.0 branch September 16, 2022 07:00
maskedeken pushed a commit to maskedeken/v2ray-core that referenced this pull request Mar 10, 2023
Co-authored-by: ksco.he <[email protected]>
Co-authored-by: 秋のかえで <[email protected]>

Chore: bump google.golang.org/grpc from 1.49.0 to 1.50.0 (v2fly#2046)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

fix: socks4/4a client handshake (v2fly#1971)

Feat: add transport original name to listen unix (v2fly#2048)

Feat: add bind to device to Windows and Darwin (v2fly#1972)

fix: Replace "math/rand" with "crypto/rand" in padding generation(v2fly#2032)

Chore: github.com/lucas-clemente/quic-go from 0.29.0 to 0.29.1 (v2fly#2010)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

feat: Replace default Health Ping URL to HTTPS (v2fly#1991)

Chore: update dependencies (v2fly#1995)

Refactor: replace netaddr package with netipx (v2fly#1994)

Fix: remove v2ctl from debian/rules (v2fly#1954)

* Remove v2ctl from debian/rules

It seems to be left over from v2fly#488

* Chore: use Go v1.19 to build debian package

Co-authored-by: Loyalsoldier <[email protected]>

Chore: bump google.golang.org/grpc from 1.48.0 to 1.49.0 (v2fly#1935)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Chore: bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (v2fly#1959)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Chore: bump github.com/jhump/protoreflect from 1.12.0 to 1.13.0 (v2fly#1982)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

feat: Implement Match and MatchAny for all MatcherGroup, IndexMatcher

[common/strmatcher] Implement Match and MatchAny for all MatcherGroup and IndexMatcher
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 go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants