Releases: acdh-oeaw/arche-lib
Releases · acdh-oeaw/arche-lib
Updated property typehints for the Config class
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
Repo::getResourceByIdsAsync(): metadata handling fix
Repo::getResourceByIdsAsync()
: remove technical search metadata before passing the meta to the resource
PHP 8.4 deprecation fixes
6.6.3 PHP 8.4 deprecation fixes