Releases: acdh-oeaw/arche-lib
Releases · acdh-oeaw/arche-lib
Bugfixes
Small fixes
acdhOeaw\arche\lib\RepoTrait::extractResourcesFromGraph()
: remove total search count triple
Updated property typehints for the Config class
7.1.1 Config: property docstrings updated
SearchTerm: add the case insensititve regex operator
7.1.0 SearchTerm::$operators: add the case-insensitive regex operator "~*"
SmartSearch bugfix
7.0.4 SmartSearch::combineSearchQueries(): assure a space before previous S…
Updated property typehints for the Schema class
7.0.3 Schema: type hint for nextItem added
Updated property typehints for the Config class
7.0.2 Config class: add property type hints
RepoDb::getPdoStatementBySqlQuery(): fix fallback metadata read mode
7.0.1 RepoDb::getPdoStatementBySqlQuery(): set fallback read mode to META_N…
Repo search fixes and RepoDb FTS fixes
Backward-incompatible changes:
Repo::getResourceById*()
takeacdhOeaw\arche\lib\SearchConfig
instead of thestring $className
parameter. This allows controlling amount of metadata returned and makes their API more orthogonal withgetResources*()
methods (the returned resource class can be still set with theSearchConfig
object).
Fixes:
RepoDb::getFtsQuery()
tuned for better highlighting of full text search queries matching identifier URIs
Allow passing SearchConfig to getResource*ById*() methods
RepoInterface::getResource*ById*() API changed The `?string $class` parameter replaced with `?SearchConfig $config` as in other `getResourcesBy*()` methods. This also allows to specify amount of metadata fetched by the `getResource*ById*()` calls