Skip to content

Releases: fb55/css-select

v2.0.0

09 Mar 13:35
Compare
Choose a tag to compare

Finally a new release!

  • Improves scope support (thanks to @Delgan, from 2015 😨) — #37, #38, #43
  • Allows users to pass a DOM adapter (thanks to @nrkn, from 2016 😬) — #66
    • Change since 1.3.0-rc0 (#101): Adapters are now passed in options, which results in two breaking changes: First, pseudo selectors now take the adapter as the second argument, and arguments as the third. Second, filters aren’t checked anymore if they have the required number of arguments.
  • Exponential time querying fix (thanks to @dbuezas); requires a modern JS environment — #94, #100
  • And a pretty complicated domutils upgrade (thanks to @chriseppstein) — #96
  • Throws regular errors instead of syntax errors when the selector is faulty (inherited from css-what)