Skip to content

2.12.0

Compare
Choose a tag to compare
@laminas-bot laminas-bot released this 22 Feb 22:30
· 144 commits to 2.21.x since this release
2.12.0
80cbba4

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 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.

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 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.

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

Enhancement

Bug