Skip to content

Releases: nette/database

Released version 2.4.6

01 Jun 15:51
@dg dg

Choose a tag to compare

  • Helpers::detectTypes() added support for TIMESTAMP WITH TIME ZONE in PostgreSQL #163 (#198)
  • ResultSet: reads fraction of seconds to DateInterval (#197)
  • ActiveRow: __isset checks the existence of the relation (#196)
  • ConnectionPanel: compatibility with Tracy 2.5

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

Released version 2.4.5

06 Feb 14:41
@dg dg

Choose a tag to compare

  • fixed PHP 7.2 compatibility (#190)
  • SqlBuilder: UPDATE supports ORDER BY (#179)
  • NDBT return types changed from IRow to ActiveRow

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

Released version 2.4.4

27 Jul 10:56
@dg dg

Choose a tag to compare

  • supports PHP up to 7.2
  • SqlPreprocessor: workaround for PDO bug #74996 when looking for ? in prepared query #177
  • composer: requires nette/utils 2.4 for PHP 7.2

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

Released version 2.4.3

14 Jul 07:40
@dg dg

Choose a tag to compare

  • fetchPairs() supports floats in keys
  • coding style: fixes, lowercase true/false/null
  • SqliteDriver::getColumns() fix regexp for autoincrement recognition (#168)
  • DatabaseExtension: added support for constants in options values
  • OciDriver: do not use meta, driver is not meta-aware

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

Released version 2.3.11

21 Feb 16:07
@dg dg

Choose a tag to compare

  • MySqlDriver: formatLike() uses quote()
  • tests: fixed compatibility with PHP 7.1
  • @return self -> static

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

Released version 2.4.2

02 Feb 02:51
@dg dg

Choose a tag to compare

  • Insert to table with multi primary or without autoincrement primary (#105)(#41)(#80)(#102)
  • Connection::getInsertId() is normalized to string
  • fixed phpDoc
  • DatabaseExtension: fixed compatibility with nette/di
  • SqlBuilder: lose parameters for aliasses (#150)
  • MySqlDriver: formatLike() uses quote()

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

Released version 2.4.1

18 Oct 13:47
@dg dg

Choose a tag to compare

  • SqlPreprocessor: escapes primary value of IRow #144
  • Selection: missing primary key can be FALSE, '0' or '' #145
  • ConnectionPanel: preserves whitespaces in explain panel #134
  • Sqlite: fixed datetime column type
  • SqlBuilder: added support for limit in update and delete queries (#140)
  • tests: fixed compatibility with PHP 7.1

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

Released version 2.3.10

18 Oct 13:32
@dg dg

Choose a tag to compare

  • SqlPreprocessor: escapes primary value of IRow #144
  • Selection: missing primary key can be FALSE, '0' or '' #145

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

Released version 2.4.0

28 Jun 21:31
@dg dg

Choose a tag to compare

  • requires PHP 5.6
  • NDBT: Added alias support #119
  • NDBT: added new method whereOr (#111)
  • NDBT: Added ability to specify left join conditions
  • NDBT: performance, prevents multiple parse of query parts by regexp (#131)
  • NDBT: queries with limit/offset are automatically ordered by primary key
  • NDBT: page() for $page < 1 returns no rows
  • drivers: applyLimit throws exception for negative values (BC break)
  • Improved checking of unique table name
  • Helpers::detectType() uses more strict type patterns
  • SqlPreprocessor: detects modes inside SQL string, before ?
  • Selection: fixed columns cache in repeated use of same selection
  • SqlBuilder: The same conditions with different parameter is not skipped #109, #14
  • PgSqlDriver::getTables() returns materialized views (#136)
  • SqlsrvDriver::formatDateTime(): format datetime by ISO 8601
  • Connection: fifth argument is deprecated
  • uses Nette\SmartObject & StaticClass

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

Released version 2.3.9

31 May 17:17
@dg dg

Choose a tag to compare

  • Helpers::detectType() detects DATERANGE as text
  • Structure::analyzeForeignKeys() fixed lowercased name #122

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