Skip to content

Releases: nette/database

Released version 3.1.3

31 May 15:34
@dg dg
Compare
Choose a tag to compare
  • Connection, ResultSet: added custom row normalizer #138
  • Added support to PostgreSQL identity column (#277)
  • Helpers::initializeTracy() does not create a panel in production mode

Released version 3.1.2

22 Apr 21:39
@dg dg
Compare
Choose a tag to compare
  • Connection, Explorer: beginTransaction(), commit() & rollBack() calls are forbidden in transaction()
  • Connection, Explorer::transaction() call can be nested
  • Connection, Explorer::transaction(): pass self as a callback argument
  • Revert "MySqlDriver driver uses subqueries (#265)"
  • SqlPreprocessor: fixed handling 'IN (?)' #273
  • fixed compatibility with Symfony DebugClassLoader #272
  • improved phpDoc
  • readme: updated badge
  • Helpers::initializeTracy() replaces createDebugPanel()
  • compatibility: improved code hinting

Released version 3.1.1

13 Jan 02:20
@dg dg
Compare
Choose a tag to compare
  • SqlPreprocessor: default array mode is 'set' #268
  • events: added default values & removed magic

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

Released version 3.1.0

25 Nov 23:09
@dg dg
Compare
Choose a tag to compare
  • requires PHP 7.2
  • SqlPreprocessor: support for IN ? and IN (?) [Closes #256]
  • SqlPreprocessor::formatValue() rejects array unless they are explicitly allowed (possible BC break)
  • Connection, Explorer: added transaction()
  • MySqlDriver driver uses subqueries (#265)
  • removed I from interface prefixes, ISupplementalDriver -> Driver
  • renamed Nette\Database\Context -> Explorer
  • deprecated interfaces IRow & IRowContainer

Released version 2.4.11

06 Nov 00:56
@dg dg
Compare
Choose a tag to compare

compatible with PHP 8.0

Released version 3.0.7

02 Nov 13:22
@dg dg
Compare
Choose a tag to compare
  • compatible with PHP 8.0
  • ConnectionPanel: added data-order to be sortable by time
  • ConnectionPanel: Added performance colors (#258)
  • DatabaseExtension: detects Tracy by presence of service @Tracy\BlueScreen nette/di#245
  • ConnectionPanel: bypasses SqlPreprocessor for explain to avoid double processing #259

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

Released version 2.4.10

09 Jun 14:00
@dg dg
0ead096
Compare
Choose a tag to compare
  • Fixed Selection::insert spoiling PDO:lastInsertId (#253)
  • DatabaseExtension: better detection of single/multiple definitions vol 2 #219

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

Released version 3.0.6

09 Feb 17:47
@dg dg
Compare
Choose a tag to compare
  • Helpers: Fix dumpSql() for bool parameters (#251)
  • SqlPreprocessor: recoginzes (SELECT) UNION (SELECT) as parameteric command #248
  • SqlPreprocessor: correctly escapes scalars when parameters are not used
  • ConnectionPanel: uses capturing
  • Revert "ConnectionPanel: params are useless for EXPLAIN"
  • SqlPreprocessor: multi-insert accepts Row objects #247
  • ResultSet: muted warnings
  • Row: compatibility with operator ??

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

Released version 3.0.5

15 Dec 23:05
@dg dg
Compare
Choose a tag to compare
  • ConnectionPanel: params are useless for EXPLAIN
  • DriverException: added params, ConnectionPanel shows them
  • DriverException: mimics original file&line of PDOException
  • PgSqlDriver: stop using adsrc column (#242)

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

Released version 3.0.4

19 Nov 18:31
@dg dg
Compare
Choose a tag to compare
  • supports PHP 7.4
  • SqlPreprocessor: INSERT with multiple arrays is key-dependent #238
  • ConnectionPanel - highlight INSERT|UPDATE|DELETE (#237)

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