All notable changes to this project will be documented in this file, in reverse chronological order by release.
- #110 prepared the documentation for publication at https://zendframework.github.io/zend-db/
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #100 fixes the JOIN behavior to re-allow selecting an empty column set from the joined table.
- #106 fixes an issue in the test suite when ext/pgsql is enabled, but no databases are avaiable.
- #92 adds the class
Zend\Db\Sql\Join
for creating and aggregating JOIN specifications. This is now consumed by allZend\Db\Sql
implementations in order to represent JOIN statements. - #92 adds support for JOIN operations to UPDATE statements.
- #92 adds support for joins
to
AbstractTableGateway::update
; you can now pass an array of specifications via a third argument to the method. - #96 exposes the package as
config-provider/component, but adding:
Zend\Db\ConfigProvider
, which maps theAdapterInterface
to theAdapterServiceFactory
, and enables theAdapterAbstractServiceFactory
.Zend\Db\Module
, which does the same, for a zend-mvc context.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #71 updates the
Pgsql
adapter to allow passing the connection charset; this can be done with thecharset
option when creating your adapter. - #76 fixes the behavior of
Zend\Db\Sql\Insert
when an array of names is used for columns to ensure the string names are used, and not the array indices. - #91 fixes the behavior of
the
Oci8
adapter when initializing a result set; previously, it was improperly assigning the count of affected rows to the generated value. - #95 fixes the
IbmDb2
platform'squoteIdentifier()
method to properly allow#
characters in identifiers (as they are commonly used on that platform).
- Nothing.
- Nothing.
- Nothing.
- #85 and
#87 update the code base
to be forwards compatible with:
- zend-eventmanager v3
- zend-hydrator v2.1
- zend-servicemanager v3
- zend-stdlib v3
- #49 Add docbook documentation.
- Nothing.
- Nothing.
- #55 Implement FeatureSet canCallMagicCall and callMagicCall methods
- #56 AbstractResultSet::current now does validation to ensure an array.
- #58 Fix unbuffered result on MySQLi.
- #59 Allow unix_socket parameter
- Nothing.
- Nothing.
- Nothing.
- #31 fixes table gateway update when there is a table alias utilized.
- Nothing.
- Nothing.
- Nothing.
- #43 unset and get during an insert operation would throw an InvalidArgumentException during an insert.
- #42 updates the component to use zend-hydrator for hydrator functionality; this provides forward compatibility with zend-hydrator, and backwards compatibility with hydrators from older versions of zend-stdlib.
- #15 adds a new predicate,
Zend\Db\Sql\Predicate\NotBetween
, which can be invoked viaSql
instances:$sql->notBetween($field, $min, $max)
. - #22 extracts a factory,
Zend\Db\Metadata\Source\Factory
, fromZend\Db\Metadata\Metadata
, removing the (non-public)createSourceFromAdapter()
method from that class. Additionally, it extractsZend\Db\Metadata\MetadataInterface
, to allow creating alternate implementations.
- #27 deprecates the
constants
JOIN_OUTER_LEFT
andJOIN_OUTER_RIGHT
in favor ofJOIN_LEFT_OUTER
andJOIN_RIGHT_OUTER
.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #29 removes the required
second argument to
Zend\Db\Predicate\Predicate::expression()
, allowing it to be nullable, and mirroring the constructor ofZend\Db\Predicate\Expression
.
- #40 updates the
zend-stdlib dependency to reference
>=2.5.0,<2.7.0
to ensure hydrators will work as expected following extraction of hydrators to the zend-hydrator repository. - #34 fixes retrieval of constraint metadata in the Oracle adapter.
- #41 removes hard dependency on EventManager in AbstractTableGateway.
- #17 removes an executable bit on a regular file.
- #3 updates the code to use closure binding (now that we're on 5.5+, this is possible).
- #9 thoroughly audits the OCI8 (Oracle) driver, ensuring it provides feature parity with other drivers, and fixes issues with subselects, limits, and offsets.