Releases: mischov/meeseeks
Releases · mischov/meeseeks
v0.5.0
Breaking
- [Select] Change the
Selector.match?/3
callback toSelector.match/4
, which now takes a context and can return a{boolean, context}
tuple in addition to returning a boolean.
Enhancements
- [Select] Add XPath selector support (see
Meeseeks.XPath
) - [Select] Add
Selector.filters/1
callback to theSelector
behaviour and update selection to allow for filtering matches before proceeding - [Select] Add
Meeseeks.Context
to allow selectors and the selection process to store state - [Select] Add
Meeseeks.Accumulator
behaviour and updateAccumulator.{All, One}
to use it - [Select] Add
Node
andRoot
selectors - [Select] Add
Ancestors
,AncestorsOrSelf
,Children
,Descendants
,DescendantsOrSelf
,NextSiblings
,Parent
,PreviousSiblings
, andSelf
selector combinators - [Select] Add
parent
,ancestors
, andprevious_siblings
queries toDocument
Fixes
- [Parse] Update to
meeseeks_html5ever v0.4.6
, which correctly parses namespaced elements and doesn't try to bring inhtml5ever 0.16.0
- [Extract] Fix
html
extractor to add namespaces to elements - [Usability] Improve
Document
andResult
opaque inspected values
v0.4.1
v0.4.0
Enhancements
- [Parse] Replace
html5ever_elixir
withmeeseeks_html5ever
- [Select] Allow CSS selector
:not()
to accept multiple selectors
Fixes
- [Parse] Move
Document.new/1
toParser.parse_tuple_tree/1
- [Select] Fix ordering in
Document.get_nodes/1
andAccumulator.return/1
(forAccumulator.All
)
v0.3.1
v0.3.0
v0.2.1
v0.2.0
Improve selectors - Replace tokenizer with .xrl tokenizer, and expand to handle new selectors - Update parser to work with xrl tokens, and expand to handle new selectors - Add ~= and |= attribute selectors - Add :first-of-type, :last-of-type, :not, :nth-last-child, :nth-last-of-type, and :nth-of-type pseudo class selectors - Support an+b formulas in :nth* pseudo class selectors