Nette Database Versions Save

💾 A database layer with a familiar PDO-like API but much more powerful. Building queries, advanced joins, drivers for MySQL, PostgreSQL, SQLite, MS SQL Server and Oracle.

v3.2.1

1 week ago
  • added reflection for Table, Column, Index, ForeignKey
  • returns date-time as immutable Nette\Database\DateTime (when 'newDateTime' is enabled) #270

v3.1.5

5 months ago
  • 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

v3.2.0

5 months ago
  • 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)

v3.2.0-RC

5 months ago
  • requires PHP 8.1
  • added PHP 8 typehints, uses PHP 8.1 features
  • normalizeRow: converts zero-date 0000-00-00 to NULL (BC break)
  • normalizeRow: time columns resets date to 0001-01-01 (BC break)
  • MySqlDriver: DECIMAL with precision=0 is returned as int (BC break)
  • MySqlDriver: TINYINT(1) is returned as bool (BC break)

v3.1.9

6 months ago
  • support for PHP 8.3
  • used PhpStorm Language attribute

v3.1.7

1 year ago
  • composer: allows nette/utils 4.0

v3.1.6

1 year ago
  • support for PHP 8.2
  • ConnectionPanel: detecting source without filesystem check
  • used #[\SensitiveParameter] to mark sensitive parameters
  • cs

v3.1.4

2 years ago
  • support for PHP 8.1
  • Fixed aggregations when group by and having conditions are used (#284)
  • queryArgs() & ResultSet::getConnection() are silently deprecated

v3.1.3

2 years ago
  • Connection, ResultSet: added custom row normalizer #138
  • Added support to PostgreSQL identity column (#277)
  • Helpers::initializeTracy() does not create a panel in production mode

v3.1.2

3 years ago
  • 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