Releases: dg/dibi
Releases · dg/dibi
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.
Released version 4.0.1
- PdoDriver: check for misconfigured PDO connections resource (#294)
- Connection: added config option onConnect (#303)
- Connection::
update()
Support updating multiple tables at once (#316) - Connection: accepts Driver instance (fixes 51fa3b9) #315
- fix: setType should accept null as type (#309)
- fix TypeError:
substr()
expects parameter 1 to be string, null given (#306) - OdbcDriver: added option 'microseconds'
- Dibi\Fluent: add annotations for methods
and()
,asc()
,desc()
#298 (#299) - drivers: config is not passed via reference (BC break)
- Firebird: Add
escapeLike()
(#300,#305) - DibiExtension: compatibility with Nette DI 3.x (#297)
- PdoDriver::
getInsertId()
fixed - Sqlite3Driver becomes alias for SqliteDriver
For the details you can have a look at the diff.