PackageTrack
Sign in Get early access

universal_io

Cross-platform 'dart:io' that adds browser support for HttpClient and some other "dart:io" APIs.

2.3.1 2.8M downloads/mo #227 most downloaded on pub.dev dart-io-packages/universal_io

What this package is like to depend on

Last release 9 months ago

16 Nov 2025

Ships unpredictably

gaps range from 8 days to 2.5 years

Most releases are documented

notes for 29 of 36 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

39 releases · first in 2018

3 releases in the last 12 months

see the full history below

Release timeline

39 releases · Dec 2018 to Nov 2025
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 39
  1. 2.3.1 16 Nov 2025
    Release notes

    Merge pull request #53 from dint-dev/fix/ci

    Improve CI pipeline

    Open source →
    Release notes
    • Improves documentation.
    Open source →
  2. 2.3.0 16 Nov 2025
    Release notes
    • Makes BrowserHttpClient WASM compatible by making it use "dart:js_interop" rather than "dart:html".
    • Fixes various bugs.
    • Adds Platform.lineTerminator.
    • Lowers minimum SDK constraint to 3.6.
    Open source →
  3. 2.2.3 15 Nov 2025
    Release notes
    • Fixes a bug in new Dart SDK versions.
    Open source →
  4. 2.2.2 01 Jun 2023
    Release notes
    • Improve dependency constraints.
    Open source →
  5. 2.2.1 15 May 2023
    Release notes
    • Fixes pubspec.yaml for Dart 3.x.
    Open source →
  6. 2.2.0 17 Feb 2023
    Release notes
    • Refactoring, better documentation, and some additional APIs in BrowserHttpClient.
    Open source →
  7. 2.1.0 16 Feb 2023
    Release notes
    • Removes lots of unnecessary stuff.
      • This has some breaking changes, but it's unlikely that anyone is using the removed stuff. The package continues to follow the Dart SDK "dart:io" API.
    Open source →
  8. 2.0.5 16 Feb 2023
    Release notes
    • Fixes various small issues.
    Open source →
  9. 2.0.4 02 Apr 2021
    Release notes
    • Fixes Platform.operatingSystemVersion (issue #9).
    Open source →
  10. 2.0.3 26 Mar 2021
    Release notes
    • Fixes various issues.
    Open source →
  11. 2.0.2 25 Mar 2021
    Release notes
    • Fixes issue #17.
    Open source →
  12. 2.0.1 15 Mar 2021
    Release notes
    • Fixes issues in Node.JS.
    Open source →
  13. 2.0.0 04 Mar 2021
    Release notes
    • Finishes migration to null safety.
    Open source →
  14. 2.0.0-nullsafety.2 11 Jan 2021 pre-release
    Release notes
    • Eliminated unnecessary dependencies.
    Open source →
  15. 2.0.0-nullsafety.1 11 Jan 2021 pre-release
    Release notes
    • Improves documentation.
      • Improves BrowserHttpClientException messages.
      • Deprecates libraries prefer_sdk/io.dart and prefer_universal/io.dart. Developers should import just io.dart.
    Open source →
  16. 2.0.0-nullsafety.0 11 Jan 2021 pre-release
    Release notes
    • The first null-safe version.
      • Makes changes in BrowserHttpClient / BrowserHttpClientRequest API:
        • The property for enabling credentials mode is now browserCredentialsMode. The default is false.
        • The property for setting response type is now browserResponseType ("arraybuffer", "text", etc.). By default, if HTTP request header "Accept" contains only text MIMEs ("text/plain", etc.), this package uses responseType "text".
        • HTTP client now has onBrowserHttpClientRequestClose for using your own logic for setting browserResponseType.
      • Removes IO adapter API.
    Open source →
  17. 1.0.2 02 Jan 2021
    Release notes
    • Fixes issue #11 (InternetAddress parameter).
      • Fixes issue #12 (CORS credentials mode). Eliminates legacy, complicated behavior. Developers should choose either omit or include. Improves error messages and documentation related to it.
      • Replaces MD5/SHA1 implementations used by some of the source code copied from dart:io. It now uses package:crypto instead of implementations copied from dart:io.
    Open source →
  18. 1.0.1 24 Feb 2020

    Nothing published for this version

  19. 1.0.0 17 Feb 2020
    Release notes
    • Implements recent changes in 'dart:io' (Dart SDK 2.8).
      • HttpDriver is replaced by 'dart:io' HttpOverrides.
      • FileSystemDriver is replaced by 'dart:io' IOOverrides.
      • Various other driver APIs are renamed or removed.
      • BrowserLikeHttpClientRequest is now BrowserHttpClientRequest.
      • BrowserHttpClientRequest implementation is improved.
    Open source →
  20. 0.8.6 08 Jan 2020
    Release notes
    • Fixed documentation and small fixes related to nodejs_io.
    Open source →
  21. 0.8.5 18 Dec 2019
    Release notes
    • Raised minimum SDK to 2.6 and upgraded dependencies.
      • Changed how CORS credentials mode is enabled. It was previously enabled with a header, but now we introduced subclasses for HttpClient and HttpClientRequest. This is a breaking change, but we decided not to bump the major version number.
      • Improved analysis and test settings.
    Open source →
  22. 0.8.4 09 Sep 2019
    Release notes
    • Added 'prefer_sdk/io.dart' and 'prefer_universal/io.dart' libraries for dealing with conditional export issues.
      • Library 'package:universal_io/io.dart' now exports SDK version by default.
    Open source →
  23. 0.8.3 08 Sep 2019
    Release notes
    • Replaced IP address parsing with the new Uri.parseIPv4Address / Uri.parseIPv6Address.
      • Fixed missing HTTP status codes.
    Open source →
  24. 0.8.2 07 Sep 2019
    Release notes
    • Fixed problems introduced by Dart SDK 2.5.0-dev-2.0.
    Open source →
  25. 0.8.1 24 Jul 2019
    Release notes
    • Fixed pubspec.yaml and documented Dart SDK 2.5 breaking changes.
    Open source →
  26. 0.8.0 24 Jul 2019
    Release notes
    • Updated classes to Dart 2.5. See Dart SDK documentation about the changes.
      • Various APIs now return Uint8List instead of List<int>. Examples: File, Socket, HttpClientResponse.
      • Various other breaking changes such as Cookie constructor.
    Open source →
  27. 0.7.3 08 Jul 2019
    Release notes
    • Fixed the following error thrown by the Dart build system in some cases: "Unsupported conditional import of dart:io found in universal_io|lib/io.dart".
    Open source →
  28. 0.7.2 11 Jun 2019
    Release notes
    • Small fixes.
    Open source →
  29. 0.7.1 11 Jun 2019
    Release notes
    • Fixed various bugs.
      • Improved the test suite.
    Open source →
  30. 0.7.0 10 Jun 2019
    Release notes
    • Improved driver base classes and the test suite.
    Open source →
  31. 0.6.0 09 Jun 2019
    Release notes
    • Major refactoring of IODriver API.
    Open source →
  32. 0.5.1 08 Jun 2019
    Release notes
    • Fixed small bugs.
    Open source →
  33. 0.5.0 08 Jun 2019
    Release notes
    • Fixed various bugs.
      • Re-organized source code.
      • Eliminated dependencies by doing IP parsing in this package.
      • Improved the test suite for drivers.
    Open source →
  34. 0.4.0 31 May 2019

    Nothing published for this version

  35. 0.3.0 31 May 2019

    Nothing published for this version

  36. 0.2.0 31 May 2019

    Nothing published for this version

  37. 0.1.1 18 Feb 2019

    Nothing published for this version

  38. 0.1.0 18 Feb 2019

    Nothing published for this version

  39. 0.0.1 04 Dec 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