Skip to content

Latest commit

 

History

History
77 lines (60 loc) · 3.6 KB

CHANGELOG.md

File metadata and controls

77 lines (60 loc) · 3.6 KB

Changelog

2.2.0 - 2024-12-06

  • Additions:

    • BREAKING Add <AvailabilityRestriction> element to <Resource>s in <EndpointDescription>. (after <Languages> element)
    • Add AvailabilityRestriction enum to ResourceInfo class
    • Add CAPABILITY_AUTHENTICATED_SEARCH capability URL constant
    • Add function to add public/private RSA keys to ClarinFCSRequestAuthenticator.Builder using content strings (besides files)
  • Changes:

    • Move public/private RSA PEM key readers to KeyReaderUtils class
    • Add context map to all ClarinFCSRequestAuthenticator functions
    • Add @Deprecated decorators to streaming ClarinFCSEndpointDescriptionParser functions
      (reason: less robust against future changes and unexpected elements)
  • Dependencies:

    • Bump sru-client to 2.3.0
    • Add maven-release-plugin
    • Bump Maven build plugin versions
    • Bump org.slf4j to 2.0.16
    • Bump org.bouncycastle:bcprov-ext-jdk15on to org.bouncycastle:bcprov-jdk18on:1.79
    • Bump com.auth0:java-jwt to 4.4.0

2.1.1 - 2024-02-02

  • Changes:

    • <EndpointDescription>: pass <Resource>s that have missing required xml: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
  • Dependencies:

    • Bump sru-client to 2.2.1
    • Add maven-release-plugin
    • Bump Maven build plugin versions
    • Bump org.slf4j to 1.7.36
    • Bump com.auth0:java-jwt to 3.19.4

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
  • Bug Fixes

    • fix NPE when parsing malformed FCS 2.0 endpoint descriptions
  • Changes:

    • Change to XPath based <EndpointDescription> parsing in ClarinFCSEndpointDescriptionParser. 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)
  • Dependencies:

    • Update to latest (2.2.0) fcs-sru-client library
    • SLF4j to 1.7.32
    • Bump Maven build plugin versions
  • General:

    • Cleanup, whitespaces, copyright

For older changes, see commit history at https://github.com/clarin-eric/fcs-simple-client/commits/main/