Skip to content

Commit

Permalink
Bump @bufbuild/connect-web from 0.8.6 to 0.11.0 in /dashboard (#6390)
Browse files Browse the repository at this point in the history
Bumps
[@bufbuild/connect-web](https://github.com/bufbuild/connect-es/tree/HEAD/packages/connect-web)
from 0.8.6 to 0.11.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/bufbuild/connect-es/releases"><code>@​bufbuild/connect-web</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v0.11.0</h2>
<h2>What's Changed</h2>
<h3>Disregard non-JSON error response bodies for unary requests</h3>
<p>This release makes a change in how response bodies are parsed for
Connect unary requests that result in an HTTP error. Previously, all
response bodies for unary requests that returned an HTTP error status
were parsed with <code>response.json()</code>. However, this could lead
to errors with non-JSON bodies. Now, only responses with a
<code>Content-Type</code> of <code>application/json</code> will have the
body parsed as JSON and added to the resulting Connect error.</p>
<p>For all other errors, the resulting Connect error will show the HTTP
status code as the message and the corresponding Connect error code as
the code.</p>
<p>To reiterate, this only affects Connect protocol unary requests that
end with an HTTP error status code. All other protocols and/or RPC types
are unaffected.</p>
<h3>Enhancements</h3>
<ul>
<li><a
href="https://redirect.github.com/bufbuild/connect-es/pull/686">bufbuild/connect-es#686</a></li>
<li><a
href="https://redirect.github.com/bufbuild/connect-es/pull/692">bufbuild/connect-es#692</a></li>
<li><a
href="https://redirect.github.com/bufbuild/connect-es/pull/695">bufbuild/connect-es#695</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/akosyakov"><code>@​akosyakov</code></a>
made their first contribution in <a
href="https://redirect.github.com/bufbuild/connect-es/pull/686">bufbuild/connect-es#686</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/bufbuild/connect-es/compare/v0.10.1...v0.11.0">https://github.com/bufbuild/connect-es/compare/v0.10.1...v0.11.0</a></p>
<h2>v0.10.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Handle GOAWAY frames with NO_ERROR in Node.js clients by <a
href="https://github.com/timostamm"><code>@​timostamm</code></a> in <a
href="https://redirect.github.com/bufbuild/connect-es/pull/681">bufbuild/connect-es#681</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/bufbuild/connect-es/compare/v0.10.0...v0.10.1">https://github.com/bufbuild/connect-es/compare/v0.10.0...v0.10.1</a></p>
<h2>v0.10.0</h2>
<h2>What's Changed</h2>
<h3>KeepAlive</h3>
<p>As of this release, Connect-ES offers <a
href="https://github.com/grpc/proposal/blob/0ba0c1905050525f9b0aee46f3f23c8e1e515489/A8-client-side-keepalive.md#basic-keepalive">Basic
Keepalive</a> support for HTTP/2 for clients that use one of the
transports from <code>@bufbuild/connect-node</code>. Note that this
replaces the option <code>keepSessionAlive</code>, which is deprecated
with this PR.</p>
<p>In it's most simple form, the following example enables regular PINGs
every 5 minutes:</p>
<pre lang="ts"><code>import { createConnectTransport } from
&quot;@bufbuild/connect-node&quot;;
<p>const transport = createConnectTransport({
httpVersion: &quot;2&quot;,
baseUrl: &quot;<a
href="https://demo.connect.build">https://demo.connect.build</a>&quot;,
pingIntervalMs: 1000 * 60 * 5,
});
</code></pre></p>
<p>For more information, see <a
href="https://redirect.github.com/bufbuild/connect-es/pull/673">bufbuild/connect-es#673</a></p>
<h3>JSON parser ignores unknown fields by default</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/bufbuild/connect-es/commit/5d6dc65ca26e3511669231866ec31cac9e328017"><code>5d6dc65</code></a>
Release 0.11.0 (<a
href="https://github.com/bufbuild/connect-es/tree/HEAD/packages/connect-web/issues/696">#696</a>)</li>
<li><a
href="https://github.com/bufbuild/connect-es/commit/29436a090f1d505eaf7443589e92a6719bfb7fa4"><code>29436a0</code></a>
Defer resolving globalThis.fetch until calling endpoint (<a
href="https://github.com/bufbuild/connect-es/tree/HEAD/packages/connect-web/issues/692">#692</a>)</li>
<li><a
href="https://github.com/bufbuild/connect-es/commit/76b17edbbc4c0d4c98d1de8eb754192835458054"><code>76b17ed</code></a>
Release v0.10.1 (<a
href="https://github.com/bufbuild/connect-es/tree/HEAD/packages/connect-web/issues/684">#684</a>)</li>
<li><a
href="https://github.com/bufbuild/connect-es/commit/b6187e9b2007bf178c0a6dea79cab3f30ff09c1a"><code>b6187e9</code></a>
Release 0.10.0 (<a
href="https://github.com/bufbuild/connect-es/tree/HEAD/packages/connect-web/issues/676">#676</a>)</li>
<li><a
href="https://github.com/bufbuild/connect-es/commit/4c6795555ebe4afd1b5d36ff7c7636a390cd84e0"><code>4c67955</code></a>
Ignore unknown JSON fields in Connect unary responses (<a
href="https://github.com/bufbuild/connect-es/tree/HEAD/packages/connect-web/issues/674">#674</a>)</li>
<li><a
href="https://github.com/bufbuild/connect-es/commit/134772aaf9b2e1384f0b3b57cbf125f300bf635d"><code>134772a</code></a>
Ignore unknown JSON fields by default (<a
href="https://github.com/bufbuild/connect-es/tree/HEAD/packages/connect-web/issues/642">#642</a>)</li>
<li><a
href="https://github.com/bufbuild/connect-es/commit/61a43aea6076ffbe45de3ca83b1fbfa54a06bffb"><code>61a43ae</code></a>
Modify parsing of response for Connect unary requests (<a
href="https://github.com/bufbuild/connect-es/tree/HEAD/packages/connect-web/issues/668">#668</a>)</li>
<li><a
href="https://github.com/bufbuild/connect-es/commit/6fdde58cca89415fe44c0f88a18881c4e79d0ef3"><code>6fdde58</code></a>
Update to Protobuf-ES 1.2.1 (<a
href="https://github.com/bufbuild/connect-es/tree/HEAD/packages/connect-web/issues/666">#666</a>)</li>
<li><a
href="https://github.com/bufbuild/connect-es/commit/a57540c7c81fa4fcc1c7a4817540aabc82144d17"><code>a57540c</code></a>
Release 0.9.1 (<a
href="https://github.com/bufbuild/connect-es/tree/HEAD/packages/connect-web/issues/659">#659</a>)</li>
<li><a
href="https://github.com/bufbuild/connect-es/commit/a03b06539b97264800790b4a317d3187e094c8a7"><code>a03b065</code></a>
Allow HTTP 204 response in the gRPC-web client (<a
href="https://github.com/bufbuild/connect-es/tree/HEAD/packages/connect-web/issues/656">#656</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/bufbuild/connect-es/commits/v0.11.0/packages/connect-web">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@bufbuild/connect-web&package-manager=npm_and_yarn&previous-version=0.8.6&new-version=0.11.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Jul 3, 2023
1 parent ad0ae50 commit 77f84b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"@babel/parser": "^7.22.5",
"@bufbuild/connect": "^0.11.0",
"@bufbuild/connect-web": "^0.8.3",
"@bufbuild/connect-web": "^0.11.0",
"@bufbuild/protobuf": "^1.2.1",
"@cds/city": "^1.1.0",
"@cds/core": "^6.2.0",
Expand Down
17 changes: 6 additions & 11 deletions dashboard/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1134,19 +1134,14 @@
"@bufbuild/buf-win32-arm64" "1.23.1"
"@bufbuild/buf-win32-x64" "1.23.1"

"@bufbuild/connect-web@^0.8.3":
version "0.8.6"
resolved "https://registry.yarnpkg.com/@bufbuild/connect-web/-/connect-web-0.8.6.tgz#c435a5a42115f6f2c4c93b1fc785318b0daeedee"
integrity sha512-+ZI7Ercc0X1vlQr1iHa35EymtFjq1x4rByE+ToNyw05mwB7yxk4nw4iUa/Z7PfHYba1dAcgnnrvRDI2K7TBPBQ==
"@bufbuild/connect-web@^0.11.0":
version "0.11.0"
resolved "https://registry.yarnpkg.com/@bufbuild/connect-web/-/connect-web-0.11.0.tgz#53ad4f9de15930ebf47d0507d74ca0a850b1f2df"
integrity sha512-H0tSsn7dMJY5EQNHoQyE/TXmmRtJ6GauRl9RWk4GncQCXulo5ab5yn8cEtu7UKnPCvF7nYbK1ESE0vHi5Y2xaw==
dependencies:
"@bufbuild/connect" "0.8.6"

"@bufbuild/connect@0.8.6":
version "0.8.6"
resolved "https://registry.yarnpkg.com/@bufbuild/connect/-/connect-0.8.6.tgz#ba85ee7ad546fe380d705826b9b5bf5b8a5c0f01"
integrity sha512-z9gW4hcQxCz7w0kjt1JyMp7VEQQdm7CYiZHvNq4vZtMbKOje2DC8kSb62XStHHd3AdoDZq1cb1s11F5TMSwZYw==
"@bufbuild/connect" "0.11.0"

"@bufbuild/connect@^0.11.0":
"@bufbuild/connect@0.11.0", "@bufbuild/connect@^0.11.0":
version "0.11.0"
resolved "https://registry.yarnpkg.com/@bufbuild/connect/-/connect-0.11.0.tgz#b7afeabf0fe0cf665af736bb6b6d16814cbb2e88"
integrity sha512-a6hrNtBzDzj4hpqylPqpJfMpIP4+O/SnszGgOuRzcuifpTvkwjSmVHLtcvkUYh0wpvjYB0CFmTYzrvAMOftbHw==
Expand Down

0 comments on commit 77f84b2

Please sign in to comment.