All Versions
Latest Version
Avg Release Cycle
110 days
Latest Release

Changelog History
Page 1

  • v3.4.0 Changes

    โž• 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
  • v3.3.2 Changes

    March 22, 2018
  • v3.3.1 Changes

    June 04, 2017

    ๐Ÿ”„ Changes

    • โฌ†๏ธ Gem upgrade (json)
  • v3.3.0 Changes

    August 27, 2016

    โž• Adds

    • ๐Ÿ‘ Allows to configure overrided http headers
    LinkThumbnailer.configure do |config|
      config.http_override_headers = { 'Accept-Encoding' => 'none', ... }
  • v3.2.1 Changes

    June 16, 2016

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixes #88
    • Override User-Agent header properly
    • Match xpath nodes if attribute content is present
    • ๐Ÿ“œ Avoid nil urls in image parser
  • v3.2.0 Changes

    May 15, 2016

    โž• Adds

    ๐Ÿ”ง Makes scrapers configurable by allowing to set the scraping strategy:

    LinkThumbnailer.configure do |config|
      config.scrapers = [:opengraph, :default]

    opengraph use the Open Graph Protocol. 0๏ธโƒฃ default use a homemade algorithm

  • v3.1.2 Changes

    April 18, 2016

    โž• Adds

    ๐Ÿ‘ Allows to customize ideal description length

    Pass the :ideal_description_length option to the Graders::Length initializer to customize ๐Ÿš… the ideal description length of a website. In the rails initializer:

    LinkThumbnailer.configure do |config|
      config.graders = [
        ->(description) {, ideal_description_length: 500) },
        ->(description) {, :class) },
        ->(description) {, :id) },
        ->(description) {, weigth: 3) },
        ->(description) { },

    0๏ธโƒฃ Will default to 120 characters. More information about how the gem manage to find the best description can be found at

  • v3.1.1 Changes

    March 05, 2016

    ๐Ÿ›  Fixes

    ๐Ÿ”„ Changes

    • โฌ†๏ธ Upgrade video_info gem
  • v3.1.0 Changes

    September 13, 2015

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix an issue when image sizes could not be retrieved.

    โž• Adds

    • Grapers now accepts an optional parameter to customize the weigth of the grader in the probablity computation., weigth: 3)

    Will give a 3 times more weigth to the Position grader compare to other graders. 0๏ธโƒฃ By default all graders have a weigth of 1 except the above position grader since position should play a bigger role in order to find good description candidates.

  • v3.0.3 Changes

    August 23, 2015

    ๐Ÿ›  Fixes