LinkThumbnailer v3.4.0 Release Notes

  • ➕ Adds

    • Adds download_size_limit configuration to raise LinkThumbnailer::DownloadSizeLimit when the body of the request is too big. Defaults to 10 * 1024 * 1024 bytes.
    • ➕ Adds favicon_size configuration to allow to choose which favison 0️⃣ size the gem should prefer. Defaults to the first favicon found otherwise.

    🛠 Fixes

    • 🛠 Fixes string encoding in previous versions of Ruby
    • 🛠 Fixes favicon by providing the full path.
    • When HTML charset cannot be found in the HTML header, we now try to find it in the body.
    • Closes the HTTP connection upon completion

    🔄 Changes

    • 401 HTTP errors now raise LinkThumbnailer::HTTPError
    • ⬆️ Upgrades ImageInfo gem