3.0.0
版本发布时间: 2023-09-13 15:22:42
semsol/arc2最新发布版本:3.1.0(2024-08-16 14:52:38)
What's Changed
- Added PHP 8 support; dropped Travis and Coveralls; use Github Actions from now on by @k00ni in https://github.com/semsol/arc2/pull/145
- Huge cleanup (PHP 8 only; prep. for long term support) by @k00ni in https://github.com/semsol/arc2/pull/151
Details about #151
- :exclamation: Default table engine changed from MyISAM to InnoDB
- Fixed a lot of deprecation warnings in PHP 8.2 (mostly dynamic property usage and deprecated utf8_* usage)
-
Removed the following DB adapters: mysqli, PDO-sqlite:
- mysqli adapter was kept for compatibility reasons, has known problems with MySQL 8.0.
- PDO SQLite was removed because it was buggy and it didn't pass our tests.
- also removed CachedAdapter
-
Removed methods:
-
ARC2_Class::queryDB(...)
, because it relied on outdated mysqli usage. - AbstractAdapter + PDOAdapter:
getServerInfo()
; changedgetServerVersion()
to use SQLselect version()
to get DB server version
-
-
Cleaned require- and require-dev section in
composer.json
. For instance, removedsymfony/cache
. - Upgraded Dockerfile to use PHP 8.2
- Field
db_con
in ARC2 configuration was removed. It used to hold the mysqli connection. - Deployed PHP-CS-Fixer to the whole code base to improve readability.
- Updated our Github workflows to use newer DB versions (such as MariaDB 10.5+)
- Salvaged a fix from @craigdietrich: fixes #133 and fixes #135
Full Changelog: https://github.com/semsol/arc2/compare/2.5.1...3.0.0