Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): Bump github.com/bufbuild/buf from 1.8.0 to 1.9.0 (tender…
…mint#9615) Bumps [github.com/bufbuild/buf](https://github.com/bufbuild/buf) from 1.8.0 to 1.9.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/bufbuild/buf/releases">github.com/bufbuild/buf's releases</a>.</em></p> <blockquote> <h2>v1.9.0</h2> <ul> <li> <p>New compiler that is faster and uses less memory than the outgoing one.</p> <ul> <li>When generating source code info, the new compiler is 20% faster, and allocates 13% less memory.</li> <li>If <em>not</em> generating source code info, the new compiler is 50% faster and allocates 35% less memory.</li> <li>In addition to allocating less memory through the course of a compilation, the new compiler releases some memory much earlier, allowing it to be garbage collected much sooner. This means that by the end of a very large compilation process, less than half as much memory is live/pinned to the heap, decreasing overall memory pressure.</li> </ul> <p>The new compiler also addresses a few bugs where Buf would accept proto sources that protoc would reject:</p> <ul> <li>In proto3 files, field and enum names undergo a validation that they are sufficiently different so that there will be no conflicts in JSON names.</li> <li>Fully-qualified names of elements (like a message, enum, or service) may not conflict with package names.</li> <li>A oneof or extend block may not contain empty statements.</li> <li>Package names may not be >= 512 characters in length or contain > 100 dots.</li> <li>Nesting depth of messages may not be > 32.</li> <li>Field types and method input/output types may not refer to synthetic map entry messages.</li> </ul> </li> <li> <p>Push lint and breaking configuration to the registry.</p> </li> <li> <p>Include <code>LICENSE</code> file in the module on <code>buf push</code>.</p> </li> <li> <p>Formatter better edits/preserves whitespace around inline comments.</p> </li> <li> <p>Formatter correctly indents multi-line block (C-style) comments.</p> </li> <li> <p>Formatter now indents trailing comments at the end of an indented block body (including contents of message and array literals and elements in compact options) the same as the rest of the body (instead of out one level, like the closing punctuation).</p> </li> <li> <p>Formatter uses a compact, single-line representation for array and message literals in option values that are sufficiently simple (single scalar element or field).</p> </li> <li> <p><code>buf beta convert</code> flags have changed from <code>--input</code> to <code>--from</code> and <code>--output</code>/<code>-o</code> to <code>--to</code></p> </li> <li> <p>Fully qualified type names now must be passed to the <code>input</code> argument and <code>--type</code> flag separately</p> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/bufbuild/buf/blob/main/CHANGELOG.md">github.com/bufbuild/buf's changelog</a>.</em></p> <blockquote> <h2>[v1.9.0] - 2022-10-19</h2> <ul> <li> <p>New compiler that is faster and uses less memory than the outgoing one.</p> <ul> <li>When generating source code info, the new compiler is 20% faster, and allocates 13% less memory.</li> <li>If <em>not</em> generating source code info, the new compiler is 50% faster and allocates 35% less memory.</li> <li>In addition to allocating less memory through the course of a compilation, the new compiler releases some memory much earlier, allowing it to be garbage collected much sooner. This means that by the end of a very large compilation process, less than half as much memory is live/pinned to the heap, decreasing overall memory pressure.</li> </ul> <p>The new compiler also addresses a few bugs where Buf would accept proto sources that protoc would reject:</p> <ul> <li>In proto3 files, field and enum names undergo a validation that they are sufficiently different so that there will be no conflicts in JSON names.</li> <li>Fully-qualified names of elements (like a message, enum, or service) may not conflict with package names.</li> <li>A oneof or extend block may not contain empty statements.</li> <li>Package names may not be >= 512 characters in length or contain > 100 dots.</li> <li>Nesting depth of messages may not be > 32.</li> <li>Field types and method input/output types may not refer to synthetic map entry messages.</li> </ul> </li> <li> <p>Push lint and breaking configuration to the registry.</p> </li> <li> <p>Include <code>LICENSE</code> file in the module on <code>buf push</code>.</p> </li> <li> <p>Formatter better edits/preserves whitespace around inline comments.</p> </li> <li> <p>Formatter correctly indents multi-line block (C-style) comments.</p> </li> <li> <p>Formatter now indents trailing comments at the end of an indented block body (including contents of message and array literals and elements in compact options) the same as the rest of the body (instead of out one level, like the closing punctuation).</p> </li> <li> <p>Formatter uses a compact, single-line representation for array and message literals in option values that are sufficiently simple (single scalar element or field).</p> </li> <li> <p><code>buf beta convert</code> flags have changed from <code>--input</code> to <code>--from</code> and <code>--output</code>/<code>-o</code> to <code>--to</code></p> </li> <li> <p>fully qualified type names now must be parsed to the <code>input</code> argument and <code>--type</code> flag separately</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/bufbuild/buf/commit/0d39fac763025d6e86f7145d9836c9214a628c12"><code>0d39fac</code></a> Update to v1.9.0 (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1511">#1511</a>)</li> <li><a href="https://github.com/bufbuild/buf/commit/9033632c0f387f82fd120565e579524346c1e1da"><code>9033632</code></a> Update CHANGELOG.md (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1510">#1510</a>)</li> <li><a href="https://github.com/bufbuild/buf/commit/3bafb05ee5fd81dae3467639a06c3734d8f02e39"><code>3bafb05</code></a> Update CHANGELOG.md (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1501">#1501</a>)</li> <li><a href="https://github.com/bufbuild/buf/commit/ff03a69a0fcfaa620f4067b602755dd00c3e6430"><code>ff03a69</code></a> Use protocompile as the compiler (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1463">#1463</a>)</li> <li><a href="https://github.com/bufbuild/buf/commit/bda6cf66c4a97158ce6ec7d4d09cb4b0ff2b8585"><code>bda6cf6</code></a> avoid panic in OptionExtensionDescriptor (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1506">#1506</a>)</li> <li><a href="https://github.com/bufbuild/buf/commit/a39cbab60f20bed1e1754969b35983d922d8ff39"><code>a39cbab</code></a> BSR-578/Protobuf definition for updating metadata (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1483">#1483</a>)</li> <li><a href="https://github.com/bufbuild/buf/commit/e7889dcecf4c7e9391f72c0a184e03304884e9b7"><code>e7889dc</code></a> move convert command tests to where commands are tested (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1507">#1507</a>)</li> <li><a href="https://github.com/bufbuild/buf/commit/85bed0978099217d64f54fd066db6aeab5df8cc4"><code>85bed09</code></a> Change field option packed type to optional</li> <li><a href="https://github.com/bufbuild/buf/commit/760da6748b7d871b644bcad690f739b95d66b3a1"><code>760da67</code></a> bufmodule: test NewModuleForBucket (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1486">#1486</a>)</li> <li><a href="https://github.com/bufbuild/buf/commit/045f5685fc1ce5a31ace893f5e1d4aa1ed0756b5"><code>045f568</code></a> update makego and go dependencies (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1495">#1495</a>)</li> <li>Additional commits viewable in <a href="https://github.com/bufbuild/buf/compare/v1.8.0...v1.9.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/bufbuild/buf&package-manager=go_modules&previous-version=1.8.0&new-version=1.9.0)](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 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>
- Loading branch information