Commit a4f3ef4
authored
Bump github.com/jhump/protoreflect from 1.17.0 to 1.18.0 (#413)
Bumps
[github.com/jhump/protoreflect](https://github.com/jhump/protoreflect)
from 1.17.0 to 1.18.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jhump/protoreflect/releases">github.com/jhump/protoreflect's
releases</a>.</em></p>
<blockquote>
<h2>v1.18.0</h2>
<p>This is expected to be the final release of this module with a v1.x
version. (All subsequent releases are expected to be v2.x.)</p>
<p>The main change here is to insulate users from any future
backwards-incompatible changes in <code>bufbuild/protocompile</code>.
Previous releases (between 1.15 and 1.17, inclusive) depended on this
module, but it hasn't yet released a stable v1.0 version, so it has
occasionally been a turbulent dependency. More breaking changes are
expected since it is expected to get a totally new compiler and API
before it reaches v1.0. So anyone still using v1 of this repo should
update to this new release before then to avoid being broken when that
happens.</p>
<h3>"github.com/jhump/protoreflect/desc/builder"</h3>
<p>Changes/fixes:</p>
<ul>
<li>If resolving custom options and extensions resulted in a generated
extension description created by the older v1 of
<code>protoc-gen-go</code>, a nil-dereference panic could occur. This
has been fixed. Instead, the legacy extension that would otherwise have
caused a panic will now either be ignored or, if
<code>BuilderOptions.RequireInterpretedOptions</code> is set to true,
result in an error that not all options could be interpreted.
<ul>
<li>The older v1 has import path
<code>"github.com/golang/protobuf/protoc-gen-go"</code>. It
was replaced <a href="https://go.dev/blog/protobuf-apiv2">in 2020</a> by
the v2, which is at path
<code>"google.golang.org/protobuf/cmd/protoc-gen-go"</code>.</li>
</ul>
</li>
</ul>
<h3>"github.com/jhump/protoreflect/desc/protoparse"</h3>
<p>Changes/fixes:</p>
<ul>
<li>The internal compiler no longer comes from a separate Go module.
Instead, this module now contains a fork of
<code>bufbuild/protocompile</code>, which will maintain stability even
when the upstream repo diverges with unstable/breaking changes. The only
user-visible changes would be related to Editions support, thanks to
unreleased changes in upstream that were included in this repo's fork.
(See more below.)</li>
</ul>
<p>Additions:</p>
<ul>
<li>This adds a field named <code>AllowExperimentalEditions</code> to
the <code>protoparse.Parser</code> struct. When set to true, the parser
will accept and return descriptors for files that use Edition 2024 (the
only experimental edition at this time). It is experimental because it
does not implement all of the rules and semantics of Edition 2024. But
it does provide the ability to parse and compile files that include new
language features in Edition 2024, such as visibility modifiers
(<code>export</code> and <code>local</code>) as well as the
<code>option</code> import modifier.</li>
</ul>
<h3>"github.com/jhump/protoreflect/desc/protoprint"</h3>
<p>Changes/fixes:</p>
<ul>
<li>If resolving custom options and extensions resulted in a generated
extension description created by the older v1 of
<code>protoc-gen-go</code>, a nil-dereference panic could occur. This
has been fixed. Instead, the legacy extension that would otherwise have
caused a panic is ignored and will not be included in the printed output
(since it would result in an invalid source file that could not be
compiled).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jhump/protoreflect/commit/19645ddb76e8204a576dcc9ebdfe447ad37473d6"><code>19645dd</code></a>
Add a test case to make sure experimental Edition 2024 support is usable
(<a
href="https://redirect.github.com/jhump/protoreflect/issues/648">#648</a>)</li>
<li><a
href="https://github.com/jhump/protoreflect/commit/3297f002f2a856ad78bf92c2483f84c88bd714b5"><code>3297f00</code></a>
Fixes for one last (🤞) v1 release (<a
href="https://redirect.github.com/jhump/protoreflect/issues/646">#646</a>)</li>
<li><a
href="https://github.com/jhump/protoreflect/commit/225aff8348bb999e1b5fc4c81831599cdb25220e"><code>225aff8</code></a>
Update README to mention purpose of this branch (<a
href="https://redirect.github.com/jhump/protoreflect/issues/625">#625</a>)</li>
<li><a
href="https://github.com/jhump/protoreflect/commit/9d27593eea790254061af8d1d7b385818d1313ed"><code>9d27593</code></a>
update to same CI config as main (v2) (<a
href="https://redirect.github.com/jhump/protoreflect/issues/624">#624</a>)</li>
<li><a
href="https://github.com/jhump/protoreflect/commit/8f5fd1dcb3c5d0a936a660e56db723d3aa1acb1d"><code>8f5fd1d</code></a>
share source code info store w/ v2</li>
<li>See full diff in <a
href="https://github.com/jhump/protoreflect/compare/v1.17.0...v1.18.0">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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)
</details>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent fc30d89 commit a4f3ef4
2 files changed
Lines changed: 41 additions & 78 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | | - | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
33 | | - | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | | - | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
18 | 13 | | |
19 | 14 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
26 | 19 | | |
27 | 20 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 21 | | |
33 | 22 | | |
34 | | - | |
35 | 23 | | |
36 | 24 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
41 | 33 | | |
42 | 34 | | |
| 35 | + | |
| 36 | + | |
43 | 37 | | |
44 | 38 | | |
45 | | - | |
46 | 39 | | |
47 | 40 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 41 | | |
58 | 42 | | |
59 | | - | |
60 | 43 | | |
61 | 44 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | 45 | | |
66 | 46 | | |
67 | | - | |
68 | | - | |
69 | 47 | | |
70 | 48 | | |
71 | 49 | | |
72 | 50 | | |
73 | | - | |
74 | 51 | | |
75 | 52 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
97 | 61 | | |
98 | 62 | | |
99 | | - | |
100 | | - | |
0 commit comments