Skip to content

Releases: nette/database

Released version 2.4.3

14 Jul 07:40
@dg dg
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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.

Released version 2.3.8

03 Dec 12:38
@dg dg
Compare
Choose a tag to compare
  • Selection::insert() fixed delimiting of FQN sequence name like 'aaa.bbb' #108
  • ActiveRow: optimization
  • tested on AppVeyor
  • __toString handles Throwable errors

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

Released version 2.3.7

09 Oct 18:13
@dg dg
Compare
Choose a tag to compare
  • Selection: Fixed infinite loop when accessing to deleted row
  • SqlsrvDriver: support for limit and offset on SQL Server 2012
  • drivers: fixed applyLimit for $limit = 0
  • drivers: applyLimit() throws exception for negative values (but not when you use page())

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

Released version 2.3.6

14 Sep 18:16
@dg dg
Compare
Choose a tag to compare
  • Row, ActiveRow: shows suggestions for undeclared columns
  • Selection: fixed bug with zero in primary key
  • Selection: referenced cache cleared only for root selection (not in GroupedSelection)
  • SqlsrvDriver::applyLimit(): supports keywords DISTINCT and ALL after SELECT
  • SqlBuilder: removed "AS" keyword in JOINs
  • Structure: added columns analyze for views

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