[Snyk] Upgrade @connectrpc/connect from 1.1.3 to 1.6.1#3
Open
jeffmartson wants to merge 1 commit intomainfrom
Open
[Snyk] Upgrade @connectrpc/connect from 1.1.3 to 1.6.1#3jeffmartson wants to merge 1 commit intomainfrom
jeffmartson wants to merge 1 commit intomainfrom
Conversation
Snyk has created this PR to upgrade @connectrpc/connect from 1.1.3 to 1.6.1. See this package in npm: @connectrpc/connect See this project in Snyk: https://app.snyk.io/org/jeffmartson/project/f74611d4-9da3-4d36-9ba9-95d6c89f7c04?utm_source=github&utm_medium=referral&page=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade @connectrpc/connect from 1.1.3 to 1.6.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 9 versions ahead of your current version.
The recommended version was released a year ago.
Release notes
Package name: @connectrpc/connect
-
1.6.1 - 2024-10-11
- Fix transform for
-
1.6.0 - 2024-10-10
- Deprecate
- Add a transform for
- Fix gRPC-Web trailers-only response handling for server-streaming RPCs by @ timostamm in #1261
-
1.5.0 - 2024-09-11
- Amend RPC <-> HTTP code mappings in accordance with RFC 003 by @ srikrsna-buf in #1039
- Tweak error codes according to the conformance suite by @ srikrsna-buf in #1063
- Fix paths in npmignore files by @ smaye81 in #1112
- Handle multiple set-cookie headers when using Node client by @ tcarnes in #1155
- Add support for Next.js v14 by @ smaye81 in #1159
- Fix flaky decompression error code by @ timostamm in #1204
- Fix Node.js v16 error responses on HTTP1.1 by @ timostamm in #1206
- Fix gRPC trailers only response by @ srikrsna-buf in #1209
- Upgrade conformance tests to v1.0.3 by @ srikrsna-buf in #1208
- Fix signal in handler always aborted in HTTP/1.1 by @ srikrsna-buf in #1218
- Fix baseUrl without // mangling request URL on Node.js with HTTP/2 by @ timostamm in #1220
- Respect headers from transport option
- Fix error detail debug property by @ timostamm in #1221
- Throw an error on missing status in gRPC and gRPC-Web transports by @ srikrsna-buf in #1205
- @ sjtucoder made their first contribution in #1109
-
1.4.0 - 2024-02-28
import * as http from "http";
- Add service and method in grpc-web unary response by @ minimal1 in #984
- Document the
- Remove node export condition by @ smaye81 in #1017
- Avoid instanceof Message by @ timostamm in #1023
- @ minimal1 made their first contribution in #984
-
1.4.0-rc1 - 2024-02-05
-
1.3.0 - 2024-01-08
- Export
- Override
- @ jrschumacher made their first contribution in #959
-
1.2.1 - 2024-01-03
- Fix normalization of partial messages by @ timostamm in #975
-
1.2.0 - 2023-12-13
-
1.1.4 - 2023-12-04
-
1.1.3 - 2023-10-27
from @connectrpc/connect GitHub release notesWhat's Changed
createPromiseClient->createClientin connect-migrate by @ timostamm in #1269Full Changelog: v1.6.0...v1.6.1
What's Changed
Promises are more widely adopted than ever before. We're renaming the function
createPromiseClientto the more succinctcreateClient. For backwards compatibility, we keep the existing signature and mark it as deprecated.After updating to this release, you can run
npx @ connectrpc/connect-migrateto automatically refactor your code to import and usecreateClientinstead ofcreatePromiseClient.createPromiseClientin favor ofcreateClientby @ srikrsna-buf in #1235createPromiseClient->createClientby @ srikrsna-buf in #1236Full Changelog: v1.5.0...v1.6.0
What's Changed
nodeOptions.headersby @ timostamm in #1219New Contributors
Full Changelog: v1.4.0...v1.5.0
What's Changed
This release includes support for server-side interceptors! Here's a quick example:
import routes from "./connect";
import { connectNodeAdapter } from "@ connectrpc/connect-node";
import type { Interceptor } from "@ connectrpc/connect";
const logger: Interceptor = (next) => async (req) => {
console.log(
recevied message on <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">req</span><span class="pl-kos">.</span><span class="pl-c1">url</span><span class="pl-kos">}</span></span>);return await next(req);
};
http
.createServer(
connectNodeAdapter({
routes,
interceptors: [logger],
}),
)
.listen(8080);
For more on them please see the docs.
Other Changes
ts_nocheckplugin option by @ timostamm in #1012New Contributors
Full Changelog: v1.3.0...v1.4.0
What's Changed
*TransportOptionstypes forconnect-nodeby @ jrschumacher in #959instanceofforConnectErrorby @ srikrsna-buf in #974New Contributors
Full Changelog: v1.2.1...v1.3.0
What's Changed
Full Changelog: v1.2.0...v1.2.1
What's Changed
By default, protoc-gen-connect-es (and all other plugins based on @ bufbuild/protoplugin) generate ECMAScript
importandexportstatements. For use cases where CommonJS is difficult to avoid, a new plugin option has been added namedjs_import_stylewhich can be used to generate CommonJSrequire()calls.Here is an example buf.gen.yaml:
To view the full PR, see Support CommonJS in
protoc-gen-connect-esby @ timostamm in #956Full Changelog: v1.1.4...v1.2.0
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: