floki v0.4.0 Release Notes
Release Date: 2015-09-17 // over 8 years ago-
โ Added
- A robust representation of selectors in order to enable queries using a mix of selector types, such as classes with attributes, attributes with types, classes with classes and so on. Here is a list with examples of what is possible now:
- Include
mochiweb
in the applications list at mix.exs - thanks @EricDykstra
๐ Changed
Floki.find/2
will now return a list instead of tuple when searching only by IDs. For now on, Floki should always return the results inside a list, even if it's an ID match.
โ Removed
Floki.find/2
does not accept tuples as selectors anymore. This is because with the robust selectors representation, it won't be necessary to query directly using tuples or another data structures rather than string.