Skip to content

Releases: borderless/unfurl

Make `plugins` required

28 Jan 08:14
Compare
Choose a tag to compare

Changed

  • Make plugins required and manually imported from dist/plugins

Handle Missing Header

01 Mar 00:16
Compare
Choose a tag to compare

Fixed

  • Handle missing content-type header

Extract icons

27 Feb 07:32
Compare
Choose a tag to compare

Fixed

  • Extract icons from webpages
  • Add sailthru image support

Normalize `Snippet` Further

24 Feb 05:21
Compare
Choose a tag to compare

Changed

  • Make single Snippet intersected type, use Entity types for object properties
  • Define options explicitly for fetch (e.g. accept)

Fixed

  • Improved headline extraction
  • Decode HTML entities in JSON-LD
  • Support @graph in JSON-LD to handle Yoast SEO plugin better

Rewrite Package, Remove Two Step Process

05 Feb 20:46
Compare
Choose a tag to compare

Changed

  • Rewrite package to expose only a scrape method which does whatever it wants internally - the only requirement is on the output matching the defined TypeScript result interface
  • Removed built-in HTTP request method, make it a required option to initialize the scraper
  • Enable the ability to configure plugins

Refactor

06 Feb 22:05
Compare
Choose a tag to compare

Changed

  • Everything, basically. The scrape result is similar, as ever, but the extracted result is much improved while how the pipeline actually runs has been overhauled to support middleware and plugins.

Extract `contentUrl`

08 Jul 18:14
Compare
Choose a tag to compare

Changed

  • Return the final contentUrl as fallback when none exists

Raw Encoding

07 Jul 22:25
Compare
Choose a tag to compare

Changed

  • Set encodingFormat to the raw response encoding

Response URL

07 Jul 19:43
Compare
Choose a tag to compare

Fixed

  • Correctly re-use response URL (over original URL) when resolving local links

Icons

07 Jul 19:11
Compare
Choose a tag to compare

Added

  • Extract icons from the HTML page
  • Support JSON OEmbed resources

Fixed

  • Correct encodingFormat for HTML pages
  • Handle stream error when aborting the HTTP response