Skip to content

Releases: dg/dibi

Released version 4.2.0

25 Nov 20:03
@dg dg
Compare
Choose a tag to compare
  • requires PHP 7.2
  • added Connection::transaction()
  • Connection: added option [result][formatTimeInterval] that sets time-interval column decoding
  • Connection: added option [result][normalize] [Closes #367]
  • Connection, Result: added format 'native'
  • Connection, Results: refactorings, added Result::setFormats()
  • Connection::translateArg() removed (BC break)

Released version 4.1.5

02 Nov 14:07
@dg dg
Compare
Choose a tag to compare
  • compatibility with PHP 8
  • Tracy\Panel: table is sortable
  • PdoDriver: changes error mode do ERRMODE_SILENT (for PHP 8.0)
  • Dibi\Helpers::getSuggestion(): item may be an int, type cast fix (#378)
  • Helpers::getSuggestion(): support for reflection objects moved to Strict

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

Released version 4.1.4

08 Oct 15:21
@dg dg
Compare
Choose a tag to compare
  • FileLogger: fixed object to string conversion with custom driver (#376) (#376)
  • Tracy\Panel: fixed object to string converion error with custom driver (#373)
  • Tracy\Panel: supports multiple connections #365
  • Postgre driver - add connect_type config parameter (#370)
  • MySqliDriver: fixed DateInterval encoding (#371)
  • MySqliDriver: added support for ping (#372)
  • SqlsrvDriver: improved escapeBinary #287
  • PhpStan fixes (#363)

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

Released version 4.1.3

26 Mar 02:49
@dg dg
Compare
Choose a tag to compare
  • SqliteResult: workaround for PHP bug 79414
  • Result: does not drop the value if detection fails
  • MySqliDriver: coalesced password to an empty string (#360)
  • Result::fetchAssoc() DateTime in key is converted to string #359
  • added DummyDriver

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

Released version 4.0.3

26 Mar 02:58
@dg dg
Compare
Choose a tag to compare

This is the last 4.0 release.

  • SqliteResult: workaround for PHP bug 79414
  • Result: does not drop the value if detection fails
  • MySqliDriver: coalesced password to an empty string (#360)
  • Result::fetchAssoc() DateTime in key is converted to string #359
  • Connection: translator is created/destructed in connect/disconnect #352 #354

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

Released version 3.2.4

26 Mar 03:06
@dg dg
Compare
Choose a tag to compare

This is the last 3.2 release.

  • SqliteResult: workaround for PHP bug 79414
  • Result: does not drop the value if detection fails
  • Result::normalize() Fix select float in format of e-notation (#317) v3.2 (#320)

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

Released version 4.1.2

23 Feb 17:40
@dg dg
Compare
Choose a tag to compare
  • Connection: translator is created/destructed in connect/disconnect #352 #354
  • FileLogger: Add option to log errors only (#351)
  • FileLogger: refactoring (#351)
  • PostgreDriver: fixed persistent connections (#348)
  • Add support for escapeLike without % on any side (#346) (BC break)

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

Released version 4.1.1

19 Nov 19:16
@dg dg
Compare
Choose a tag to compare
  • supports PHP 7.4
  • SqlsrvResult: fixed illegal false return value from sqlsrv_fetch_array() (#344)
  • OracleResult: LONG type is textual #342 (#343)

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

Released version 4.1.0

22 Oct 17:34
@dg dg
Compare
Choose a tag to compare
  • getInsertId() is be able to return negative ID's [Closes #336]
  • Connection: added option [result][formatJson] that sets json column decoding (text|object|array) (#335)
  • implemented MySqliDriver::escapeDateInterval()
  • added Driver::escapeDateInterval() (BC break) (#334)
  • Translator: trims spaces from SQL [Closes #326]
  • Use null coalescing operator (#340)

BC breaks:

  • SqlsrvDriver: Correct escaping of special characters (N prefix) (#332)
  • Driver::escapeDate() & escapeDateTime() accepts only DateTimeInterface (BC break)
  • removed deprecated stuff

Released version 4.0.2

11 Mar 20:42
@dg dg
Compare
Choose a tag to compare
  • Dibi\Fluent: add annotation for methods or() (#328)
  • Added new getTypes method (#327)
  • PostgreDriver: fix indexes reflection for indexes on expressions (#323)
  • dibi: fix dibi::*() static methods annotations (#324)
  • Result::normalize() Fix select float in format of e-notation (#317) master (#321)

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