This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@pluv/client@0.21.0
Minor Changes
b98ab6b: Internal updates to platforms (i.e. @pluv/platform-cloudflare and @pluv/platform-node) to be able to support Cloudflare Worker Websocket Hibernation APIs.
Patch Changes
@pluv/crdt@0.21.0
@pluv/types@0.21.0
@pluv/io@0.21.0
Minor Changes
307bd44: @pluv/platform-cloudflare now supports Cloudflare Worker's WebSocket Hibernation API, and usees it by default.
To switch back to not using the WebSocket Hibernation API, specify a mode of attached.
// With event-listeners directly attached to the websocket on registration (i.e. non-hibernation)
createIO({
platform: platformCloudflare({
mode: "attached",
}),
});
// With event listeners unattached to the websocket during registration (i.e. hibernation)
createIO({
platform: platformCloudflare({
mode: "detached",
}),
});
41b15e4: BREAKING - Updated sessions type in the procedure context from Map<string, WebSocketSession> to readonly WebSocketSession[].
f570c8a: BREAKING: The original request object is no longer available in the context of any event resolvers.
Previously, the request object that was passed into PluvServer.getRoom would be made available on the context object of each of the resolvers. This is no-longer a part of the event context, and therefore needs to be omitted from calls to PluvServer.getRoom.
// Before
// With platform-node
ioServer.getRoom(websocket, { req, token });
// With platform-cloudflare
ioServer.getRoom(websocket, { env, req, token });
// Now
// With platform-node
ioServer.getRoom(websocket, { req });
// With platform-cloudflare
ioServer.getRoom(websocket, { env, req });
b98ab6b: Internal updates to platforms (i.e. @pluv/platform-cloudflare and @pluv/platform-node) to be able to support Cloudflare Worker Websocket Hibernation APIs.
4c2228d: BREAKING: Require DurableObjectState in ioServer.getRoom.
// Before
// With platform-cloudflare
ioServer.getRoom(websocket, { env, req });
// Now
// With platform-cloudflare
ioServer.getRoom(websocket, { env, req, state });
Patch Changes
cc2613e: Moved sessionId from being derived in IORoom to being derived as a getter in AbstractWebsocket.
@pluv/crdt@0.21.0
@pluv/types@0.21.0
@pluv/platform-cloudflare@0.21.0
Minor Changes
307bd44: @pluv/platform-cloudflare now supports Cloudflare Worker's WebSocket Hibernation API, and usees it by default.
To switch back to not using the WebSocket Hibernation API, specify a mode of attached.
// With event-listeners directly attached to the websocket on registration (i.e. non-hibernation)
createIO({
platform: platformCloudflare({
mode: "attached",
}),
});
// With event listeners unattached to the websocket during registration (i.e. hibernation)
createIO({
platform: platformCloudflare({
mode: "detached",
}),
});
41b15e4: BREAKING - Updated sessions type in the procedure context from Map<string, WebSocketSession> to readonly WebSocketSession[].
f570c8a: BREAKING: The original request object is no longer available in the context of any event resolvers.
Previously, the request object that was passed into PluvServer.getRoom would be made available on the context object of each of the resolvers. This is no-longer a part of the event context, and therefore needs to be omitted from calls to PluvServer.getRoom.
// Before
// With platform-node
ioServer.getRoom(websocket, { req, token });
// With platform-cloudflare
ioServer.getRoom(websocket, { env, req, token });
// Now
// With platform-node
ioServer.getRoom(websocket, { req });
// With platform-cloudflare
ioServer.getRoom(websocket, { env, req });
b98ab6b: Internal updates to platforms (i.e. @pluv/platform-cloudflare and @pluv/platform-node) to be able to support Cloudflare Worker Websocket Hibernation APIs.
4c2228d: BREAKING: Require DurableObjectState in ioServer.getRoom.
// Before
// With platform-cloudflare
ioServer.getRoom(websocket, { env, req });
// Now
// With platform-cloudflare
ioServer.getRoom(websocket, { env, req, state });
Patch Changes
cc2613e: Moved sessionId from being derived in IORoom to being derived as a getter in AbstractWebsocket.
Updated dependencies [307bd44]
Updated dependencies [41b15e4]
Updated dependencies [f570c8a]
Updated dependencies [b98ab6b]
Updated dependencies [4c2228d]
Updated dependencies [cc2613e]
@pluv/io@0.21.0
@pluv/types@0.21.0
@pluv/platform-node@0.21.0
Minor Changes
41b15e4: BREAKING - Updated sessions type in the procedure context from Map<string, WebSocketSession> to readonly WebSocketSession[].
f570c8a: BREAKING: The original request object is no longer available in the context of any event resolvers.
Previously, the request object that was passed into PluvServer.getRoom would be made available on the context object of each of the resolvers. This is no-longer a part of the event context, and therefore needs to be omitted from calls to PluvServer.getRoom.
// Before
// With platform-node
ioServer.getRoom(websocket, { req, token });
// With platform-cloudflare
ioServer.getRoom(websocket, { env, req, token });
// Now
// With platform-node
ioServer.getRoom(websocket, { req });
// With platform-cloudflare
ioServer.getRoom(websocket, { env, req });
b98ab6b: Internal updates to platforms (i.e. @pluv/platform-cloudflare and @pluv/platform-node) to be able to support Cloudflare Worker Websocket Hibernation APIs.
Patch Changes
cc2613e: Moved sessionId from being derived in IORoom to being derived as a getter in AbstractWebsocket.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@pluv/client@0.21.0
Minor Changes
@pluv/platform-cloudflare
and@pluv/platform-node
) to be able to support Cloudflare Worker Websocket Hibernation APIs.Patch Changes
@pluv/io@0.21.0
Minor Changes
307bd44:
@pluv/platform-cloudflare
now supports Cloudflare Worker's WebSocket Hibernation API, and usees it by default.To switch back to not using the WebSocket Hibernation API, specify a
mode
ofattached
.41b15e4: BREAKING - Updated
sessions
type in the procedure context fromMap<string, WebSocketSession>
toreadonly WebSocketSession[]
.f570c8a: BREAKING: The original request object is no longer available in the context of any event resolvers.
Previously, the request object that was passed into
PluvServer.getRoom
would be made available on the context object of each of the resolvers. This is no-longer a part of the event context, and therefore needs to be omitted from calls toPluvServer.getRoom
.b98ab6b: Internal updates to platforms (i.e.
@pluv/platform-cloudflare
and@pluv/platform-node
) to be able to support Cloudflare Worker Websocket Hibernation APIs.4c2228d: BREAKING: Require
DurableObjectState
inioServer.getRoom
.Patch Changes
sessionId
from being derived inIORoom
to being derived as a getter inAbstractWebsocket
.@pluv/platform-cloudflare@0.21.0
Minor Changes
307bd44:
@pluv/platform-cloudflare
now supports Cloudflare Worker's WebSocket Hibernation API, and usees it by default.To switch back to not using the WebSocket Hibernation API, specify a
mode
ofattached
.41b15e4: BREAKING - Updated
sessions
type in the procedure context fromMap<string, WebSocketSession>
toreadonly WebSocketSession[]
.f570c8a: BREAKING: The original request object is no longer available in the context of any event resolvers.
Previously, the request object that was passed into
PluvServer.getRoom
would be made available on the context object of each of the resolvers. This is no-longer a part of the event context, and therefore needs to be omitted from calls toPluvServer.getRoom
.b98ab6b: Internal updates to platforms (i.e.
@pluv/platform-cloudflare
and@pluv/platform-node
) to be able to support Cloudflare Worker Websocket Hibernation APIs.4c2228d: BREAKING: Require
DurableObjectState
inioServer.getRoom
.Patch Changes
sessionId
from being derived inIORoom
to being derived as a getter inAbstractWebsocket
.@pluv/platform-node@0.21.0
Minor Changes
41b15e4: BREAKING - Updated
sessions
type in the procedure context fromMap<string, WebSocketSession>
toreadonly WebSocketSession[]
.f570c8a: BREAKING: The original request object is no longer available in the context of any event resolvers.
Previously, the request object that was passed into
PluvServer.getRoom
would be made available on the context object of each of the resolvers. This is no-longer a part of the event context, and therefore needs to be omitted from calls toPluvServer.getRoom
.b98ab6b: Internal updates to platforms (i.e.
@pluv/platform-cloudflare
and@pluv/platform-node
) to be able to support Cloudflare Worker Websocket Hibernation APIs.Patch Changes
sessionId
from being derived inIORoom
to being derived as a getter inAbstractWebsocket
.@pluv/addon-indexeddb@0.21.0
Patch Changes
@pluv/crdt@0.21.0
Patch Changes
@pluv/crdt-loro@0.21.0
Patch Changes
@pluv/crdt-yjs@0.21.0
Patch Changes
@pluv/persistance-redis@0.21.0
Patch Changes
@pluv/pubsub-redis@0.21.0
Patch Changes
@pluv/react@0.21.0
Patch Changes
pluv@0.21.0
eslint-config-pluv@0.21.0
@pluv/tsconfig@0.21.0
@pluv/types@0.21.0