Releases: acdh-oeaw/arche-oaipmh
Releases · acdh-oeaw/arche-oaipmh
Ported to arche-lib 6
- Ported to arche-lib ^6 which means also switch from the easyrdf to the rdf-interface
LiveCmdiMetadata
class replaced by theTemplateMetadata
class which provides simple configuration, better flexibility and more consistency- Tests for all metadata classes added
Resumption tokens bugfixes
Make the resumption token implementation OAI-PMH standard-conformant by requesting the resumptionToken
parameter to be the only parameter allowed (other than verb
of course) and storing the information on the metadataPrefix
within the resumption token session.
Resumption tokens bugfixes
Fixed two issues:
- all resources starting from the 3rd page of results being reported as deleted due to a wrong initialization of the
HeaderData
objects from the resumption session data - all resources starting from the 2nd page of results providing no data due to the lack of initialization of the
$repoid
property of theHeaderData
objects when created from the resumption session data
Search performance tuning
4.2.3 Search::findQuery(): performance tuning
Bugfixes
LiveCmdiMetadata extensions
The LiveCmdiMetadata
templating engine:
- Supports the
URLEncode="prefix"
node attribute generating a value by joining the given prefix (can be empty) with an URL-encoded value. This is applied as a very last value transformation (aftermatch
&replace
, value maps, etc.). - Allows to use
ComponentId
andasAttribute
on the same node. In such a case the value is taken as a text content of a given component evaluated in the current resource context. Then all transformations (match
&replace
, value maps, etc. are applied) and the final value is written into the attribute indicated by theasAttribute
.
zozlak/logging version bumped
4.1.1 composer.json: zozlak/logging bumped to ^1
LiveCmdiMetadata: allow val="RANDOM"
4.1.0 LiveCmdiMetadata: implement val="RANDOM"
Bugfixes
Allow arche-lib 5
4.0.1 composer.json: allow arche-lib 5