Releases: mischov/meeseeks
Releases · mischov/meeseeks
v0.8.0
Enhancements
- [Select] Most
Document
functions now raise if an unknownnode_id
is provided, when before they might have raised or might have handle the situation gracefully - [Select] Add
get_root_ids/1
,get_node_ids/1
, andfetch_node/2
toDocument
- [Select] Add
Document.delete_node/2
, courtesy of @willbarrett - [Readability] Remove Credo
- [Readability] Add .formatters.exs and
mix format
project
Fixes
- [All] Fix various typespecs
v0.7.7
v0.7.6
Fixes
- [Parse] Update to
meeseeks_html5ever v0.8.0
, which removes panics related to callingmark_script_already_started
andget_template_contents
, and removes synchronous parsing, which did not correctly handle panics and broke the <1ms contract on first call - [Select] Update select functions to propagate parse errors
v0.7.5
v0.7.4
v0.7.3
v0.7.2
Enhancements
- [Extract] Add
Document.html/1
andDocument.tree/1
extractors - [Extract] Update
Meeseeks.html/1
andMeeseeks.tree/1
to accept aDocument
- [Extract] Update the extraction functions to return a better error when provided with invalid input
Fixes
- [Parse] Fix doctype parsing
v0.7.1
v0.7.0
Enhancements
- [Parse] Update to
meeseeks_html5ever v0.6.0
, which supports parsing XML - [Parse] Add
Meeseeks.parse/2
which takes either:html
or:xml
as the second argument to specify how the source gets parsed - [Extract] Update
Meeseeks.data/1
to handle CDATA when parsing HTML
v0.6.0
Breaking
- [Select] Rename
Context.new/1
toContext.prepare_for_selection/1
- [Select] Rename
Context.with_accumulator/2
toContext.add_accumulator/2
Enhancements
- [Parse] Update to
meeseeks_html5ever v0.5.0
- [Parse] Parse
Document.ProcessingInstruction
nodes from tuple-trees - [Select] Support
processing-instruction
functionality inMeeseeks.XPath
(when possible) - [Select] Add a
Document.ProcessingInstruction
node type - [Select] Add
Select.select/3
andMeeseeks.select/3
- [Select] Add
Context.ensure_accumulator!/1