Skip to content

Releases: mischov/meeseeks

v0.8.0

14 Apr 17:13
Compare
Choose a tag to compare

Enhancements

  • [Select] Most Document functions now raise if an unknown node_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, and fetch_node/2 to Document
  • [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

08 Feb 20:27
Compare
Choose a tag to compare

Fixes

  • [Parse] Update to meeseeks_html5ever v0.8.1, which supports OTP 20.2

v0.7.6

24 Sep 23:07
Compare
Choose a tag to compare

Fixes

  • [Parse] Update to meeseeks_html5ever v0.8.0, which removes panics related to calling mark_script_already_started and get_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

23 Sep 20:56
Compare
Choose a tag to compare

Fixes

  • [Parse] Update to meeseeks_html5ever v0.7.0, which fixes an erroneous panic related to calling remove_from_parent on a node with no parent

v0.7.4

18 Sep 18:00
Compare
Choose a tag to compare

Enhancements

  • [Extract] Update extractors to propagate nil input

Fixes

  • [Select] Fix CSS tokenization bug related to ab formulas

v0.7.3

29 Aug 16:55
Compare
Choose a tag to compare

Fixes

  • [Select] Fix Elixir 1.5 related warnings

v0.7.2

13 Jul 20:31
Compare
Choose a tag to compare

Enhancements

  • [Extract] Add Document.html/1 and Document.tree/1 extractors
  • [Extract] Update Meeseeks.html/1 and Meeseeks.tree/1 to accept a Document
  • [Extract] Update the extraction functions to return a better error when provided with invalid input

Fixes

  • [Parse] Fix doctype parsing

v0.7.1

29 Jun 22:39
Compare
Choose a tag to compare

Fixes

  • [Parse] Update to meeseeks_html5ever v0.6.1, which supports OTP 20

v0.7.0

05 Jun 20:24
Compare
Choose a tag to compare

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

23 May 23:54
Compare
Choose a tag to compare

Breaking

  • [Select] Rename Context.new/1 to Context.prepare_for_selection/1
  • [Select] Rename Context.with_accumulator/2 to Context.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 in Meeseeks.XPath (when possible)
  • [Select] Add a Document.ProcessingInstruction node type
  • [Select] Add Select.select/3 and Meeseeks.select/3
  • [Select] Add Context.ensure_accumulator!/1