Skip to content

0.7.0

Compare
Choose a tag to compare
@slavarazum slavarazum released this 09 Jun 15:09
· 89 commits to main since this release
f9d9cb0

🎛️ Take a full control.

Migrated from the legacy EventSource to state-of-the-art @microsoft/fetch-event-source based on fetch 💪.

What's new

  • Support for Custom Authentication Headers: As of Echo 1.14.0, you can personalize your auth headers. Thanks to @ezequidias for the inspiration in #20

  • Debug Mode: Idea from qruto/laravel-wave-client#14

  • retry Field Support: We've added support for the retry field for setup reconnection time after connection close.

  • Intelligent Connection Management with pauseInactive: This feature taps into the Page Visibility API to close connections when the document is hidden (like when a user minimizes the window), and auto-retries with the last event ID when it becomes visible again. This optimizes your server load.

  • Custom CSRF Token Support: Craft your CSRF tokens as you see fit.

  • Full Customizability for Request Options: You now have the power to tailor any Request option to your needs.

Check out all Available Options → ⚙️

Fixed

  • Enhanced Error Handling: Our .error(...) callbacks are now fully operational.
  • Persistent Leave Presence Channel Request: With the new keepalive option, your leave presence channel requests will be sent even if a user closes their browser.