MyGit

2.4.0

semsol/arc2

版本发布时间: 2019-01-25 22:00:58

semsol/arc2最新发布版本:3.1.0(2024-08-16 14:52:38)

2.4.0

After years, ARC2 got some love recently! With this release we started improving the RDF store by implementing a sufficient test coverage first and added new features afterwards, like PDO support. This way we should kept backward compatibility. If you still get errors using the RDF store, please open a new issue.

RDF Store changes and improvements

Summary:

High test coverage

Tests were added which focus RDF Store related code. Parts about controlling DB processes are not fully covered. Also, direct interaction with the DB backend (e.g. killing DB processes) is not recommended and support will be removed in a future release. SPARQL Endpoint code is also not tested.

There may be a change in behavior...

We had to change some internals, which may lead to a change in known behavior. If you only rely on the highest level of functions, the following changes shall not be of your concern:

How to use PDO

Add the field db_adapter with pdo to your database configuration, like:

$dbConfig = [
    // ...
    'db_adapter' => 'pdo',
    'db_pdo_protocol' => 'mysql',
];
$store = ARC2::getStore($dbConfig);

// $store uses PDO to access the database

About backward compatibility

We wanted to keep backward compatibility in the 2.x branch for as long as possible. This means, supporting PHP 5.3 and newer. Even if officially PHP 5.6+ is required, version 2.3.1 and below claims to run on PHP 5.3.

Summary:

MySQL 4.x support dropped

Code related to MySQL 4.x was removed and with that the support for MySQL 4.x. This major release is over 10 years old and receives no updates/fixes from Oracle or the community. Based on the MySQL EOL Notice, support for MySQL 4.1 ended in 2009.

Internal changes

The following changes break the internal API, but should not be of your concern, because its very likely that you don't use these classes or functions. If you do and this breaks your stuff, please create new issue here.

相关地址:原始地址 下载(tar) 下载(zip)

查看:2019-01-25发行的版本