Skip to content

Commit

Permalink
chore(deps): update dependency graphql-subscriptions to v3 (#7989)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[graphql-subscriptions](https://redirect.github.com/apollographql/graphql-subscriptions)
| [`2.0.0` ->
`3.0.0`](https://renovatebot.com/diffs/npm/graphql-subscriptions/2.0.0/3.0.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/graphql-subscriptions/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/graphql-subscriptions/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/graphql-subscriptions/2.0.0/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/graphql-subscriptions/2.0.0/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>apollographql/graphql-subscriptions
(graphql-subscriptions)</summary>

###
[`v3.0.0`](https://redirect.github.com/apollographql/graphql-subscriptions/blob/HEAD/CHANGELOG.md#300)

[Compare
Source](https://redirect.github.com/apollographql/graphql-subscriptions/compare/v2.0.0...v3.0.0)

- **\[BREAKING]** Replace `iterall` use with native
`Symbol.asyncIterator`. `PubSubEngine.asyncIterator` is now
`PubSubEngine.asyncIterableIterator`. <br/>
[@&#8203;n1ru4l](https://redirect.github.com/n1ru4l) in
[#&#8203;232](https://redirect.github.com/apollographql/graphql-subscriptions/pull/232)
-   Add an optional generic type map to `PubSub`. <br/>
[@&#8203;cursorsdottsx](https://redirect.github.com/cursorsdottsx) in
[#&#8203;245](https://redirect.github.com/apollographql/graphql-subscriptions/pull/245)
-   Support `readonly` arrays of event names. <br/>
[@&#8203;rh389](https://redirect.github.com/rh389) in
[#&#8203;234](https://redirect.github.com/apollographql/graphql-subscriptions/pull/234)
- Support returning a Promise of an `AsyncIterator` as the `withFilter`
resolver function. <br/>
[@&#8203;maclockard](https://redirect.github.com/maclockard) in
[#&#8203;220](https://redirect.github.com/apollographql/graphql-subscriptions/pull/220)
-   `withFilter` TypeScript improvements. <br/>
[@&#8203;HofmannZ](https://redirect.github.com/HofmannZ) in
[#&#8203;230](https://redirect.github.com/apollographql/graphql-subscriptions/pull/230)
- `withFilter` returns `AsyncIterableIterator` for compatibility with
Apollo Server subscriptions. <br/>
[@&#8203;tninesling](https://redirect.github.com/tninesling) in
[#&#8203;276](https://redirect.github.com/apollographql/graphql-subscriptions/pull/276)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" in timezone
America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/apollographql/apollo-server).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiOmNocmlzdG1hc190cmVlOiBkZXBlbmRlbmNpZXMiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Glasser <[email protected]>
  • Loading branch information
renovate[bot] and glasser authored Jan 2, 2025
1 parent 3478a96 commit a830562
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 27 deletions.
2 changes: 2 additions & 0 deletions .changeset/flat-jeans-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
34 changes: 9 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"eslint-plugin-import": "2.31.0",
"express": "4.21.2",
"graphql": "16.10.0",
"graphql-subscriptions": "2.0.0",
"graphql-subscriptions": "3.0.0",
"graphql-tag": "2.12.6",
"jest": "29.7.0",
"jest-config": "29.7.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2056,7 +2056,7 @@ async function startSubscriptionServer(
},
Subscription: {
count: {
subscribe: () => pubsub.asyncIterator(['ADD_ONE']),
subscribe: () => pubsub.asyncIterableIterator(['ADD_ONE']),
},
terminatesSuccessfully: {
subscribe: () => ({
Expand Down

0 comments on commit a830562

Please sign in to comment.