dibi

Dibi - smart database abstraction layer

OTHER License

Downloads
3.2M
Stars
487
Committers
87

Bot releases are hidden (Show)

dibi - Released version 2.2.4

Published by dg almost 9 years ago

  • Result: fixed normalization of float when ends with "0" #189
  • DibiFluent::fetch(): fixed limit clause duplication #188 #186 #185
  • DibiFluent: removed keyword AS from SQL #172
  • DibiObject: fixed compatibility with PHP 7
  • Postgre: fixed %like escaping #159

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

dibi - Released version 2.3.3

Published by dg almost 9 years ago

  • Result: fixed normalization of float when ends with "0" #189
  • DibiFluent::fetch(): fixed limit clause duplication #188 #186 #185
  • DibiFluent: removed keyword AS from SQL #172
  • DibiObject: fixed compatibility with PHP 7
  • DibiTranslator: deprecated support for hex number in strings '0xFF' (BC break)

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

dibi - Released version 3.0.0

Published by dg about 9 years ago

  • 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 3490fef8e491fab97908ee35b2c00224becef0e2 (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)
dibi - Released version 2.3.2

Published by dg over 9 years ago

  • fixes in Oracle driver
  • Tracy panels: Oracle uses EXPLAIN PLAN FOR
  • Nette extensions: added 'autowired' configuration
  • DibiPdoDriver::escape() added support for dblib and 'version' specified in options
dibi - Released version 2.3.1

Published by dg over 9 years ago

  • added vector icon for Tracy 2.3.0
  • MsSql2012 allow using of OFFSET
  • dibi: named connections are again allowed
dibi - Released version 2.3.0

Published by dg almost 10 years ago

  • added set of unit tests, see Travis, works with HHVM 3.4
  • DibiTranslator: respect %if blocks for %lmt and %ofs as well #145 #87
  • Oracle: adds support for login schema option
  • Postgre: added support for pg_ping #144
  • PDO driver: improved and fixed escaping
  • Sqlite: fixed detection of autoincrement column
  • FirePhpLogger: Allow user defined size of json stream chunks #148
  • removed bridge for Nette 2.0
  • deprecatesdibi::activate()

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

dibi - Released version 2.2.3

Published by dg almost 10 years ago

This release contains a lot of fixes. For the details you can have a look at the diff.

dibi - Released version 2.1.3

Published by dg almost 10 years ago

Dibi 2.1.3 has just been released and this release marks the end of life of the 2.1 series. All users are encouraged to upgrade to the current stable version.

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

dibi - Released version 2.0.5

Published by dg almost 10 years ago

Dibi 2.0.5 has just been released and this release marks the end of life of the 2.0 series. All users are encouraged to upgrade to the current stable version.

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

dibi - Released version 2.2.2

Published by dg over 10 years ago

fixed lazy loading

dibi - Released version 2.2.1

Published by dg over 10 years ago

Works without Nette Debugger ;-)

dibi - Released version 2.2.0

Published by dg over 10 years ago

We'd like to announce the dibi 2.2.0. It contains a lot of improvements contributed by 14 authors.

  • added support for Nette 2.2 & Tracy
  • removed 32bit limitation for DateTime (2038 bug) #110
  • added support for DateTimeInterface #130
  • implemented getForeignKeys() in DibiMySqlReflector #102
  • added support for reflection of materialized views in PostgreSQL #133
  • added option to return affected rows to DibiFluent::execute #90
  • DibiConnection::loadFile supports triggers
  • fixed casting to float #127
  • updated examples, SQlite3 is used instead of SQLite2 and Tracy instead of Nette Debugger

For the details about the changes you can have a look at the Github diff.

dibi - Released version 2.1.2

Published by dg over 10 years ago

  • fixed casting to float #127
  • DibiRow::asDateTime() works correctly with time #101
  • updated examples, SQlite3 is used instead of SQLite2
  • some typos

For the details about the changes you can have a look at the Github diff.

dibi - Released version 2.0.4

Published by dg over 10 years ago

  • fixed casting to float #127
  • DibiResult and DibiRow::asDateTime() works correctly with time #101
  • some typos

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

dibi - Released version 2.1.1

Published by dg about 11 years ago

dibi - Released version 1.0

Published by dg over 11 years ago

dibi - Released version 2.0.2

Published by dg over 11 years ago

dibi - Released version 2.0.0

Published by dg over 11 years ago

dibi - Released version 1.1

Published by dg over 11 years ago

dibi - Released version 1.2

Published by dg over 11 years ago