Skip to content

Releases: sul-dlss/riiif

Version 2.2.0

01 Nov 15:51
Compare
Choose a tag to compare

This release adds Rails 6 support. Thanks @cbeer!

v2.1.0

30 Apr 13:47
Compare
Choose a tag to compare
  • ImageMagick: remove alpha channel from PDF thumbnails
  • ImageMagick: support alpha channel in other formats; return PNG if a JPG conversion is requested from an image with an alpha channel

Release 2.0.0

23 Feb 20:16
6b0ab9c
Compare
Choose a tag to compare
  • Restored ImageInformation#[] method.

  • Riiif::Image: don't inspect source image to create cache key

  • Riiif::Image: sort elements of cache_key string

  • Permit model and id so we don't see warnings about unpermitted params.

  • Pass the base path when initializing a file resolver

  • Deprecated Image#image and add Image#file.

  • Deprecate unused methods in File.

  • Extractd options decoder from Image.

  • Added OPTIONS response for info.json.

  • Moved decoding to the command generation phase.

  • Two pass conversion.

  • Fixed resizing for height and width operations. Fixes #97 and #98.

  • Provided Size::Absolute#reduce. Fixes #99.

  • Cast height and width to integers. Fixes #96.

  • Added Kakadu.

  • Moved NilAuthorizationService to app/services.

  • Moved resolvers to app/resolvers.

  • Refactored FileResolver to be easier to override.

  • Handle ImageNotFound error with the :not_found handler.

  • When an Id can't be resolved, render a 404, per the IIIF spec.

  • Parse float values for percent regions/scales.

  • Removed duplicate ImagemagickTransformer class.

  • Created benchmark.md.

  • Use the iiif-image-api gem for the models.

  • ImageMagickCommandFactory: only extract first layer for PDFs. Should fix black images; see samvera/hydra-derivatives#110 and samvera/hydra-derivatives#120.

  • Fixed reference to File to use root namespace.

  • Use bixby for rubocop.

v1.5.0

20 Jul 20:48
Compare
Choose a tag to compare
  • Adds support for GraphicsMagick
  • Bug fix to extract the correct height and width values for image files containing a sequence

v1.4.1

01 Jun 19:22
Compare
Choose a tag to compare
  • allow .tif as an acceptable source in the FileSystemFileResolver
  • remove .jp as an acceptable source in the FileSystemFileResolver

v1.4.0

11 Apr 18:46
Compare
Choose a tag to compare

Chroma down sampling for JPEG.
Strip EXIF tags

Both changes make for a smaller payload and were recommended by https://developers.google.com/speed/docs/insights/OptimizeImages

v1.3.0

10 Apr 17:53
Compare
Choose a tag to compare

Added compression for JPEG output.
Extracted ImagemagickCommandFactory. This leads the way for other sort of backends to be build (e.g. kdu)

v1.2.0

07 Apr 18:20
Compare
Choose a tag to compare

Added Cache-Control headers for image and info responses.

v1.1.3

16 Mar 01:20
Compare
Choose a tag to compare

Bug fix for #50 : "Undefined method merge for struct Riiif::ImageInformation"

v.1.1.2

15 Mar 18:42
Compare
Choose a tag to compare

This release contains:

  • refactoring to reduce code complexity
  • bug fix to allow backwards compatibility with Rails 4