Skip to content

protoparse: fixes to issues reported in v1.15.0#554

Merged
jhump merged 4 commits intomasterfrom
jh/protoparse-fixes
Mar 2, 2023
Merged

protoparse: fixes to issues reported in v1.15.0#554
jhump merged 4 commits intomasterfrom
jh/protoparse-fixes

Conversation

@jhump
Copy link
Copy Markdown
Owner

@jhump jhump commented Mar 2, 2023

This addresses a data race, caused by the fact that v1.15.0, under the hood, now uses protocompile, and protocompile as of v0.3.0 is possibly more susceptible to this issue. See bufbuild/protocompile#102.

It also addresses a regression -- an unintended change in behavior due to the use of protocompile regarding how custom options are represented in the returned descriptors. See #553.

Part of this fix is to upgrade to the latest version protocompile, which also brings over a version of descriptor.proto from protoc v22, which meant some updates to test data.

@jhump jhump merged commit 7923b75 into master Mar 2, 2023
@jhump jhump deleted the jh/protoparse-fixes branch March 2, 2023 22:02
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.

1 participant