scalpel v0.6.0 Release Notes

Release Date: 2019-02-18 // over 4 years ago
  • ๐Ÿ’ฅ 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
      • 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
    • โž• Add textSelector for selecting text nodes.
    • โž• Add SerialScraper type and associated primitives (#48).