Skip to content

Releases: nette/database

Released version 3.2.1

07 May 19:25
@dg dg
Compare
Choose a tag to compare
  • added reflection for Table, Column, Index, ForeignKey
  • returns date-time as immutable Nette\Database\DateTime (when 'newDateTime' is enabled) #270

Released version 3.2.0

05 Dec 20:44
@dg dg
Compare
Choose a tag to compare
  • requires PHP 8.1
  • added PHP 8 typehints, uses PHP 8.1 features
  • MySqlDriver: DECIMAL with precision=0 is returned as int (BC break)
  • normalizeRow: converts zero-date 0000-00-00 to NULL (BC break)
  • normalizeRow: time columns resets date to 0001-01-01 (BC break)
  • Numeric/decimal data type is detected as FIELD_DECIMAL
  • MySqlDriver: TINYINT(1) is returned as bool (when 'supportBooleans' is enabled)

Released version 3.1.9

02 Nov 23:29
@dg dg
Compare
Choose a tag to compare
  • support for PHP 8.3
  • used PhpStorm Language attribute

Released version 3.1.7

02 Feb 10:58
@dg dg
Compare
Choose a tag to compare
  • composer: allows nette/utils 4.0

Released version 3.1.6

18 Nov 03:55
@dg dg
Compare
Choose a tag to compare
  • support for PHP 8.2
  • ConnectionPanel: detecting source without filesystem check
  • used #[\SensitiveParameter] to mark sensitive parameters
  • cs

Released version 3.1.5

05 Dec 21:02
@dg dg
Compare
Choose a tag to compare
  • SqlTranslator: convert BackedEnum to scalar (thanks @milo)
  • normalizeRow() don't return small float as string #289
  • drivers: updated getForeignKeys() #281
  • ConnectionPanel::initialize() replaces Helpers::initializeTracy()
  • DatabaseExtension: creates service '.explorer' as alias to '.context'
  • PgSqlDriver: support for partitioned tables (#286)
  • PgSqlDriver: getColumns() for materialized view too
  • coding style

Released version 3.1.4

24 Nov 16:40
@dg dg
Compare
Choose a tag to compare
  • support for PHP 8.1
  • Fixed aggregations when group by and having conditions are used (#284)
  • queryArgs() & ResultSet::getConnection() are silently deprecated

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.