2.12.0
Release Notes for 2.12.0
Added
-
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 composesLaminas\Db\Adapter\AdapterAwareTrait
, the delegator will inject the instance associated with theLaminas\Db\Adapter\AdapterInterface
service via the classsetDbAdapter()
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.
Removed
-
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 theLaminas\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.
Fixed
- Fixes issues when trying to execute prepared queries with named parameters that was introduced in 2.9.3.
2.12.0
- Total issues resolved: 0
- Total pull requests resolved: 9
- Total contributors: 7
Bug,Enhancement
Bug,Feature Removal
- 184: Remove Float class thanks to @samsonasik
Enhancement
- 182: Added MS SQL server that can be used to better test the integration. thanks to @slaff
- 172: Fixes #22 add JOIN_FULL_OUTER for full outer join thanks to @samsonasik
- 166: Add support for PHP 8.0 thanks to @samsonasik
- 163: Adds delegator for AdapterAwareInterface thanks to @froschdesign
- 162: add resultPrototype getter for inspection thanks to @chris-kruining