PackageTrack
Sign in Get early access

socket_io_client

Dartlang port of socket.io-client for web, flutter, dartvm to use

3.1.6 238K downloads/mo #785 most downloaded on pub.dev rikulo/socket.io-client-dart

What this package is like to depend on

Last release 2 months ago

13 Jun 2026

Release timing varies

gaps range from 8 days to 7 months

Most releases are documented

notes for 31 of 44 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

56 releases · first in 2018

4 releases in the last 12 months

see the full history below

Release timeline

56 releases · Apr 2018 to Jun 2026
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 56
  1. 3.1.6 13 Jun 2026
    Release notes

    3.1.6

    Bug fix:

    • #442 Restore the HttpClientAdapter class and OptionBuilder.setHttpClientAdapter() that were unintentionally removed in 3.1.5 (a SemVer-breaking change in a patch release). They are now deprecated thin compatibility shims that bridge onto the package:web_socket transport via setWebSocketConnector, and will be removed in 4.0.0. Migrate to OptionBuilder.setWebSocketConnector().
    • #441 fix: NoSuchMethodError when the server replies with an empty ack (no payload) while a timeout/ackTimeout is set (e.g. via emitWithAckAsync or socket.timeout(x).emit(...)).
    Open source →
    Release notes

    Bug fix:

    • #442 Restore the HttpClientAdapter class and OptionBuilder.setHttpClientAdapter() that were unintentionally removed in 3.1.5 (a SemVer-breaking change in a patch release). They are now deprecated thin compatibility shims that bridge onto the package:web_socket transport via setWebSocketConnector, and will be removed in 4.0.0. Migrate to OptionBuilder.setWebSocketConnector().
    • #441 fix: NoSuchMethodError when the server replies with an empty ack (no payload) while a timeout/ackTimeout is set (e.g. via emitWithAckAsync or socket.timeout(x).emit(...)).
    Open source →
  2. 3.1.5 07 Jun 2026
    Release notes

    3.1.5

    New Feature:

    • #435 feat!: unify the WebSocket transport with package:web_socket for a single native/web implementation. Custom implementations can be supplied through setWebSocketConnector (e.g. CupertinoWebSocket/OkHttpWebSocket); setExtraHeaders continues to work out of the box on native (dart:io) platforms via the default connector (browsers still cannot send custom headers on the WebSocket handshake).
    • #437 Added OptionBuilder.disableWithCredentials() to mirror enableWithCredentials().

    Bug fix:

    • #439 fix: _drainQueue crashes with Bad state: No element when an event is emitted with no arguments while retries is set.
    • #438 fix: dispose() now clears _anyListeners and _anyOutgoingListeners.
    • #437 fix: parseqs.decode() crash on key-only query params (e.g. a=1&flag&c=3).
    Open source →
    Release notes

    New Feature:

    • #435 feat!: unify the WebSocket transport with package:web_socket for a single native/web implementation. Custom implementations can be supplied through setWebSocketConnector (e.g. CupertinoWebSocket/OkHttpWebSocket); setExtraHeaders continues to work out of the box on native (dart:io) platforms via the default connector (browsers still cannot send custom headers on the WebSocket handshake).
    • #437 Added OptionBuilder.disableWithCredentials() to mirror enableWithCredentials().

    Bug fix:

    • #439 fix: _drainQueue crashes with Bad state: No element when an event is emitted with no arguments while retries is set.
    • #438 fix: dispose() now clears _anyListeners and _anyOutgoingListeners.
    • #437 fix: parseqs.decode() crash on key-only query params (e.g. a=1&flag&c=3).
    Open source →
  3. 3.1.4 16 Jan 2026
    Release notes

    3.1.4

    Bug fix:

    • #432 Fix: #331 Emit Connect_error for Middleware Reject
    • #434 fix: Port incorrectly set to 0 for hostnames with multiple subdomains
    Open source →
    Release notes

    Bug fix:

    • #432 Fix: #331 Emit Connect_error for Middleware Reject
    • #434 fix: Port incorrectly set to 0 for hostnames with multiple subdomains
    Open source →
  4. 3.1.3 28 Nov 2025
    Release notes

    3.1.3

    New Feature:

    • #427 Added withCredentials as an option
    Open source →
    Release notes

    New Feature:

    • #427 Added withCredentials as an option
    Open source →
  5. 3.1.2 29 Apr 2025
    Release notes

    3.1.2

    Bug fix:

    • #379 Dynamic call with too many positional arguments. Expected: 2 Actual: 3
    Open source →
    Release notes

    Bug fix:

    • #379 Dynamic call with too many positional arguments. Expected: 2 Actual: 3
    Open source →
  6. 3.1.1 28 Mar 2025
    Release notes

    3.1.1

    New Feature:

    • #416 Add Support for Custom HttpClient Configuration

    Full Changelog: v3.1.0+2...v3.1.1

    Open source →
    Release notes

    New Feature:

    • #416 Add Support for Custom HttpClient Configuration
    Open source →
  7. 3.1.0 27 Mar 2025
    Release notes

    3.1.0

    Bug fix:

    • #392 [Flutter WASM] No transports available
    • #404 Flutter web socket connection problem on wasm

    What's Changed

    New Contributors

    Full Changelog: v3.0.2...v3.1.0

    Open source →
    Release notes

    Bug fix:

    • #392 [Flutter WASM] No transports available
    • #404 Flutter web socket connection problem on wasm
    Open source →
  8. 3.1.0+1 27 Mar 2025
    Release notes Open source →
    Release notes Open source →
  9. 3.1.0+2 27 Mar 2025
    Release notes Open source →
    Release notes Open source →
  10. 3.0.2 15 Nov 2024
    Release notes

    3.0.2

    Bug fix:

    • #399 [Issue] Fixes timestamp param
    Open source →
    Release notes

    Bug fix:

    • #399 [Issue] Fixes timestamp param
    Open source →
  11. 3.0.1 04 Nov 2024
    Release notes

    Bug fix:

    • #398 [Issue] Unhandled Exception: type 'String' is not a subtype of type 'Iterable<dynamic>' on Server Acknowledgement
    Open source →
  12. 3.0.0 02 Oct 2024
    Release notes

    Bug fix:

    • Upgrade to use socket_io_common 3.0.0
    Open source →
  13. 3.0.0-beta.4 25 Sep 2024 pre-release
    Release notes

    Bug fix:

    • #394 Incorrect argument matching in notifyOutgoingListeners
    Open source →
  14. 3.0.0-beta.3 19 Sep 2024 pre-release
    Release notes

    Bug fix:

    • #393 Bug: type 'Null' is not a subtype of type 'bool'
    Open source →
  15. 3.0.0-beta.2 15 Mar 2024 pre-release
    Release notes

    Bug fix:

    • #373 hot restart error - Unhandled Exception: type 'Null' is not a subtype of type 'bool'
    Open source →
  16. 3.0.0-beta.1 27 Feb 2024 pre-release
    Release notes

    Bug fix:

    • #367 Error on dispose
    Open source →
  17. 3.0.0-beta.0 18 Feb 2024 pre-release
    Release notes

    New Feature:

    • Update codebase for compatibility with Socket.IO v4.7.4 and migrate to Dart version 3
    • #55 how to custom parser
    • #322 added emitWithAckAsync
    • #334 Socket.on... returns disposer function
    • #343 Empty query map in OptionsBuilder throws RangeError
    • #353 Add timeout on emit and emitWithAck

    Bug fix:

    • #360 Library is not compatible with latest version on socket.io 4.7.4
    Open source →
  18. 2.0.3 31 Jul 2023
    Release notes

    New Feature:

    • #338 feat: implement connection state recovery
    Open source →
  19. 2.0.3+1 01 Aug 2023
    Release notes

    Fix dart analyzing issues

    Open source →
  20. 2.0.2 24 Apr 2023
    Release notes

    Bug fix:

    • #330 Client throws error when buffer is received
    Open source →
  21. 2.0.1 09 Jan 2023
    Release notes

    New Feature:

    • #310 Add setAuthFn for OptionBuilder

    Bug fix:

    • #287 reconnecting event is not triggered
    Open source →
  22. 2.0.0 13 Jul 2022
    Release notes

    New Feature:

    • #237 Allow sending an ack with multiple data items (making it consistent with emit)
    Open source →
  23. 2.0.0-beta.4-nullsafety.0 28 Apr 2021 pre-release
    Release notes

    New Feature:

    • #177 Send credentials with the auth option

    Bug fix:

    • #172 socket id's not synced
    Open source →
  24. 2.0.0-beta.3-nullsafety.0 10 Mar 2021 pre-release
    Release notes

    New Feature:

    • #163 Null safety support for 2.0.0-beta
    Open source →
  25. 2.0.0-beta.3 22 Feb 2021 pre-release
    Release notes

    Bug fix:

    • #150 Problem with setQuery in socket io version 3.0
    Open source →
  26. 2.0.0-beta.2 07 Jan 2021 pre-release
    Release notes

    Bug fix:

    • #140 getting Error on emitWithAck() in v2 beta
    Open source →
  27. 2.0.0-beta.1 21 Dec 2020 pre-release
    Release notes

    New Feature:

    • #130 Cannot connect to socket.io V3
    • #106 Can we combine emitWithBinary to emit?
    Open source →
  28. 2.0.0-beta 21 Dec 2020 pre-release

    Nothing published for this version

  29. 1.0.2 19 Nov 2021
    Release notes

    New Feature:

    • #237 Allow sending an ack with multiple data items (making it consistent with emit)
    Open source →
  30. 1.0.1 07 May 2021
    Release notes

    Bug fix:

    • #188 Fixbug for Backoff when many attempts: "UnsupportedError: Unsupported operation: Infinity or NaN toInt"
    Open source →
  31. 1.0.0 28 Apr 2021
    Release notes
    • #172 socket id's not synced
    Open source →
  32. 1.0.0-nullsafety.0 01 Dec 2020 pre-release

    Nothing published for this version

  33. 0.9.12 27 Nov 2020
    Release notes

    New Feature:

    • #46 Make this library more "Darty"
    Open source →
  34. 0.9.11 31 Jul 2020
    Release notes

    New Feature:

    • #108 Need dispose method for clearing resources
    Open source →
  35. 0.9.10 05 May 2020
    Release notes

    Bug fix:

    • #72 Can't send Iterable as one packet
    Open source →
  36. 0.9.10+1 31 Jul 2020
    Release notes
    • Fix dart analyzer warning.
    Open source →
  37. 0.9.10+2 31 Jul 2020
    Release notes
    • Fix dart analyzer warning for formatting issues.
    Open source →
  38. 0.9.9 12 Mar 2020
    Release notes

    Bug fix:

    • #67 Retry connection backoff after 54 tries reconnections every 0 second
    Open source →
  39. 0.9.8 19 Feb 2020
    Release notes

    Bug fix:

    • #33 socket.on('receiveMessage',(data)=>print("data")) called twice
    Open source →
  40. 0.9.7 20 Nov 2019

    Nothing published for this version

  41. 0.9.7+1 20 Nov 2019
    Release notes

    New Feature:

    • #38 Improve pub.dev score
    Open source →
  42. 0.9.7+2 27 Dec 2019
    Release notes

    New Feature:

    • #48 add links to github repo in pubspec.yaml
    Open source →
  43. 0.9.6 20 Nov 2019

    Nothing published for this version

  44. 0.9.6+1 20 Nov 2019

    Nothing published for this version

  45. 0.9.6+2 20 Nov 2019

    Nothing published for this version

  46. 0.9.6+3 20 Nov 2019
    Release notes

    Bug fix:

    • #42 Error when using emitWithAck
    Open source →
  47. 0.9.5 01 Nov 2019
    Release notes

    New Feature:

    • #34 Add support for extraHeaders

    Bug fix:

    • #39 The factor of Backoff with 54 retries causes an overflow
    Open source →
  48. 0.9.4 31 May 2019

    Nothing published for this version

  49. 0.9.3 20 May 2019

    Nothing published for this version

  50. 0.9.2 15 May 2019

    Nothing published for this version

  51. 0.9.1 21 Jan 2019

    Nothing published for this version

  52. 0.9.0 20 Nov 2018

    Nothing published for this version

  53. 0.9.0+1 20 Nov 2018

    Nothing published for this version

  54. 0.8.2 04 Jun 2018

    Nothing published for this version

  55. 0.8.1 25 May 2018

    Nothing published for this version

  56. 0.8.0 09 Apr 2018

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive