v0.3.2
Note
🔑 This release includes enhancements to make authentication and session handling easier.
- You can validate the
requestparam in theupgradehook andthrowaResponseas an error to terminate the upgrade (#91) - You can access a shared context from
request.contextin theupgradehook and frompeer.contextin the other hooks to preserve session data (#110, #111 (Note: context can be volatile in some environments likecloudflare-durable)
🩹 Fixes
- types:
peer.requestalways has.headersif defined (e915f8d) - types: Mark
peer.requestas always defined (8fbb59b)
📖 Documentation
🏡 Chore
- examples: Fix typo (#107)
❤️ Contributors
- Pooya Parsa (@pi0)
- Luke Hagar (@LukeHagar)
- 39sho (@39sho)
- Sandro Circi (@sandros94)
- Jamaluddin Rumi (@jamaluddinrumi)