Skip to content

Upgrade repository#141

Merged
stefanvanburen merged 1 commit intomainfrom
svanburen/upgrade
Apr 21, 2026
Merged

Upgrade repository#141
stefanvanburen merged 1 commit intomainfrom
svanburen/upgrade

Conversation

@stefanvanburen
Copy link
Copy Markdown
Member

  • Bump Go version to 1.25.6
  • Bump golangci-lint version and fix new lints
  • Bump copyright year
  • Bump buf version

Ref: bufbuild/standard-go#6

* Bump Go version to 1.25.6
* Bump golangci-lint version and fix new lints
* Bump copyright year
* Bump buf version

Ref: bufbuild/standard-go#6
// Split the param into key and value.
pos := strings.Index(param, "=")
if pos == -1 {
key, value, ok := strings.Cut(param, "=")
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

flagged by modernizer

for _, pathPart := range path {
newType += "." + pathPart
}
newType := strings.Join(append([]string{newRef}, path...), ".")
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

originally this wanted to flip to using a StringBuilder, but just simplified.

Comment thread go.mod
module github.com/bufbuild/protoschema-plugins

go 1.24.0
go 1.25.6
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

AFAIK this isn't a library and is only consumed as executable plugins; maybe we could bump to 1.26 and ditch the compatibility dance in CI?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It'd be nice if it was a library 😅

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fair, perhaps that was some of the original intent. Leaving for now.

@stefanvanburen stefanvanburen merged commit b71f2a2 into main Apr 21, 2026
6 checks passed
@stefanvanburen stefanvanburen deleted the svanburen/upgrade branch April 21, 2026 14:10
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.

2 participants