Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade graphql-ws from 5.13.1 to 5.15.0 #394

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

j-mendez
Copy link
Contributor

@j-mendez j-mendez commented Mar 4, 2024

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade graphql-ws from 5.13.1 to 5.15.0.

ℹ️ 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 5 versions ahead of your current version.
  • The recommended version was released 21 days ago, on 2024-02-12.
Release notes
Package name: graphql-ws
  • 5.15.0 - 2024-02-12

    5.15.0 (2024-02-12)

    Bug Fixes

    • client: Use TerminatedCloseEvent class extending an Error for rejecting promises when terminating (74b4ceb), closes #531
    • server: Dispose of subscriptions on close even if added late to the subscriptions list (#534) (e45d6b1), closes #532

    Features

    • server: Add is retry flag to connect events (#507) (9ad853f)
  • 5.14.3 - 2023-12-20

    5.14.3 (2023-12-20)

    Bug Fixes

    • client: Use closures instead of bindings (with this) (812129d)
    • remove package.json workspaces entry in release (63a831e), closes #524
  • 5.14.2 - 2023-10-23

    5.14.2 (2023-10-23)

    Bug Fixes

    • client: correct close code for Bad Gateway reason (#512) (0438650)
  • 5.14.1 - 2023-09-28

    5.14.1 (2023-09-28)

    Bug Fixes

    • server: Acknowledge connection before notifying the client to avoid race conditions with slow sends (#506) (8cb82bd), closes #501
  • 5.14.0 - 2023-06-22

    5.14.0 (2023-06-22)

    Features

    • client: Async iterator for subscriptions (#486) (fb4b967)

    Examples

    Use the client

    import { createClient } from 'graphql-ws';

    const client = createClient({
    url: 'ws://localhost:4000/graphql',
    });

    // query
    (async () => {
    const query = client.iterate({
    query: '{ hello }',
    });

    const { value } = await query.next();
    expect(value).toEqual({ hello: 'world' });
    })();

    // subscription
    (async () => {
    const subscription = client.iterate({
    query: 'subscription { greetings }',
    });

    for await (const event of subscription) {
    expect(event).toEqual({ greetings: 'Hi' });

    <span class="pl-c">// complete a running subscription by breaking the iterator loop</span>
    <span class="pl-k">break</span><span class="pl-kos">;</span>
    

    }
    })();




  • 5.13.1 - 2023-05-15

    5.13.1 (2023-05-15)

    Bug Fixes

    • Remove unnecessary bun-types directives (e9a56f7), closes #478
from graphql-ws GitHub release notes
Commit messages
Package name: graphql-ws
  • 933d720 chore(release): 🎉 5.15.0 [skip ci]
  • 74b4ceb fix(client): Use `TerminatedCloseEvent` class extending an `Error` for rejecting promises when terminating
  • f76bb54 test: update expected arguments for connecting event
  • 9ad853f feat(server): Add is retry flag to connect events (#507)
  • e45d6b1 fix(server): Dispose of subscriptions on close even if added late to the subscriptions list (#534)
  • e2603be chore: revert pkg workspaces after pack
  • 8d3f3d0 chore(deps): update lockfile
  • c61e31b refactor: return of the website workspace
  • e19263e chore(deps): update lockfile
  • 69791ee docs(bun): correct `handleProtocols` usage
  • e4a75cc chore(release): 🎉 5.14.3 [skip ci]
  • 63a831e fix: remove package.json workspaces entry in release
  • 812129d fix(client): Use closures instead of bindings (with `this`)
  • 12f7376 docs(protocol): clarify id field is not optional (#523)
  • b347757 chore(release): 🎉 5.14.2 [skip ci]
  • 0438650 fix(client): correct close code for Bad Gateway reason (#512)
  • ac329e5 chore: type check website scripts
  • 55d86ae chore(deps): use stable release for algolia sync
  • 81b5598 docs: try alpha algolia sync
  • efa0c49 docs: remove graphql conf banner
  • 2a9879d docs: exclude _meta files from sitemap
  • cdd676d docs: gendocs with _meta.ts instead of json
  • 93099fd docs: upgrade to Nextra 3 (#511)
  • 4f4ac19 docs(server): typos in comments (#508)

Compare


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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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.

None yet

2 participants