Skip to content

Commit

Permalink
Release 5.1.0 🚢
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaiter committed Oct 15, 2021
1 parent 803bd22 commit fdab5d9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<groupId>de.digitalcollections</groupId>
<artifactId>iiif-server-hymir</artifactId>
<version>5.0.7-SNAPSHOT</version>
<version>5.1.0</version>
<packaging>jar</packaging>

<url>https://github.com/dbmdz/iiif-server-hymir</url>
Expand Down

0 comments on commit fdab5d9

Please sign in to comment.