From fdab5d9d3b0cb17c116ff37892d56b71027be5c0 Mon Sep 17 00:00:00 2001 From: Johannes Baiter Date: Fri, 15 Oct 2021 11:07:03 +0200 Subject: [PATCH] =?UTF-8?q?Release=205.1.0=20=F0=9F=9A=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGES.md | 21 +++++++++++++++++++++ pom.xml | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 CHANGES.md diff --git a/CHANGES.md b/CHANGES.md new file mode 100644 index 00000000..5442021c --- /dev/null +++ b/CHANGES.md @@ -0,0 +1,21 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [5.1.0] - 2021-10-15 +### Added +- New API in [`ImageSecurityService`][api-image] and [`PresentationSecurityService`][api-presentation] + for determining access permissions based on the associated `HttpServletRequest`. + 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. + +[api-image]: https://github.com/dbmdz/iiif-server-hymir/blob/main/src/main/java/de/digitalcollections/iiif/hymir/image/business/api/ImageSecurityService.java +[api-presentation]: https://github.com/dbmdz/iiif-server-hymir/blob/main/src/main/java/de/digitalcollections/iiif/hymir/presentation/business/api/PresentationSecurityService.java + +### Fixed +- Fix an internal server error that occurred when specifying a bad image quality parameter, + this now returns a HTTP 400 error. diff --git a/pom.xml b/pom.xml index b89abb09..048ba28d 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ de.digitalcollections iiif-server-hymir - 5.0.7-SNAPSHOT + 5.1.0 jar https://github.com/dbmdz/iiif-server-hymir