Skip to content

v0.2.0

Choose a tag to compare

@luisdalmolin luisdalmolin released this 16 Jul 12:51

Changes

  • Accept Laravel broadcast event objects in RealtimeSession::emit().
  • Derive channels, visibility, event names, and payloads from broadcastOn(), broadcastAs(), and broadcastWith().
  • Emit event objects across public, private, and presence channels.
  • Keep low-level synthetic emission with the new event-first order: emit(event, channel, payload, visibility).

Upgrade note

The low-level emit() argument order changed from channel-first to event-first. Update positional calls when upgrading from v0.1.0.