PackageTrack
Sign in Get early access

html

APIs for parsing and manipulating HTML content outside the browser.

0.15.6 7.7M downloads/mo #75 most downloaded on pub.dev dart-lang/tools

What this package is like to depend on

Last release 1 years ago

24 Apr 2025

Release timing varies

gaps range from 9 days to 1.7 years

Most releases are documented

notes for 23 of 30 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

32 releases · first in 2015

0 releases in the last 12 months

see the full history below

Release timeline

32 releases · Mar 2015 to Apr 2025
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 32
  1. 0.15.6 24 Apr 2025
    Release notes
    • Performance improvements.
    • No longer generate any error spans if generateSpans is false.
    • Fixed a TypeError in nth-child with non numeric value (e.g. nth-child(even))
    Open source →
  2. 0.15.5 29 Oct 2024
    Release notes
    • Require Dart 3.2.
    • Move to dart-lang/tools monorepo.
    Open source →
  3. 0.15.5+1 08 Apr 2025
    Release notes
    • Support "ambiguous ampersand" in attribute values.
    Open source →
  4. 0.15.4 08 Jun 2023
    Release notes
    • Widen the dependency on package:csslib.
    • Require Dart 2.19.
    Open source →
  5. 0.15.3 03 May 2023
    Release notes
    • Added package topics to the pubspec file.
    Open source →
  6. 0.15.2 02 Mar 2023
    Release notes
    • Add additional types at the API boundary (in lib/parser.dart and others).
    • Adopted the package:dart_flutter_team_lints linting rules.
    • Fixed an issue with querySelector where it would fail in some cases with descendant or sibling combinators (#157).
    • Add an API example in example/.
    Open source →
  7. 0.15.1 19 Oct 2022
    Release notes
    • Move htmlSerializeEscape to its own library, package:html/html_escape.dart, which is exported from package:html/dom_parsing.dart.
    • Use more non-growable lists, and type annotations on List literals.
    • Switch analysis option implicit-casts: false to strict-casts: true.
    Open source →
  8. 0.15.0 11 Feb 2021
    Release notes
    • Migrate to null safety.
    • Drop lastPhase, beforeRcDataPhase, and container fields from HtmlParser class. These fields never had a value other than null.
    Open source →
  9. 0.15.0-nullsafety.0 01 Feb 2021 pre-release

    Nothing published for this version

  10. 0.14.0 09 Apr 2019
    Release notes

    BREAKING CHANGES

    • Drop support for encodings other than UTF-8 and ASCII.
    • Removed parser_console.dart library.
    Open source →
  11. 0.14.0+1 11 Apr 2019
    Release notes
    • Support package:css >=0.13.2 <0.16.0.
    Open source →
  12. 0.14.0+2 24 Apr 2019
    Release notes
    • Support package:css >=0.13.2 <0.17.0.
    Open source →
  13. 0.14.0+3 30 Sep 2019
    Release notes
    • Fix spans generated for HTML with higher-plane unicode characters (eg. emojis).
    Open source →
  14. 0.14.0+4 05 Oct 2020
    Release notes
    • Fix a bug parsing bad HTML where a 'button' end tag needs to close other elements.
    Open source →
  15. 0.13.4+1 04 Mar 2019
    Release notes
    • Fixes to readme and pubspec.
    Open source →
  16. 0.13.4+2 11 Apr 2019

    Nothing published for this version

  17. 0.13.3 10 Mar 2018
    Release notes
    • Update the signatures of FilteredElementList.indexOf and FilteredElementList.lastIndexOf to include type annotations.
    Open source →
  18. 0.13.3+1 30 May 2018
    Release notes
    • Updated SDK version to 2.0.0-dev.17.0
    Open source →
  19. 0.13.3+2 19 Jul 2018
    Release notes
    • Set max SDK version to <3.0.0, and adjust other dependencies.
    Open source →
  20. 0.13.3+3 13 Aug 2018
    Release notes
    • Do not use this tag in our systems - there was an earlier version of it pointing to a different commit, that is still in some caches.

    • Fix missing_return analyzer errors in processStartTag and processEndTag methods.

    Open source →
  21. 0.13.3-dev 10 Mar 2018 pre-release

    Nothing published for this version

  22. 0.13.2 31 May 2017
    Release notes
    • Support the latest release of pkg/csslib.
    Open source →
  23. 0.13.2+1 22 Dec 2017
    Release notes
    • Changed the implementation of Set and List classes to use base classes from dart:collection.
    Open source →
  24. 0.13.2+2 09 Jan 2018
    Release notes
    • Update signature for implementations of Iterable.singleWhere to include optional argument.
    Open source →
  25. 0.13.1 24 Oct 2016
    Release notes
    • Update Set.difference to take a Set<Object>.
    Open source →
  26. 0.13.0 11 May 2016
    Release notes
    • BREAKING Fix all strong mode errors and warnings. This involved adding more precise types on some public APIs, which is why it may break users.

    Pub version 0.12.2+2

    • Support csslib versions 0.13.x.

    Pub version 0.12.2+1

    • Exclude .packages file from the published package.

    Pub version 0.12.2

    • Added Element.endSourceSpan, containing the span of a closing tag.

    Pub version 0.12.0+1

    • Support csslib version 0.12.0.

    Rename to package:html 0.12.0

    • package has been renamed to html

    Pub version 0.12.0

    • switch from source_maps' Span class to source_span's SourceSpan class.

    Pub version 0.11.0+2

    • expand the version constraint for csslib.

    Pub version 0.10.0+1

    • use a more recent source_maps version.

    Pub version 0.10.0

    • fix how document fragments are added in NodeList.add/addAll/insertAll.

    Pub version 0.9.2-dev

    • add Node.text, Node.append, Document.documentElement
    • add Text.data, deprecate Node.value and Text.value.
    • deprecate Node.$dom_nodeType
    • added querySelector/querySelectorAll, deprecated query/queryAll. This matches the current APIs in dart:html.
    Open source →
  27. 0.12.2 28 Aug 2015

    Nothing published for this version

  28. 0.12.2+1 17 Dec 2015

    Nothing published for this version

  29. 0.12.2+2 21 Apr 2016

    Nothing published for this version

  30. 0.12.1 05 Mar 2015

    Nothing published for this version

  31. 0.12.1+1 03 Apr 2015

    Nothing published for this version

  32. 0.12.1+2 06 Jul 2015

    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