Releases: dg/dibi
Releases · dg/dibi
Released version 4.2.0
- 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
- 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
- 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
Released version 4.0.3
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
Released version 4.1.2
- 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
Released version 4.1.0
- 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
- 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.