reactive-pusher-client
Reactive icon

Reactive Pusher Client

Stable version 8.5.0 (Compatible with OutSystems 11)
Uploaded
 on 17 Jun (10 days ago)
 by 
4.7
 (3 ratings)
reactive-pusher-client

Reactive Pusher Client

Compatible with:
Created on OutSystems 11

Version 8.5.0

Stable
Current
See documentation
Uploaded on 17 Jun (10 days ago) by 
Compatible with:
Version 11
11.9.2 or higher
11.7.6 to 11.9.0
11.0.528 to 11.0.615
Database:
All
Release notes:

Upgrade to Pusher JS 8.5.0 - Beta release

This release upgrades the bundled Pusher client from 7.0.6 to 8.5.0, adds support for Pusher's v8 features (subscription counts, user authentication, watchlist, cluster switching), and hardens the wrapper against common runtime errors.

⚠️ Breaking changes — read before upgrading

  • cluster is now mandatory and must be a valid Pusher cluster id (e.g. mt1, us2, us3, eu, ap1–ap4, sa1). Values like us-east-1 are AWS regions, not Pusher clusters, and will fail. Set it in your Pusher_Options. Default is now mt1.
  • Channel/user auth options renamed. Use channelAuthorization: { endpoint, transport } for private/presence channels and userAuthentication: { endpoint, transport } for sign-in. The old flat auth / authEndpoint / authTransport options are deprecated.
  • OnMessageReceived argument order is now consistent across all binding paths: (data, event, channel). Previously, messages from channels subscribed at init delivered channel/event in swapped positions — if you compensated for that, remove the workaround.
  • Message payloads are always delivered as text (JSON). All event-binding paths now serialize object payloads to a JSON string, so your OnMessageReceived handler can consistently JSONDeserialize. 


New client actions

  • Subscription Count: EnableSubscriptionCount, DisableSubscriptionCount, GetSubscriptionCount + OnSubscriptionCount event
  • User: Signin, BindUser, BindUserGlobal, UnbindUser, UnbindUserGlobal + OnUserEvent event
  • Watchlist: EnableWatchlist, DisableWatchlist + OnWatchlistEvent event
  • Connection: SwitchCluster — change cluster/app without losing subscriptions


Reliability fixes

  • No longer crashes when a channel entry is missing a name or when acting on a channel before subscribing — these now log and no-op instead.
  • Initialization is idempotent: re-rendering the block (OnParametersChanged) no longer double-subscribes or duplicates event handlers.
  • A throwing client-action handler can no longer break the Pusher connection.
  • Added Destroy cleanup that disconnects, unbinds, and releases the instance.


Notes

  • The three new callback events (OnSubscriptionCount, OnUserEvent, OnWatchlistEvent) are optional — existing screens upgrade without wiring them.
  • User authentication and watchlist require server-side endpoints and the corresponding features enabled on your Pusher app.
Application Objects:
Reactive Pusher Client has 0 AOs.

Version 2.0.5

Stable
Uploaded on 03 March 2022 by 
Compatible with:
Version 11
11.9.2 or higher
11.7.6 to 11.9.0
11.0.528 to 11.0.615
Database:
All
Release notes:
  • Upgraded library to version 7.0.6
Application Objects:
Reactive Pusher Client has 0 AOs.

Version 2.0.4

Stable
Uploaded on 12 October 2021 by 
Compatible with:
Version 11
11.9.2 or higher
11.7.6 to 11.9.0
11.0.528 to 11.0.615
Database:
All
Release notes:
  • Small improvements.
Application Objects:
Reactive Pusher Client has 0 AOs.