Skip to content

[Snyk] Upgrade @connectrpc/connect from 1.1.3 to 1.6.1#3

Open
jeffmartson wants to merge 1 commit intomainfrom
snyk-upgrade-4afaf2fb65ece9963d4b0823b32d11c2
Open

[Snyk] Upgrade @connectrpc/connect from 1.1.3 to 1.6.1#3
jeffmartson wants to merge 1 commit intomainfrom
snyk-upgrade-4afaf2fb65ece9963d4b0823b32d11c2

Conversation

@jeffmartson
Copy link
Owner

snyk-top-banner

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

    What's Changed

    • Fix transform for createPromiseClient -> createClient in connect-migrate by @ timostamm in #1269

    Full Changelog: v1.6.0...v1.6.1

  • 1.6.0 - 2024-10-10

    What's Changed

    Promises are more widely adopted than ever before. We're renaming the function createPromiseClient to the more succinct createClient. For backwards compatibility, we keep the existing signature and mark it as deprecated.

    After updating to this release, you can run npx @ connectrpc/connect-migrate to automatically refactor your code to import and use createClient instead of createPromiseClient.

    Full Changelog: v1.5.0...v1.6.0

  • 1.5.0 - 2024-09-11

    What's Changed

    New Contributors

    Full Changelog: v1.4.0...v1.5.0

  • 1.4.0 - 2024-02-28

    What's Changed

    This release includes support for server-side interceptors! Here's a quick example:

    import * as http from "http";
    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

    New Contributors

    Full Changelog: v1.3.0...v1.4.0

  • 1.4.0-rc1 - 2024-02-05
  • 1.3.0 - 2024-01-08

    What's Changed

    New Contributors

    Full Changelog: v1.2.1...v1.3.0

  • 1.2.1 - 2024-01-03

    What's Changed

    Full Changelog: v1.2.0...v1.2.1

  • 1.2.0 - 2023-12-13

    What's Changed

    By default, protoc-gen-connect-es (and all other plugins based on @ bufbuild/protoplugin) generate ECMAScript import and export statements. For use cases where CommonJS is difficult to avoid, a new plugin option has been added named js_import_style which can be used to generate CommonJS require() calls.

    Here is an example buf.gen.yaml:

    version: v1
    plugins:
      # You'll need @ bufbuild/protoc-gen-es v1.6.0 or later
      - plugin: es
        out: src/gen
        opt: js_import_style=legacy_commonjs
      - plugin: connect-es
        out: src/gen
        opt: js_import_style=legacy_commonjs

    To view the full PR, see Support CommonJS in protoc-gen-connect-es by @ timostamm in #956

    Full Changelog: v1.1.4...v1.2.0

  • 1.1.4 - 2023-12-04
  • 1.1.3 - 2023-10-27
from @connectrpc/connect GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

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
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.

2 participants