laminas/laminas-db
Laminas\Db is a flexible database abstraction for PHP, providing adapters for major databases, SQL builders, table gateways, result sets, metadata tools, and a profiler to help build portable, testable data access layers.
Feature release (minor)
[!IMPORTANT] This release adds support for PHP 8.4.
Total issues resolved: 0
Total pull requests resolved: 2
Total contributors: 2
335: PHP 8.4 support with latest PHPUnit v9 thanks to @slaff
Feature release (minor)
Feature release (minor)
Feature release (minor)
Feature release (minor)
2.16.x bugfix release (patch)
2.16.x bugfix release (patch)
2.16.x bugfix release (patch)
2.15.x bugfix release (patch)
Feature release (minor)
Feature release (minor)
$this where the pre-existing self declaration was too imprecise thanks to @InvisibleSmileyLaminas\Db\Adapter\Driver\Mysqli\Connection::__construct($connectionInfo) type declaration to respect FQCN references thanks to @InvisibleSmiley2.14.x bugfix release (patch)
Feature release (minor)
2.13.x bugfix release (patch)
NOTE: this release was incomplete/incorrect - changelog below has been included in 2.13.3 instead.
2.13.x bugfix release (patch)
Feature release (minor)
Adds support for PHP 8.
Adds support for laminas/laminas-hydrator v4 releases.
Adds the constant Laminas\Db\Sql\Join::JOIN_FULL_OUTER, providing the ability to use full outer joins in SQL statements.
Adds a new delegator factory, Laminas\Db\Adapter\AdapterServiceDelegator.
When added as a delegator to a class that composes Laminas\Db\Adapter\AdapterAwareTrait, the delegator will inject the instance associated with the Laminas\Db\Adapter\AdapterInterface service via the class setDbAdapter() method defined in the trait.
Adds the getResultPrototype() method to each of the Pdo, Pgsql, IbmDb2, and Sqlsrv adapters (the Mysqli and Oci8 adapters already defined the method previously).
The method allows consumers to inspect and modify the result prototype.
Removes support for PHP versions prior to 7.3.
Removes the class Laminas\Db\Sql\Ddl\Float. PHP as of 7.0 considers "float" a reserved keyword, and with the bump in the minimum supported PHP version to 7.3, the class is unusable. Users are recommended to the Laminas\Db\Sql\Ddl\Floating class as the alternative, which has been available since version 2.4.0.
Removes support for laminas/laminas-eventmanager versions prior to 3.3.
Removes support for laminas/laminas-hydrator versions prior to 3.2.
Removes support for laminas/laminas-servicemanager versions prior to 3.0.3.
Removes support for laminas/laminas-stdlib versions prior to 3.3.
next bugfix release (mini)
replace version constraint in composer.json so repository can be used as replacement of zendframework/zend-db:^2.11.0.#44 fixes preventing \PDO disconnect in some Laminas\Db\Adapter\Platform\AbstractPlatform inheritors (Mysql, Oracle, Postgresql, SqlServer).
Using \PDO as a driver in Platform is not recommended. It can be used safely when wrapped by Laminas\Db\Adapter\Driver\Pdo\Pdo.
#45 fixes using \PDO driver in Oracle platform.
HydratingResultSet::current() to returns null on no data (before false was returned).
It may be potential BC Break for those who depends on strict type comparision here.#43 fixes issue introduced in zendframework/zend-db#146. Now we get correct lastInsertValue in SequenceFeature.
#41 fixes issue introduced in zendframework/zend-db#386 by removing casting integer parameters in PDO adapter.
#33 fixes PDO fetch style check.
#32 fixes PHP 7.4 compatibility.
How can I help you explore Laravel packages today?