Releases: dg/dibi
Releases · dg/dibi
Released version 3.0.7
- PostgreSQL: add support for more than one schema in search_path (#239)
- Result, Row: added support for datetime like 'Jun 17 2015 12:00:00:000AM' #180
- Implemented OracleDriver::
getColumns()
(#233) - FirebirdDriver: Fixed DriverException throw (#231)
- Connection::
translateArgs()
is protected #237
For the details you can have a look at the diff.
Released version 3.0.6
Released version 3.0.5
- Dibi\DateTime: provides BC for serialized older versions #226 (#227)
- Disconnect on not connected driver not fail (#222)
- Correct limit and offset for Firebird Driver (#221)
- Implemented OracleDriver::
getAffectedRows()
- Translator, Fluent: preserve dot in name after AS #224
- Translator: added %N
- composer.json: replaces all dg/dibi versions
- tests/travis: reports code coverage to Coveralls
For the details you can have a look at the diff.
Released version 3.0.4
Released version 3.0.3
- Helpers::detectType() detects VAR_STRING as Type::TEXT
- DibiExtension22: added options 'explain' & 'filter' [Closes #203]
- SqlsrvDriver: fixed: sql server does not respond on non-string credentials
- FirebirdDriver::delimite - Quotation marks for escaping identifiers
For the details you can have a look at the diff.
Released version 3.0.2
- appveyor: testing with SQL Server 2012 & 2014
- SqlsrvReflector::getTables(): gets list of all tables from dbo schema only
- SqlsrvDriver::applyLimit(): fixed limit and offset behaviour for odbc 11+
- SqlsrvReflector: changed constrains metadata loading to sys schema
- added MsSqlDriver
- PdoDriver::applyLimit() is the same as SqlsrvDriver
For the details you can have a look at the diff.
Released version 3.0.1
- PdoDriver: unset remaining references to PDO to allow disconnection
- Helpers::detectType resolves tinyint as integer
- Translator: added modifier
%dt
#198 - Connection::substitute() fixed #197
- Strict: added support for the old way of adding extension methods #195
- MySqliDriver::createException() removed undefined ConnectionException #194
For the details you can have a look at the diff.
Released version 2.3.5
This release marks the end of life of 2.3 series. All users are encouraged to upgrade to the current stable version.
- Helpers::detectType resolves tinyint as integer
- PdoDriver: unset remaining references to PDO to allow disconnection
- DibiFluent: fixed combination of modifier and inner fluent [Closes #192]
- DibiResultInfo: fixed case insensitivity
For the details you can have a look at the diff.
Released version 3.0.0
- Dibi now uses namespaces see API
- minimal required PHP is 5.4.4
- contains loader for former class names, so it should be 100% compatible
- compatible with PHP 7
- minified version is
dibi.phar
- throws fine-grained exceptions:
ConstraintViolationException
,ForeignKeyConstraintViolationException
,NotNullConstraintViolationException
andUniqueConstraintViolationException
- MySQL: type TIME is returned as DateInterval (BC break)
- IDibiDriver
escape()
&unescape()
methods was replaced, see 3490fef (BC break) - drivers: applyLimit throws exception for negative values (BC break)
- Fluent: exports limit & offset as %lmt and %ofs
- Fluent: prevents doubled processing
- Translator: DateTime can be used (only) with %d or %t modifiers, Literal can be used with %sql or %SQL modifiers
- differentiated Type::TIME and Type::DATETIME
- Connection: option 'driver' can contain driver instance #153
- MsSql2005 driver renamed to SqlsrvDriver
- removed driver for SQLite2
and MsSqlDriver (not available with PHP 5.3 or later) replaced with SqlsrvDriver - SqlsrvDriver: added support for LIMIT & OFFSET on SQL Server 2012
- Dibi\Row: shows did you mean? suggestions for missing columns
- BC break: before you add new array property into Dibi\Row via
$row->foo[] = 'bar'
, create this property:$row->foo = [];
- BC break: use
$fluent->offset($offset)->limit($limit)
instead of$fluent->limit("%i, %i", $offset, $limit)
Released version 2.3.4
- DibiFluent::fetch() uses limit only when there is no LIMIT & OFFSET (fixes 2.2.4 on MSSQL)
- DibiFluent: prevents doubled processing
- DibiConnection: option 'driver' can contain driver instance or class name #153
- added DibiSqlsrvDriver as alias for DibiMsSql2005Driver
For the details you can have a look at the diff.