Skip to content

feat(compiler): bump easyprotoc to v0.2.0 for full proto2 parity and option presence - #273

Merged
ZergsLaw merged 2 commits into
mainfrom
feat/bump-easyprotoc-v0.2.0
Dec 4, 2026
Merged

ZergsLaw merged 2 commits into
mainfrom
feat/bump-easyprotoc-v0.2.0

Conversation

@ZergsLaw

@ZergsLaw ZergsLaw commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #269. Bumps github.com/easyp-tech/easyprotoc from v0.1.1 to v0.2.0 to pick up protoc-identical custom option field presence and scalar packing, full proto2 group support in messages, oneofs, and extend blocks, MessageSet and expanded google.protobuf.Any option encoding, proto2 semantic validation, and SourceCodeInfo parity with protoc 36.2. Updates internal/protoast/build.go to read TypeSpan for TypeGroup fields so linked ASTs retain raw group names and rune-column NamePos, registers group bodies across message, oneof, and extend scopes for accurate comment attachment, updates testdata/no_syntax/no_syntax.proto to valid proto2 field syntax, and adds gitsnapshot.EncodedObjectSize so loose .git/objects files are closed immediately instead of relying on GC finalization (fixing the Windows TempDir lock failure in TestRunCLIExitCodes). Verified with go test -race -count=1 ./..., golangci-lint run ./..., task schema:check, task proto:check, task dev-tools:check, GOOS=linux GOARCH=arm GOARM=7 go build ./cmd/easyp ./cmd/easyp-mcp, and GOOS=windows GOARCH=amd64 go vet ./....

@ZergsLaw
ZergsLaw merged commit c251d2f into main Dec 4, 2026
3 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.

generate writes proto3 zero values into custom options since #265

1 participant