2.2.0 - 2024-12-06
-
Additions:
- BREAKING Add
<AvailabilityRestriction>
element to<Resource>
s in<EndpointDescription>
. (after<Languages>
element) - Add
AvailabilityRestriction
enum toResourceInfo
class - Add
CAPABILITY_AUTHENTICATED_SEARCH
capability URL constant - Add function to add public/private RSA keys to
ClarinFCSRequestAuthenticator.Builder
using content strings (besides files)
- BREAKING Add
-
Changes:
- Move public/private RSA PEM key readers to
KeyReaderUtils
class - Add
context
map to allClarinFCSRequestAuthenticator
functions - Add @Deprecated decorators to streaming
ClarinFCSEndpointDescriptionParser
functions
(reason: less robust against future changes and unexpected elements)
- Move public/private RSA PEM key readers to
-
Dependencies:
- Bump
sru-client
to2.3.0
- Add
maven-release-plugin
- Bump Maven build plugin versions
- Bump
org.slf4j
to2.0.16
- Bump
org.bouncycastle:bcprov-ext-jdk15on
toorg.bouncycastle:bcprov-jdk18on:1.79
- Bump
com.auth0:java-jwt
to4.4.0
- Bump
2.1.1 - 2024-02-02
-
Changes:
<EndpointDescription>
: pass<Resource>
s that have missing requiredxml:lang="en"
elements- Change log levels to
warn
for specification violations - Add more debug logs for
<EndpointDescription>
parsing - Refactor code
-
General:
- Update
pom.xml
description
- Update
-
Dependencies:
- Bump
sru-client
to2.2.1
- Add
maven-release-plugin
- Bump Maven build plugin versions
- Bump
org.slf4j
to1.7.36
- Bump
com.auth0:java-jwt
to3.19.4
- Bump
2.1.0 - 2024-02-01
-
Additions:
- Add
<Institution>
element to<Resource>
s in<EndpointDescription>
. - Add Github Pages with JavaDoc
- Add Changelog document
- Add convenience for checking for checking type
- Add utility class to auto-detect the FCS versionn supported by an endpoint
- Add experimental basic support for FCS authentication
- Add
-
Bug Fixes
- fix NPE when parsing malformed FCS 2.0 endpoint descriptions
-
Changes:
- Change to XPath based
<EndpointDescription>
parsing inClarinFCSEndpointDescriptionParser
. This means that the whole XML subtree will be loaded in memory compared to the prior stream based parsing and it requires more time and memory. It however also allows to better handle broken Endpoint Descriptions, e.g., due to spec updates and newer/older library versions. Switching to the older stream based parsing is still possible and might be necessary for some use-cases (too many resources on endpoints)
- Emit debugging output of parsed capabilities
- Be strict when parsing FCS 2.0 endpoint descriptions
- Add some useful constants
- Move some constants to ClarinFCSConstants to make them public
- More complete legacy compat mode (to be used in FCS conformance tester)
- Change to XPath based
-
Dependencies:
- Update to latest (
2.2.0
)fcs-sru-client
library - SLF4j to
1.7.32
- Bump Maven build plugin versions
- Update to latest (
-
General:
- Cleanup, whitespaces, copyright
For older changes, see commit history at https://github.com/clarin-eric/fcs-simple-client/commits/main/