dart_pusher_channels 0.3.1+1
dart_pusher_channels: ^0.3.1+1 copied to clipboard
Dart implementation of client of Pusher Channels protocol, instrument to work with real-time applications.
0.3.1+1 #
Updated kDartPusherChannelsLibraryVersion
constant metadata to 0.3.1
0.3.1 #
Added shouldSupplyQueryMetaData
to PusherChannelsOptions
. It will regulate whether to include or omit the metadata such as client
, version
, protocol
.
0.3.0 #
BREAKING CHANGE
: PusherChannelOptions
was deprecated and renamed to PusherChannelsOptions
for conveniency.
0.2.9 #
Returning '/
' in path
getter of PusherChannelOptions
if both key
and path
parameters are provided as null
.
0.2.8+1 #
Updated README.md
0.2.8 #
Minimal changes:
key
parameter ofPusherChannelOptions
is nullable now.- Added a feature to set custom endpoint path to
PusherChannelOptions
withpath
parameter. - Made
version
parameter ofPusherChannelOptions
equals tokDartPusherChannelsLibraryVersion
. - Updated the inline documentation.
- Updated
README.md
. - Update the example file.
0.2.7 #
Bug fixes:
- Fixed bug when connection status was set to
ConnectionStatus.connceted
each time the pusher error event occured. (Even if connection status was set toConnectionStatus.established
before). - Fixed bug on double connections triggered by concurrent attempts to reconnect.
Internal changes:
- Using
disconnectSafely
instead ofdisconnect
on disposing the delegate.
0.2.6+1 #
- Fixed markdown of
README
0.2.6 #
- Updated inline documentation of the package
- Change:
connect
anddisconnect
methods ofConnectionDelegate
are@protected
. UseconnectSafely
anddisconnectSafely
respectively from the outside.
0.2.5 #
Merging pull requests #6, #8, #10, #12. Thanks to Nicolas Britos for contributions.
- Added an additional member
pingWaitPongDuration
to theConnectionDelegate
and the parameter with the same name to the constructorPusherChannelsClient.websocket
. It will regulate timeout ofping
waiting forpong
(checking if connection is alive). - Fixed multiple connections occuring after
disconnect
commited by multiplereconnect
calls. - Distincting manual disconnections of
ConnectionDelegate
(disconnectSafely
) from automated ones. - Fixed: multiple socket connections while calling
connect
multiple times are prevented. - Change: now
reconnect
's type isFuture<void>
. (Previously wasvoid
).
0.2.3+1 #
Featuring contributors in README
0.2.3 #
Merging pull request #5, many thanks to Nicolas Britos
- Add custom logger handler to use a custom Logger instead of printing to console.
- Hide PusherChannelsPackageLogger from public API.
- Fix logger tests not capturing what was being printed to console.
- Remove logTest method as it is not needed anymore.
0.2.2 #
Added PusherChannelsPackageConfigs
which enables and disables log prints.
0.2.1 #
Added following additional controls to PusherChannelsClient
- Method
disconnect()
- Method
reconnect()
0.2.0+1 #
- Updated README.md
- Improved annotations
0.2.0 #
- Tested on Windows succesfully and updated meta data
0.1.1 #
- Fixed reconnection tries on disposal
0.1.0+1 #
- Updated the description of pubspec.yaml
0.1.0 #
- Fixed issue of non-cancallable timer. Added logging with
print
by default. Will be optional in next minor version.
0.0.9+1 #
- Making
refresh
callback ofonConnectionErrorHandler
constructor ofPusherChannelsClient.websocket
non-nullable
0.0.9 #
- Implemented
unsubscribe
method for private channels.
0.0.8 #
- Updated README.
0.0.7 #
- Using more canonical names of classes and interfaces.
0.0.6 #
- Updated README and example.
0.0.5 #
- Updated documentation.
0.0.3 #
- Initial version.