Releases: mischov/meeseeks
Releases · mischov/meeseeks
v0.9.0
Breaking
- [Errors] Returned and raised errors throughout the project have been updated to use
Meeseeks.Error
instead of whatever assorted formats they were using before
Enhancements
- [Errors] Add
Meeseeks.Error
, a generic error struct implementingException
- [Select] Add
Meeseeks.fetch_all
andMeeseeks.fetch_one
Fixes
- [Extract] Fix bug in
Meeseeks.html
when encoding element attribute values that contain double quotes
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