web_socket_client
A simple WebSocket client for Dart which includes automatic reconnection logic.
0.2.1
33K downloads/mo
#1797 most downloaded on pub.dev
felangel/web_socket_client
What this package is like to depend on
Last release 1 years ago
22 May 2025
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 8 of 8 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
11 releases · first in 2022
0 releases in the last 12 months
see the full history below
Release timeline
11 releases · Dec 2022 to May 2025Releases
latest 11-
0.2.122 May 2025Release notes
Open source →- fix: infinite backoff loop by permanently disconnecting and closing the connection if
timeoutduration is exceeded.
- fix: infinite backoff loop by permanently disconnecting and closing the connection if
-
0.2.022 Mar 2025Release notes
Open source →What's Changed
- fix: replace
dart.library.htmlwithdart.library.js_interopfor wasm compatibility by @sabin26 in #64 - refactor!: upgrade analysis options and make connection state sealed by @felangel in #72
- fix: cancel subscription on
closeorreconnectby @felangel in #73 - feat: add
protocolgetter toWebSocketby @Gold872 in #67 - chore: v0.2.0 by @felangel in #74
New Contributors
Full Changelog: v0.1.5...v0.2.0
Release notes
Open source →- BREAKING refactor: make
ConnectionStateasealedclass - feat: add wasm compatibility
- feat: add
protocolgetter toWebSocket - fix: cancel subscription on
closeorreconnect - fix:
invalid_runtime_check_with_js_interop_types- bump minimum Dart SDK version to 3.4.0
- fix: only attempt reconnect on
Exceptionsto avoid infinite retry-loop - refactor: upgrade
analysis_options
- fix: replace
-
0.1.525 Sep 2024Release notes
Open source →What's Changed
- chore: add
fundingtopubspec.yamlby @felangel in #59 - chore(deps): bump web from 0.5.1 to 1.0.0 by @dependabot in #60
- chore(deps): bump very_good_analysis from 5.1.0 to 6.0.0 by @dependabot in #57
Full Changelog: v0.1.4...v0.1.5
Release notes
Open source →- chore(deps): upgrade to
pkg:very_good_analysis ^6.0.0 - chore(deps): support for
pkg:web: ^1.0.0 - chore: add
fundingtopubspec.yaml
- chore: add
-
0.1.412 Jun 2024 -
0.1.312 Jun 2024Release notes
Open source →What's Changed
- chore(deps): bump web_socket_channel from 2.4.5 to 3.0.0 by @dependabot in #51
- chore: v0.1.3 by @felangel in #53
Full Changelog: v0.1.2...v0.1.3
-
0.1.227 Apr 2024Release notes
Open source →What's Changed
- chore(deps):
pkg:webandpkg:web_socket_channelby @MaximilianFlechtner in #44 - chore: v0.1.2 by @felangel in #49
New Contributors
- @MaximilianFlechtner made their first contribution in #44
Full Changelog: v0.1.1...v0.1.2
- chore(deps):
-
0.1.118 Jan 2024Release notes
Open source →What's Changed
- fix: migrate to
package:webby @mytja in #33 - feat: add
headerstoconnectby @lwj1994 in #34 - chore: v0.1.1 by @felangel in #36
New Contributors
Full Changelog: v0.1.0...v0.1.1
- fix: migrate to
-
0.1.011 Aug 2023Release notes
Open source →What's Changed
- test: add missing test by @felangel in #26
- chore(deps): bump mocktail from 0.3.0 to 1.0.0 by @dependabot in #23
- docs: update snippet typo in README.md by @postflow in #21
- fix: cannot add new events after calling close by @felangel in #27
New Contributors
- @dependabot made their first contribution in #23
- @postflow made their first contribution in #21
Full Changelog: v0.1.0-dev.3...v0.1.0
Release notes
Open source →- fix: cannot add new events after calling close
- docs: update snippet typo in
README.md - docs: add topics to
pubspec.yaml - deps: upgrade to
mocktail: ^1.0.0andvery_good_analysis: ^5.0.0
-
0.1.0-dev.307 Mar 2023 pre-releaseRelease notes
Open source → -
0.1.0-dev.209 Feb 2023 pre-releaseRelease notes
Open source →What's Changed
- docs: fix typo in README by @erjanmx in #8
- refactor: upgrade to Dart 2.19 by @felangel in #13
- chore: v0.1.0-dev.2 by @felangel in #14
New Contributors
Full Changelog: v0.1.0-dev.1...v0.1.0-dev.2
Release notes
Open source →- refactor: upgrade to Dart 2.19
- chore(deps): upgrade to Very Good Analysis 4.0.0
-
0.1.0-dev.114 Dec 2022 pre-release