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: support the new versioning scheme of Protobuf #2635

Merged
merged 1 commit into from Oct 24, 2023

Conversation

wegood9
Copy link
Contributor

@wegood9 wegood9 commented Aug 4, 2023

Protobuf has changed their versioning scheme to a language-specific one. Basically the major part of versioning is now language-specific and no longer important.

Current releases are referred to using the minor version e.g. v24.0. For example, the output of protoc --version gives
libprotoc 24.0-rc3 while config.pb.go generated by protoc-gen-go still uses something like v4.24.0--rc3.

See also
https://protobuf.dev/news/2022-05-06/
protocolbuffers/protobuf#11440
protocolbuffers/protobuf#11123

Protobuf has changed their versioning scheme to language-specific one. For Golang, the first version applied the scheme would be 4.21.0 which followed the preceding version,3.20.1. Basically the major part is language-specific and no longer important.
Check more:
https://protobuf.dev/news/2022-05-06/
protocolbuffers/protobuf#11440
protocolbuffers/protobuf#11123
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 3.84% and project coverage change: -0.05% ⚠️

Comparison is base (faa60cb) 38.33% compared to head (dcca022) 38.28%.
Report is 3 commits behind head on master.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2635      +/-   ##
==========================================
- Coverage   38.33%   38.28%   -0.05%     
==========================================
  Files         636      637       +1     
  Lines       38120    38155      +35     
==========================================
- Hits        14613    14609       -4     
- Misses      21900    21939      +39     
  Partials     1607     1607              
Files Changed Coverage Δ
proxy/shadowsocks/simplified/config.go 2.56% <0.00%> (-0.57%) ⬇️
proxy/shadowsocks/simplified/errors.generated.go 0.00% <0.00%> (ø)
proxy/shadowsocks/simplified/config.pb.go 12.90% <2.63%> (-3.50%) ⬇️
proxy/shadowsocks/config.go 70.89% <33.33%> (+3.51%) ⬆️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@xiaokangwang xiaokangwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution. I think this pull request is ready to be merged.

@xiaokangwang xiaokangwang merged commit 1ef0ee1 into v2fly:master Oct 24, 2023
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants