All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fixed bug in
ImageServiceImpl
whereImageInputStreams
were not properly closed after processing
- Updates ImageIO version to fix JPEG decoding from TIFFs with newer turbojpeg versions
- Set webjar versions in
pom.xml
- Return 406 response code if server cannot find representation that is acceptable by the client
- Updates ImageIO version to support transformations of corrupt (but recoverable) images and to suupport
JSAMP_411
subsampling
- Fix bug in metrics handling that caused various metrics to be silently dropped
- Fix off-by-one errors when decoding scaled down full-area image (#280, #281)
- Bump imageio-jnr version to fix bug in cropping of JPEG2000 images
- Fix error handling for image requests with size or region of 0 (#277)
- Ensure a HTTP 500 is returned in case of low-level I/O errors instead of a 404 (#276)
- Fixed ACL check in
ImageServiceImpl
that did not pass the HTTP request to the security backend
- New API in
ImageSecurityService
andPresentationSecurityService
for determining access permissions based on the associatedHttpServletRequest
. This can be used to to e.g. verify security tokens or the source IP. The old API that is based on the identifier only still works, and the new method on the interface comes with a default implementation that delegates to the existing API, so existing implementations do not have to be updated if they have no use for the HTTP request.
- Fix an internal server error that occurred when specifying a bad image quality parameter, this now returns a HTTP 400 error.