Skip to content

Releases: saket/unfurl

2.2.0

20 Aug 22:35
Compare
Choose a tag to compare

Bugfixes

  • #5: Network requests aren't canceled when unfurling is canceled.

Breaking changes

  • HtmlMetadataUnfurlerExtension#downloadHtml() is now suspending

2.1.0

15 Aug 02:01
Compare
Choose a tag to compare

Bugfixes

  • #4: Caffeine internally invokesΒ java.lang.System#getLoggerΒ which crashes on Android

2.0.0

09 Aug 10:40
Compare
Choose a tag to compare

unfurl v2 brings support for kotlin coroutines, testability and several improvements to parsing of social tags.

Breaking changes

  • TweetUnfurler was removed, thanks elon!
  • Unfurler#unfurl() is now suspending
  • Renames
    • UnfurlLogger.Println -> UnfurlLogger.println()
    • UnfurlLogger.NoOp -> UnfurlLogger.noOp()
    • HtmlTagsBasedUnfurler -> HtmlMetadataUnfurlerExtension
  • UnfurlResult#contentPreview was removed in favor of UnfurlResult#extras, inspired by okio-filesystem

1.7.0

11 Aug 05:24
Compare
Choose a tag to compare
unfurl.mp4

Unfurler extensions can now include arbitrary metadata in unfurled links using UnfurlResult#contentPreview. TweetUnfurler uses this to populate tweet details such as username, profile photo, media attachments, etc.

Breaking changes

  • Renamed Logger to UnfurlerLogger and added an API to log exceptions that can be used with your error reporting service.
  • Removed HtmlMetadataParser to simplify API surface. You're encouraged to create an extension instead by subclassing HtmlTagsBasedUnfurler.

1.6.0

20 Mar 22:28
Compare
Choose a tag to compare
  • Follow HTTP redirects with the default OkHttp client (aaa6dd6)
  • Use redirected URL in UnfurlResult instead of the original URL passed to Unfurler#unfurl (b11a15f)
  • Use OkHttp 5.x in CLI

1.5.0

18 Mar 06:22
Compare
Choose a tag to compare

Initial release