dibi

Dibi - smart database abstraction layer

OTHER License

Downloads
3.2M
Stars
487
Committers
87

Bot releases are visible (Hide)

dibi - Released version 5.0.2

Published by dg about 2 months ago

  • Result::normalize() Fixed normalization of "-." numbers
  • Translator: fixed numeric column formatting
  • DibiExtension3: fixed schema
  • PdoDriver: applied #332 #287
  • support for PHP 8.4
  • PascalCase constants
  • Tracy\Panel: fixed type error
dibi - Released version 5.0.1 Latest Release

Published by dg 11 months ago

  • added DibiExtension3
  • PostgreReflector: detect IDENTITY columns as autoincrement
  • PostgreReflector: fix autoincrement column detection
  • SqliteDriver: disables exceptions (is enabled since PHP 8.3)
  • used PhpStorm Language attribute
  • fix: PDO::errorInfo() can return NULL as a code, but Exception does not accept NULL code
  • Fluent: execute() has conditional return type
dibi - Released version 5.0.0

Published by dg about 1 year ago

  • requires PHP 8.0
  • added object translators (#420)
  • added PHP 8 typehints
  • removed Dibi\Strict
dibi - Released version 4.2.8

Published by dg about 1 year ago

  • drivers: removed auto-free feature
dibi - Released version 4.2.7

Published by dg almost 2 years ago

  • support for PHP 8.2
  • Event: detecting source without filesystem check (#428)
  • Panel: typo (#421)
dibi - Released version 4.2.6

Published by dg over 2 years ago

  • Translator: convert BackedEnum to scalar
  • MySqliDriver::getResource() fixed access to resource being closed prior to the call in PHP 8 (#410)
  • coding style
dibi - Released version 4.2.5

Published by dg almost 3 years ago

  • support for PHP 8.1
  • Date 0000-01-01 is valid #402
  • Profiler is not used in CLI mode
  • Helpers::detectType(): detect PostgreSQL range types as Type::TEXT
  • PostgreReflector: fix reflection of matview columns on PostgreSQL 12+
dibi - Released version 4.2.3

Published by dg about 3 years ago

  • SqlsrvDriver: fixed after 40ad77cf #391 #392
dibi - Released version 4.2.2

Published by dg over 3 years ago

  • Connection::transtaction() call can be nested
  • Connection::transaction(): pass self as a callback argument
  • Connection: begin(), commit() & rollback() calls are forbidden in transaction()
  • SqlsrvDriver: workaround for "Driver's SQLSetConnectAttr failed on ODBC <=13" bug
  • Row: fixed ?? usage
dibi - Released version 4.2.1

Published by dg over 3 years ago

  • PostgreSQL driver: escaping of save point name (#383)
  • PostgreReflector: removed version check (#381)
  • Strict: refactoring
dibi - Released version 4.2.0

Published by dg almost 4 years ago

  • 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)
dibi - Released version 4.1.5

Published by dg almost 4 years ago

  • 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.

dibi - Released version 4.1.4

Published by dg about 4 years ago

  • 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.

dibi - Released version 3.2.4

Published by dg over 4 years ago

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.

dibi - Released version 4.0.3

Published by dg over 4 years ago

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.

dibi - Released version 4.1.3

Published by dg over 4 years ago

  • 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.

dibi - Released version 4.1.2

Published by dg over 4 years ago

  • 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.

dibi - Released version 4.1.1

Published by dg almost 5 years ago

  • 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.

dibi - Released version 4.1.0

Published by dg almost 5 years ago

  • 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
dibi - Released version 4.0.2

Published by dg over 5 years ago

  • 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.