Skip to content

Various improvements

Choose a tag to compare

@zozlak zozlak released this 26 Jul 14:46
· 173 commits to master since this release

Backward-incompatible changes:

  • acdh\arche\lib\RepoDb::getMetadataQuery() has been renamed to acdh\arche\lib\RepoDb::getMetadataStatement() and its return type has changed to PDOStatement

Other changes:

  • Support for custom metadata read modes in form of {childrenDepth}_{parentsDepth}_{from}_{into} added.
  • Support for limiting the set of fetched RDF properties added.
    • acdh\arche\lib\RepoResourceInterface::loadMetadata() and acdh\arche\lib\RepoResource::*Metadata*() methods take two additional optional parameters $resourceProperties and $relativesProperties allowing to specify the filtersl
    • acdh\arche\lib\SearchConfig has two additional properties $resourceProperties and $relativesProperties.
  • acdh\arche\lib\RepoResource::delete() now returns a list of removed resource's URIs. This can be particularly useful in case of recursive removals.
  • acdh\arche\lib\RepoDb::getPdoStatementBySqlQuery():
    • properly orders by numeric and date values;
    • generates new artificial triples providing the value used for ordering;
    • can now optionally skip generation of artificial triples (search match, order, search order value, etc.)
  • acdh\arche\lib\SearchTerm:
    • TYPE_ID search triple type added for very fast search for a resource(s) with known internal repository IDs.
    • various fixes for multiple search values.