authenticateUser, authorizeChannel and authorizePresenceChannelsendToUser and sendToUserAsyncterminateUserConnections and terminateUserConnectionsAsyncget_object_vars() error on /src/Pusher.phpsocketAuth and presenceAuth in favour of authorizeChannel and authorizePresenceChannelmake_request and make_batch_request that were exposed as publicpresence_auth.get_channel_info, get_channels, socket_auth, presence_auth in favour of camelCased versionsget_users_info in favour of getPresenceUsersensure_valid_signature in favour of verifySignature$app_id parameter of the Pusher() object to string (int was possible).curl_options from optionstrigger methodApiErrorException instead of returning false for non-2xx responsestrigger now accepts a $params associative array instead of a $socket_id as the third parametertrigger and triggerBatch request via an info parameterdebug parameter from methods that make HTTP requests and from the constructor optionsget_... methods revealed by stricter type checking in PHP7.4encryption_master_key_base64encryption_master_keypath configuration option.get_users_info method.socket_id in triggerBatchencrypted option to useTLS - encrypted will still work!cluster option for the Pusher constructor.new Pusher($app_key, $app_secret, $app_id, $options) - The $options parameter
has been added as the forth parameter to the constructor and other additional
parameters are now deprecated.$pusher->trigger can now take an array of channel names as a first parameter to allow the same event to be published on multiple channels.$pusher->get generic function can be used to make GET calls to the REST API$pusher->set_logger to allow internal logging to be exposed and logged in your own logs.$pusher->trigger call is now an associative array in the form array( 'body' => '{String} body text of response', 'status' => '{Number} http status of the response' )get_channels() now returns an object which has a channels property. This must be accessed to get the Array of channels in an application.get_presence_channels() now returns an object which has a channels property. This must be accessed to get the Array of channels in an application.How can I help you explore Laravel packages today?