html 0.15.2
html: ^0.15.2 copied to clipboard
APIs for parsing and manipulating HTML content outside the browser.
0.15.2 #
- 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/.
0.15.1 #
- 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.
0.15.0 #
- Migrate to null safety.
- Drop
lastPhase,beforeRcDataPhase, andcontainerfields fromHtmlParserclass. These fields never had a value other thannull.
0.14.0+4 #
- Fix a bug parsing bad HTML where a 'button' end tag needs to close other elements.
0.14.0+3 #
- Fix spans generated for HTML with higher-plane unicode characters (eg. emojis).
0.14.0+2 #
- Support
package:css>=0.13.2 <0.17.0.
0.14.0+1 #
- Support
package:css>=0.13.2 <0.16.0.
0.14.0 #
BREAKING CHANGES
- Drop support for encodings other than UTF-8 and ASCII.
- Removed
parser_console.dartlibrary.
0.13.4+1 #
- Fixes to readme and pubspec.
0.13.4 #
- Require Dart 2.0 stable.
0.13.3+3 #
-
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+2 #
- Set max SDK version to
<3.0.0, and adjust other dependencies.
0.13.3+1 #
- Updated SDK version to 2.0.0-dev.17.0
0.13.3 #
- Update the signatures of
FilteredElementList.indexOfandFilteredElementList.lastIndexOfto include type annotations.
0.13.2+2 #
- Update signature for implementations of
Iterable.singleWhereto include optional argument.
0.13.2+1 #
- Changed the implementation of
SetandListclasses to use base classes fromdart:collection.
0.13.2 #
- Support the latest release of
pkg/csslib.
0.13.1 #
- Update Set.difference to take a Set