-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters