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 2025Releases
latest 32-
0.15.624 Apr 2025Release notes
Open source →- 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))
-
0.15.529 Oct 2024 -
0.15.5+108 Apr 2025 -
0.15.408 Jun 2023 -
0.15.303 May 2023 -
0.15.202 Mar 2023Release notes
Open source →- Add additional types at the API boundary (in
lib/parser.dartand others). - Adopted the
package:dart_flutter_team_lintslinting rules. - Fixed an issue with
querySelectorwhere it would fail in some cases with descendant or sibling combinators (#157). - Add an API example in
example/.
- Add additional types at the API boundary (in
-
0.15.119 Oct 2022Release notes
Open source →- Move
htmlSerializeEscapeto its own library,package:html/html_escape.dart, which is exported frompackage:html/dom_parsing.dart. - Use more non-growable lists, and type annotations on List literals.
- Switch analysis option
implicit-casts: falsetostrict-casts: true.
- Move
-
0.15.011 Feb 2021Release notes
Open source →- Migrate to null safety.
- Drop
lastPhase,beforeRcDataPhase, andcontainerfields fromHtmlParserclass. These fields never had a value other thannull.
-
0.15.0-nullsafety.001 Feb 2021 pre-releaseNothing published for this version
-
0.14.009 Apr 2019Release notes
Open source →BREAKING CHANGES
- Drop support for encodings other than UTF-8 and ASCII.
- Removed
parser_console.dartlibrary.
-
0.14.0+111 Apr 2019 -
0.14.0+224 Apr 2019 -
0.14.0+330 Sep 2019Release notes
Open source →- Fix spans generated for HTML with higher-plane unicode characters (eg. emojis).
-
0.14.0+405 Oct 2020Release notes
Open source →- Fix a bug parsing bad HTML where a 'button' end tag needs to close other elements.
-
0.13.4+104 Mar 2019 -
0.13.4+211 Apr 2019Nothing published for this version
-
0.13.310 Mar 2018Release notes
Open source →- Update the signatures of
FilteredElementList.indexOfandFilteredElementList.lastIndexOfto include type annotations.
- Update the signatures of
-
0.13.3+130 May 2018 -
0.13.3+219 Jul 2018 -
0.13.3+313 Aug 2018Release notes
Open source →-
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
processStartTagandprocessEndTagmethods.
-
-
0.13.3-dev10 Mar 2018 pre-releaseNothing published for this version
-
0.13.231 May 2017 -
0.13.2+122 Dec 2017Release notes
Open source →- Changed the implementation of
SetandListclasses to use base classes fromdart:collection.
- Changed the implementation of
-
0.13.2+209 Jan 2018Release notes
Open source →- Update signature for implementations of
Iterable.singleWhereto include optional argument.
- Update signature for implementations of
-
0.13.124 Oct 2016 -
0.13.011 May 2016Release notes
Open source →- 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
csslibversions0.13.x.
Pub version 0.12.2+1
- Exclude
.packagesfile 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
csslibversion0.12.0.
Rename to package:html 0.12.0
- package has been renamed to
html
Pub version 0.12.0
- switch from
source_maps'Spanclass tosource_span'sSourceSpanclass.
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.
-
0.12.228 Aug 2015Nothing published for this version
-
0.12.2+117 Dec 2015Nothing published for this version
-
0.12.2+221 Apr 2016Nothing published for this version
-
0.12.105 Mar 2015Nothing published for this version
-
0.12.1+103 Apr 2015Nothing published for this version
-
0.12.1+206 Jul 2015Nothing published for this version