Skip to content

0.6.0

Compare
Choose a tag to compare
@fimad fimad released this 18 Feb 05:01
· 36 commits to master since this release

Breaking Changes

  • anySelector now captures text nodes. This causes different results when used
    with a plural scraper (e.g. chroots). Usage with a singular scraper (e.g.
    chroot) should be unaffected.
  • The dependency on curl has been replaced with http-client and
    http-client-tls. This has the following observable changes.
    • scrapeURLWithOpts is removed.
    • The Config type used with scrapeURLWithConfig no longer contains a list
      of curl options. Instead it now takes a Maybe Manager from http-client.
    • The Decoder function type now takes in a Response type from
      http-client.
    • scrapeURL will now throw an exception if there is a problem connecting to
      a URL.

Other Changes

  • Remove Ord constraint from public APIs.
  • Add atDepth operator which allows for selecting nodes at a specified depth
    in relation to another node (#21).
  • Fix issue selecting malformed HTML where "a" // "c" would not match
    <a><b><c></c></a></b>.
  • Add textSelector for selecting text nodes.
  • Add SerialScraper type and associated primitives (#48).