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
-[Manager API expandAll and collapseAll methods](#manager-api-expandall-and-collapseall-methods)
56
+
-[`createChannel` from `@storybook/postmessage` and `@storybook/channel-websocket`](#createchannel-from-storybookpostmessage-and--storybookchannel-websocket)
56
57
-[From version 7.5.0 to 7.6.0](#from-version-750-to-760)
57
58
-[CommonJS with Vite is deprecated](#commonjs-with-vite-is-deprecated)
58
59
-[Using implicit actions during rendering is deprecated](#using-implicit-actions-during-rendering-is-deprecated)
#### `createChannel` from `@storybook/postmessage` and `@storybook/channel-websocket`
882
+
883
+
The `createChannel` APIs from both `@storybook/channel-websocket` and `@storybook/postmessage` are now removed. Please use `createBrowserChannel` instead, from the `@storybook/channels` package.
884
+
885
+
Additionally, the `PostmsgTransport` type is now removed in favor of `PostMessageTransport`.
@@ -243,25 +242,3 @@ export class PostMessageTransport implements ChannelTransport {
243
242
}
244
243
}
245
244
}
246
-
247
-
/**
248
-
* @deprecated This export is deprecated. Use `PostMessageTransport` instead. This API will be removed in 8.0.
249
-
*/
250
-
exportconstPostmsgTransport=PostMessageTransport;
251
-
252
-
/**
253
-
* @deprecated This function is deprecated. Use the `createBrowserChannel` factory function from `@storybook/channels` instead. This API will be removed in 8.0.
254
-
* @param {Config} config - The configuration object.
* @deprecated This function is deprecated. Use the `createBrowserChannel` factory function from `@storybook/channels` instead. This API will be removed in 8.0.
264
-
* @param {Config} config - The configuration object.
@@ -77,30 +70,3 @@ export class WebsocketTransport implements ChannelTransport {
77
70
buffer.forEach((event)=>this.send(event));
78
71
}
79
72
}
80
-
81
-
/**
82
-
* @deprecated This function is deprecated. Use the `createBrowserChannel` factory function from `@storybook/channels` instead. This API will be removed in 8.0.
83
-
* @param {CreateChannelArgs} options - The options for creating the channel.
84
-
* @param {string} [options.url] - The URL of the WebSocket server to connect to.
85
-
* @param {boolean} [options.async=false] - Whether the channel should be asynchronous.
86
-
* @param {OnError} [options.onError] - A function to handle errors that occur during the channel's lifetime.
0 commit comments