PackageTrack
Sign in Get early access

universal_html

A 'dart:html' that works in all platforms, including Flutter and server-side. Eases cross-platform development and HTML / XML processing.

2.3.0 564K downloads/mo #483 most downloaded on pub.dev dint-dev/universal_html

What this package is like to depend on

Last release 9 months ago

16 Nov 2025

Ships unpredictably

gaps range from 1 weeks to 2.2 years

Nearly every release is documented

notes for 59 of 62 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

62 releases · first in 2019

3 releases in the last 12 months

see the full history below

Release timeline

62 releases · Jan 2019 to Nov 2025
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 62
  1. 2.3.0 16 Nov 2025
    Release notes
    • Fixes various bugs and various DOM APIs.
    Open source →
  2. 2.2.7 16 Nov 2025
    Release notes
    • Improves documentation and tests.
    Open source →
  3. 2.2.5 16 Nov 2025
    Release notes
    • Updates the library for new Dart SDK and fixes most analyzer warnings.
    Open source →
  4. 2.2.4 10 Sep 2023
    Release notes
    • Fixes a number of bug.
    • Adds support for csslib 1.0.0.
    Open source →
  5. 2.2.3 01 Jun 2023
    Release notes
    • Fixes dependency constraint issues.
    Open source →
  6. 2.2.2 15 May 2023
    Release notes Open source →
  7. 2.2.1 13 Mar 2023
    Release notes
    • Fixes small bugs.
    Open source →
  8. 2.2.0 13 Mar 2023
    Release notes
    • Allows users to access HTTP request/response when using WindowController.openHttp.
    Open source →
  9. 2.1.0 13 Mar 2023
    Release notes
    • Makes WindowController more testing-friendly.
    • Adds EventSourceOutsideBrowser interface for changing EventSource HTTP headers (issue #63).
    • Adds WindowController.defaultHttpClient, which will be used as default HTTP client by EventSource and other APIs. It's safe because it does not affect cookies, headers, or anything else dangerous.
    Open source →
  10. 2.0.9 17 Feb 2023
    Release notes
    • Fixes various issues.
    Open source →
  11. 2.0.8 02 Apr 2021
    Release notes
    • Adds missing APIs: Worker (issue #36) and a few others.
    • Fixes issues with nullability suffixes in Window, Navigator, and others.
    Open source →
  12. 2.0.7 26 Mar 2021
    Release notes
    • Fixes documentation issues and other small issues.
    • WindowController can now load (fake) Window instances in browser just like in VM.
    Open source →
  13. 2.0.6 25 Mar 2021
    Release notes
    • Fixes a dependency constraint.
    Open source →
  14. 2.0.5 25 Mar 2021
    Release notes
    Open source →
  15. 2.0.4 16 Mar 2021
    Release notes
    • Fixes null safety migration errors.
    Open source →
  16. 2.0.3 15 Mar 2021
    Release notes
    • Fixes issue #29.
    • Fixes issues with window.history.
    Open source →
  17. 2.0.2 15 Mar 2021
    Release notes
    • Fixes issue #28.
    • Fixes a few other smaller issues.
    Open source →
  18. 2.0.1 15 Mar 2021
    Release notes
    • Small bug fixes.
    Open source →
  19. 2.0.0 15 Mar 2021
    Release notes
    • Migrated to null safety and the latest version of dart:html.
    • BREAKING CHANGES: The API for controlling browser windows has been revamped. It's easier to work with than the earlier one.
    • BREAKING CHANGES: Removed "package:universal_html/prefer_universal/X.dart" and "package:universal_html/prefer_sdk/X.dart". Developers should import "package:universal_html/html.dart".
    • Some refactoring.
    Open source →
  20. 1.2.4 11 Jan 2021
    Release notes
    • Fixes dependency constraints.
    Open source →
  21. 1.2.3 06 Jun 2020
    Release notes
    • Fixes a missing getter (referrerPolicy in IFrameElement).
    Open source →
  22. 1.2.2 07 Apr 2020
    Release notes
    • Improves documentation.
    • Deprecates some libraries.
    Open source →
  23. 1.2.1 07 Apr 2020
    Release notes
    • Eliminates dependency on an XML parsing package by introducing our own XML parser.
    • Improves documentation.
    Open source →
  24. 1.2.0 06 Apr 2020
    Release notes
    • Adds package:universal_html/parsing.dart.
    Open source →
  25. 1.1.21 06 Apr 2020
    Release notes
    • Lowers minimum version of csslib (#17) and html dependencies.
    • Adds @nodoc to helper libraries.
    Open source →
  26. 1.1.20 14 Mar 2020
    Release notes
    • Adds various missing APIs.
    Open source →
  27. 1.1.19 14 Mar 2020
    Release notes
    • Fixes a bug in FileReader that caused compile-time errors.
    • Updates DIFFERENCES.md
    Open source →
  28. 1.1.18 10 Mar 2020
    Release notes
    • Fixes parsing of non-standard HTML attribute names (#15) and various other issues.
    Open source →
  29. 1.1.17 03 Mar 2020
    Release notes
    • Restores old conditional exports because of a bug in dartdevc (#16).
    Open source →
  30. 1.1.16 03 Mar 2020
    Release notes
    • Fixes conditional imports in Node.JS when developer imports 'package:universal_io/X.dart' or 'package:universal_io/prefer_sdk/X.dart'.
    Open source →
  31. 1.1.15 25 Feb 2020
    Release notes
    • Improved documentation.
    • Removed 'package:universal_html/browser/html.dart', which has been marked with @Deprecated for long time. This is a breaking change, but unlikely to affect anyone.
    Open source →
  32. 1.1.14 25 Feb 2020
    Release notes
    • Fixes bugs related to HTML attributes and namespaces.
    Open source →
  33. 1.1.13 17 Feb 2020
    Release notes
    • Fixes 'universal_io' dependency constraint so that it supports 1.x.x.
    Open source →
  34. 1.1.12 03 Jan 2020
    Release notes
    • Fixed a CSS printing issue.
    Open source →
  35. 1.1.11 22 Dec 2019
    Release notes
    • Fixed pedantic warnings.
    Open source →
  36. 1.1.10 19 Dec 2019
    Release notes
    • Raised minimum SDK to 2.6 and updated dependencies.
    Open source →
  37. 1.1.9 18 Dec 2019
    Release notes
    • Improved test coverage.
    • Fixed a bug in window.localStorage.
    • Fixed an analysis error in JsArray (issue #8).
    Open source →
  38. 1.1.8 11 Dec 2019
    Release notes
    • A large number of linter fixes.
    • Some additional assertions/tests.
    Open source →
  39. 1.1.7 10 Dec 2019
    Release notes
    • Fixed element.innerHtml.
    • Added PositionError and a test for navigator.geolocation.
    Open source →
  40. 1.1.6 09 Sep 2019
    Release notes
    • Implemented anchor clicks and form submission.
    Open source →
  41. 1.1.5 08 Sep 2019
    Release notes
    • Made it easier to implement file access APIs.
    Open source →
  42. 1.1.4 08 Sep 2019

    Nothing published for this version

  43. 1.1.3 08 Sep 2019
    Release notes
    • Fixed problematic dependency constraints.
    • Improved documentation and developer scripts.
    Open source →
  44. 1.1.2 07 Sep 2019
    Release notes
    • Fixed a test failure caused by Dart SDK 2.5.0-dev-2.0.
    • Improved documentation.
    Open source →
  45. 1.1.1 06 Sep 2019
    Release notes
    • EventTarget now has a private getter _htmlDriver.
    • BrowserImplementation now receives events unless event.preventDefault() is called.
    • Replaced BrowserImplementation getter browserClassFactory with getter browserImplementation. Deprecated the old method.
    • Improved tests of various elements and fixed a few small bugs.
    • Improved tests that compare 'dart:html' and 'package:universal_html'.
    • Added various missing classes/class members.
    • Improved documentation and formatting.
    • Improved explanation that 'src/html/html_common/*.dart' were adopted from Dart SDK without much modifications.
    Open source →
  46. 1.1.0 01 Aug 2019
    Release notes
    • The sole copyright owner (except for code derived from the Dart SDK as noted in the relevant files) decided to publish the source code the Apache License 2.0. to make the project more enterprise-happy. Previous versions were published under the MIT License.
    • Many new tests and bug fixes.
    • Many new dart:html APIs.
    • Removed class factory APIs in HtmlDriver in favor of separate BrowserImplementation and BrowserImplementationUtils.
    • Deprecated "package:universal_html/browser/(library).dart" in favor of more descriptive "package:universal_html/prefer_sdk/(library).dart". Deprecated APIs will be removed in future.
    • Added "package:universal_html/prefer_universal/(library).dart".
    Open source →
  47. 1.0.13 24 Jul 2019
    Release notes
    • Fixed dependencies.
    Open source →
  48. 1.0.12 24 Jul 2019
    Release notes
    • A fix related to Dart SDK 2.5.
    Open source →
  49. 1.0.11 24 Jul 2019
    Release notes
    • Fixes compatibility with Dart SDK 2.5.
    • EventSource support.
    Open source →
  50. 1.0.10 08 Jul 2019
    Release notes
    • Eliminated the following error that Dart build system threw in some cases: Unsupported conditional import of dart:html found in universal_html|lib/html.dart
    Open source →
  51. 1.0.9 03 Jul 2019
    Release notes
    • Fixed bugs related to XML handling.
    Open source →
  52. 1.0.8 03 Jul 2019
    Release notes
    • Fixed various bugs.
    Open source →
  53. 1.0.7 03 Jul 2019
    Release notes
    • Fixed various bugs.
    Open source →
  54. 1.0.6 08 Jun 2019
    Release notes
    • Fixed various bugs.
    • Added browser/html.dart and related documentation.
    • Added ServerSideRenderer.
    Open source →
  55. 1.0.5 08 Jun 2019
    Release notes
    • Fixed a dependency.
    Open source →
  56. 1.0.4 08 Jun 2019
    Release notes
    • Fixed various bugs and added dart:html APIs.
    Open source →
  57. 1.0.3 07 Jun 2019
    Release notes
    • Fixed various bugs.
    Open source →
  58. 1.0.2 07 Jun 2019
    Release notes
    • Added dart:html APIs (HttpRequest, etc.) and new libraries (js.dart, js_util.dart, etc.).
    Open source →
  59. 1.0.1 01 Jun 2019
    Release notes
    • Fixed various bugs and added dart:html APIs.
    Open source →
  60. 1.0.0 29 May 2019

    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