You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: juniper_actix/CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,11 @@ All user visible changes to `juniper_actix` crate will be documented in this fil
12
12
13
13
- Switched to 0.4 version of [`actix-ws` crate]. ([#1366])
14
14
- Bumped up [MSRV] to 1.88 due to [`actix-ws` crate] requirements. ([#1366])
15
+
-`subscriptions::*` functions now require `Clone` bound on the context type for ability to have a "fresh" context value each time a new [GraphQL] operation is started in a [WebSocket] connection. ([#1369])
16
+
> **COMPATIBILITY**: Previously, it was `Arc`ed inside, sharing the same context value across all [GraphQL] operations of a [WebSocket] connection. To preserve the previous behavior, the `Schema::Context` type should be either wrapped into `Arc` or made `Arc`-based internally.
15
17
16
18
[#1366]: /../../pull/1366
19
+
[#1369]: /../../pull/1369
17
20
18
21
19
22
@@ -87,5 +90,7 @@ See [old CHANGELOG](/../../blob/juniper_actix-v0.4.0/juniper_actix/CHANGELOG.md)
Copy file name to clipboardExpand all lines: juniper_axum/CHANGELOG.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,18 @@ All user visible changes to `juniper_axum` crate will be documented in this file
6
6
7
7
8
8
9
+
## master
10
+
11
+
### BC Breaks
12
+
13
+
-`subscriptions::*` functions now require `Clone` bound on the context type for ability to have a "fresh" context value each time a new [GraphQL] operation is started in a [WebSocket] connection. ([#1369])
14
+
> **COMPATIBILITY**: Previously, it was `Arc`ed inside, sharing the same context value across all [GraphQL] operations of a [WebSocket] connection. To preserve the previous behavior, the `Schema::Context` type should be either wrapped into `Arc` or made `Arc`-based internally.
Copy file name to clipboardExpand all lines: juniper_graphql_ws/CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,17 @@ All user visible changes to `juniper_graphql_ws` crate will be documented in thi
8
8
9
9
## master
10
10
11
+
### BC Breaks
12
+
13
+
-`Schema::Context` now requires `Clone` bound for ability to have a "fresh" context value each time a new [GraphQL] operation is started in a [WebSocket] connection. ([#1369])
14
+
> **COMPATIBILITY**: Previously, it was `Arc`ed inside, sharing the same context value across all [GraphQL] operations of a [WebSocket] connection. To preserve the previous behavior, the `Schema::Context` type should be either wrapped into `Arc` or made `Arc`-based internally.
15
+
11
16
### Fixed
12
17
13
18
- Inability to re-subscribe with the same operation `id` after subscription was completed by server. ([#1368])
14
19
15
20
[#1368]: /../../pull/1368
21
+
[#1369]: /../../pull/1369
16
22
17
23
18
24
@@ -70,5 +76,7 @@ See [old CHANGELOG](/../../blob/juniper_graphql_ws-v0.3.0/juniper_graphql_ws/CHA
Copy file name to clipboardExpand all lines: juniper_warp/CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,18 @@ All user visible changes to `juniper_warp` crate will be documented in this file
6
6
7
7
8
8
9
+
## master
10
+
11
+
### BC Breaks
12
+
13
+
-`subscriptions::*` functions now require `Clone` bound on the context type for ability to have a "fresh" context value each time a new [GraphQL] operation is started in a [WebSocket] connection. ([#1369])
14
+
> **COMPATIBILITY**: Previously, it was `Arc`ed inside, sharing the same context value across all [GraphQL] operations of a [WebSocket] connection. To preserve the previous behavior, the `Schema::Context` type should be either wrapped into `Arc` or made `Arc`-based internally.
0 commit comments