Skip to content

Releases: dg/dibi

Released version 3.0.7

04 Jan 13:46
@dg dg
Compare
Choose a tag to compare
  • 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

31 Jul 14:51
@dg dg
Compare
Choose a tag to compare
  • Bridges\Tracy\Panel: silenced PHP warning
  • FirebirdDriver: silenced PHP warning
  • Dibi\DateTime::__wakeup() doesn't call parent after 8e8e6df #228

For the details you can have a look at the diff.

Released version 3.0.5

20 Jul 14:20
@dg dg
Compare
Choose a tag to compare
  • 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

06 Apr 17:11
@dg dg
Compare
Choose a tag to compare
  • SqlsrvDriver::getInsertId() last inserted id is from last statement instead of last inserted row regardless of the table that produced the value
  • SqlsrvDriver: php7 compatibility
  • removed Strict from exceptions [Closes #216]

For the details you can have a look at the diff.

Released version 3.0.3

21 Feb 01:10
@dg dg
Compare
Choose a tag to compare
  • 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

29 Jan 14:47
@dg dg
Compare
Choose a tag to compare
  • 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

16 Dec 14:21
@dg dg
Compare
Choose a tag to compare
  • 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

16 Dec 14:19
@dg dg
Compare
Choose a tag to compare

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

09 Oct 09:47
@dg dg
Compare
Choose a tag to compare
  • 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 and UniqueConstraintViolationException
  • 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

26 Oct 18:41
@dg dg
Compare
Choose a tag to compare
  • 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.