Bot releases are hidden (Show)
Published by Ocramius about 7 years ago
This release fixes an incorrect optimisation in
Doctrine\DBAL\Query\Expression\CompositeExpression
which
could have led to dropping query expression components.
Also, DBAL was ignoring some important platform settings
when determining which cache keys to use when looking for
result caches: that could have led to sharing caches for
results produced by different DB connections.
Total issues resolved: 2
Published by Ocramius about 7 years ago
This release fixes an unintentional BC break that
prevented using DateTimeImmutable
interfaces
in the pre-existing date-related types.
Users are still encouraged to migrate to the newly
introduced immutable date types.
Total issues resolved: 2
Published by Ocramius about 7 years ago
This is a minor release of Doctrine DBAL that aggregates over 200 fixes
and improvements that we have tested, checked, reviewed and stabilised
over the last year.
This release includes all changes of the 2.5.x
series, as well as
feature additions and improvements that couldn't land in patch releases.
Backwards Compatibility Breaks
This release comes with few potential Backwards Compatibility (BC)
breaks that, while unlikely affecting consumers of the library, are
to be considered.
Please take some time to read the UPGRADE.md documentation.
The issues related to these BC breaks are listed below.
Dependency requirement changes
The dependency requirements for DBAL 2.6.0 onwards have also changed:
Deprecations
json_array
type is now to be considered deprecatedDoctrine\DBAL\Schema\Table#renameColumn()
API is deprecatedDoctrine\DBAL\Connection#getDatabasePlatform()
mayNew features
This release introduces a few major additions:
JsonType
that maps to JSON column types when supportedDateIntervalType
DateTimeImmutableType
DateTimeTzImmutableType
DateImmutableType
TimeImmutableType
PDO::FETCH_OBJ
emulation for mysqli
and oci8
pdo_pgsql
mysqli
Improvements and Fixes
This release comes with a myriad of improvements and
bug-fixes that should improve both compatibility with
exotic database engines and overall performance.
We focused on stability and reliability of
existing features, and improved the overall consistency
of cross-platform behavior of the library.
A detailed list of fixes can be found below.
Total issues resolved: 224
BC Breaks:
fetch()
and fetchAll()
, ensuring compatibility with the PDOStatement
signature thanks to @phansysResultStatement#fetchAll()
must define 3 arguments in order to be compatible with PDOStatement#fetchAll()
thanks to @phansysDeprecations:
Table#renameColumn()
and mark it as deprecated thanks to @aivusTable#renameColumn()
and mark it as deprecatedjson_array
type internally thanks to @lcobucciNew Features:
application_name
to PostgreSQL driver connection thanks to @davividalserverVersion
to be explicitly unspecified (null
) thanks to @BreiteSeiteDateInterval
type thanks to @vbartuseviciusjson
type that doesn't have the flaws of json_array
thanks to @Taluusslrootcert
connection option to the pdo_pgsql
driver thanks to @peterjmitMysqliStatement
to emulate PDO::FETCH_OBJ
behaviorDateInterval
typesslrootcert
connection option to the pdo_pgsql
driverDateTimeImmutable
default_dbname
to pdo_pgsql driver, used to override the default database thanks to @kimhemsoeIS NULL
checking in Connection#delete()
and Connection#update()
generated criteria, allowing for null
column searches thanks to @jnvsorBug Fixes:
DISTINCT
queries with LIMIT
and no ORDER
on SQLServer 2012 thanks to @billschallerSqlConsoleCommand
should show results of queries containing RETURNING
thanks to @bountinDBALException
message thanks to @chadrienDocrine\DBAL\Exception\DriverException
with nested drivers thanks to @mathrocConnection#rollBack()
method - case sensitivity thanks to @rawkodeSchemaTool
does not generate DDL for MySQL unsigned float
SchemaTool
, which does not generate DDL for MySQL unsigned float
DISTINCT
queries with LIMIT
and no ORDER
on SQLServer 2012Connection#rollBack()
docblockConnection#rollBack()
method - case sensitivityModifyLimitQueryTest::testModifyLimitQuerySubSelect()
fails on OracleDB thanks to @DeepDiver1975SchemaManagerFunctionalTestCase::testDropsDatabaseWithActiveConnections()
on OracleDB thanks to @DeepDiver1975Connection#rollBack()
method thanks to @kadalaDateIntervalType
supports conversion of invalid values thanks to @MisatoTremorDateInterval
database value truncation (string overflow) thanks to @vbartuseviciusLIMIT
for MS SQL Server thanks to @morozovModifyLimitQueryTest
, which may otherwise fail depending on database settings and provisioning thanks to @Deltachaos-1
as (-1)
for postgres 9.4 thanks to @DeepDiver1975COMMENT
to custom types thanks to @fkrauthanassertValidIdentifier()
is too restrictive against OracleDB schema object naming rules thanks to @IMP3ter.
symbol in sequence names thanks to @deeky666CREATE
/DROP DATABASE
support on SQL Server thanks to @deeky666"application_name"
connection parameter tests for PostgreSQL < 9.2 thanks to @deeky666exec()
method to not execute queries via prepared statements thanks to @deeky666testListTableColumns
checked keys thanks to @mdwheeleDB2SchemaManager#listTableNames()
does not call filterAssetNames
thanks to @asgrimConnection#quote()
thanks to @lolli42Connection#quote()
parameter hinting, incompatible with PDO::PARAM_*
constants thanks to @helsnerConnection#quote()
parameter hinting, now compatible with PDO::PARAM_*
constants thanks to @helsnerImprovements:
detectDatabasePlatform
only once thanks to @rosierConnection#connect()
calls thanks to @rosiercharset
parameter thanks to @billschallerIBMDB2
driver functional tests thanks to @deeky666convertToDatabaseValue
thanks to @billschallerrequiresSQLCommentHint
in DateIntervalType
thanks to @vbartuseviciusdoModifyLimitQuery
for the SQLServer2012Platform
, which uses OFFSET... FETCH
instead of LIMIT
detectDatabasePlatform
only oncetsvector
type as text
in PostgreSQL Platformapplication_name
to PostgreSQL driver connectionConnection#connect()
callsserverVersion
to be explicitly unspecified (null
)charset
parameterIBMDB2
driver functional testsconvertToDatabaseValue
Doctrine\DBAL\Connection::transactional()
requiresSQLCommentHint
in DateIntervalType
convertToDatabaseValue
DecimalType
thanks to @JHGittyReservedWordsCommand
-l
or --list
parameter to the usage hints thanks to @rquadlingself
thanks to @mrclayLIMIT
/OFFSET
when selecting from a sub-SELECT
thanks to @DeltachaosCompositeExpression#count()
method rather than count($this)
thanks to @Progdomcall_user_*
usages thanks to @kimhemsoeConnection
thanks to @mnapoliConversionException::conversionFailedSerialization()
thanks to @greg0ireMasterSlaveConnection::connect()
thanks to @jnvsorQueryBuilder::setParameter()
thanks to @UFOMelkorDBALException
implement Throwable
thanks to @svyckaTable#getColumns()
performance by reducing its runtime complexity thanks to @evgpisarchikDriver
namespace thanks to @AlessandroMinoccheriMasterSlaveConnection
namespace thanks to @AlessandroMinoccheriQuery
namespace thanks to @AlessandroMinoccheriSharding
namespace thanks to @AlessandroMinoccheriTools
namespace thanks to @AlessandroMinoccheriConnectionException
in the AbstractMySQLDriver
thanks to @SpacePossumDocumentation Improvements:
Connection#rollBack()
docblock thanks to @slidertearDown
of some functional test cases thanks to @deeky666GUID
type in the types documentation thanks to @tolbonwrapperClass
parameter is invalid thanks to @ivanbogomoloffDriver\Connection
in the documentation thanks to @b0nd0Driver
implementation details in the documentation thanks to @b0nd0Chore:
Doctrine\Tests
namespace to composer autoload-dev
thanks to @guilhermeblancoREADME.md
nicer badges, cleanup, 2.3 dropped thanks to @TomasVotrubabin
script to composer.json
thanks to @stofdoctrine/common
2.6
thanks to @nicolas-grekasautoload-dev
for the test suite thanks to @Tobion2.6.0-DEV
2.5
build status to README.md
Doctrine\Tests
namespace to composer autoload-dev
README.md
nicer badges, cleanup, 2.3 droppedbin
script to composer.json
doctrine/common
2.6
tearDown
of some functional test casesautoload-dev
for the test suite2.4.x
build status from README.md
thanks to @Ocramiuspdo_pgsql
failures on Travis-CI again thanks to @deeky666getMock()
with createMock()
thanks to @deeky666docs/en/_theme
submodule references thanks to @eibtPublished by Ocramius about 7 years ago
This release fixes a number of issues around the PostgreSQL,
OracleDB and MySQL platforms database introspection.
Connection DSN generation fixes were applied for the
SQLAnywhere driver.
Corrections on how record fetching mode have been applied to
the DB2 driver.
Fixes were applied to the handling of cursors and result
caching with pdo_sqlsrv.
Total issues resolved: 16
fetchAll(PDO::FETCH_COLUMN)
on DB2 with Portability wrapper thanks to @morozovpdo_sqlsrv
thanks to @deeky666pdo_sqlsrv
if not executed yet thanks to @deeky666_
in postgresql LIKE
condition with any pg_
prefix to prevent confusion with the wildcard character thanks to @blackbjorngetListTableColumnsSQL
returns columns ordered by position instead of by name thanks to @mdwheeleindex_name != constraint_name
thanks to @SkydiveMariusSequence::isAutoIncrementsFor()
is not normalising PK column, and is unable to distinguish different casing thanks to @dhensbySequence::isAutoIncrementsFor()
is now case-insensitive thanks to @dhensbySQLParserUtils::getPlaceholderPositions()
fails if there are quoted strings containing only backslashes thanks to @mondrakeCOMMENT
part in DDL statement thanks to @mondrakePublished by Ocramius over 7 years ago
This release fixes some regressions introduced in OracleDB support in 2.5.11.
Specifically, closing a cursor caused an ORA-01002
exception to be raised
in some scenarios.
Further fixes include:
bindValue()
Total issues resolved: 8
Published by Ocramius over 7 years ago
This release fixes a number of inconsistencies around prepared statements
when closeCursor()
is called, or when a prepared statement is re-used
multiple times.
Total issues resolved: 5
Published by Ocramius over 7 years ago
This release fixes:
date
and datetimetz
OracleDB type introspection: these two typesdatetime
Total issues resolved: 4
Published by Ocramius over 7 years ago
This release fixes an issue with type information passed to Connection#update()
,
which was incorrectly handled if the updated columns and the identifier columns
had equivalent keys.
Also, the generated current date and time SQL expressions for SQL Server were fixed.
Total issues resolved: 4
Published by Ocramius almost 8 years ago
This release fixes some issues around LIMIT/OFFSET handling in DB2, OracleDB, SQL Server:
Total issues resolved: 4
Published by Ocramius almost 8 years ago
This release fixes some OracleDB and PostgreSQL specific issues.
ARRAY[]
expression on PostgreSQLTotal issues resolved: 9
Published by Ocramius almost 8 years ago
Published by Ocramius about 8 years ago
Total issues resolved: 40
$this
ORDER BY
Published by Ocramius almost 9 years ago
Total issues resolved: 7
Published by Ocramius almost 9 years ago
Published by Ocramius almost 9 years ago
Published by deeky666 about 9 years ago
Published by deeky666 almost 10 years ago
Published by deeky666 almost 10 years ago
Published by beberlei almost 10 years ago
We are happy to announce the immediate availability of Doctrine DBAL 2.5.0 Stable. This release is a landmark in making DBAL more consistent and stable than it ever was.
Starting with 2.5 DBAL will have a new release-master, Steve Müller. Steve has been working on DBAL for the last two years and contributed many of the big features that make up this fantastic release. He will replace Benjamin Eberlei who was the release master since version 2.0.
You can install DBAL through Composer:
{
"require": {
"doctrine/dbal": "2.5.0"
}
}
This version is mostly backwards compatible with only some minor breaks, when using PDO IBM, creating a custom platform or using non-default DateTime formats. You can see the breaks in the UPGRADE.md file. DBAL 2.5 is also compatible with ORM 2.4, there is no need to wait for ORM 2.5 to be released.
The following list contains the major new features of DBAL:
See all the changes for the 2.5.0 Release on Jira, an amazing total of 316 issues:
If you find any problems or backwards compatbililty breaks with this release please report them on JIRA or open up Pull Requests on Github.
Published by Ocramius about 10 years ago
Total issues resolved: 12