partyserver@0.4.1
·
53 commits
to main
since this release
Patch Changes
-
#365
3fba690Thanks @threepointone! - Use RPC instead of HTTP headers to pass room name and props to Durable Objects, preventing sensitive information from appearing in logs.getServerByNamenow callsstub.setName()via RPC instead of sending a dummy fetch request with headers.routePartykitRequestuses a new internal_initAndFetchRPC method for HTTP requests (single round trip), andsetName+fetchfor WebSocket upgrades.setNameaccepts an optionalpropsparameter and short-circuits when the name is already set.- Removed the
/cdn-cgi/partyserver/set-name/internal endpoint (no longer needed).