Skip to content

Releases: dg/dibi

Released version 5.1.1

22 Feb 20:52
@dg dg

Choose a tag to compare

A quality-focused release that hardens dibi's type system and squashes a couple of real-world bugs.

🐛 Bug Fixes

  • PostgreSQL – fixed a type error when passing null as the error code to createException() (#473)
  • PHP 8.5 compatibilityRow::getIterator() now properly casts to array, and Result::normalize() handles null column types without triggering deprecation warnings (#467)
  • Stricter null checking across Connection, DateTime, and Result – replaced loose ?: with ?? to avoid swallowing legitimate falsy values like 0

♻️ Code Refactoring

  • Comprehensive native type improvements – added mixed, void, never, and union types (int|string) to method signatures across drivers, interfaces, and core classes
  • Callable properties normalized to \Closure in HashMap and Result, making the internal type system more predictable
  • Switched to singleline declare(strict_types=1) statements across all source and test files

Released version 5.1.0

06 Aug 22:32
@dg dg

Choose a tag to compare

  • requires PHP 8.2
  • uses PHP 8.2 features
  • supports PHP 8.5
  • readonly & promoted properties
  • optimized global function calls
  • removed support for SQLServer < 2012, PostgreSQL < 9.3

Released version 5.0.2

03 Sep 01:20
@dg dg

Choose a tag to compare

  • Result::normalize() Fixed normalization of "-." numbers
  • Translator: fixed numeric column formatting
  • DibiExtension3: fixed schema
  • PdoDriver: applied #332 #287
  • support for PHP 8.4
  • PascalCase constants
  • Tracy\Panel: fixed type error

Released version 5.0.1

25 Nov 13:08
@dg dg

Choose a tag to compare

  • added DibiExtension3
  • PostgreReflector: detect IDENTITY columns as autoincrement
  • PostgreReflector: fix autoincrement column detection
  • SqliteDriver: disables exceptions (is enabled since PHP 8.3)
  • used PhpStorm Language attribute
  • fix: PDO::errorInfo() can return NULL as a code, but Exception does not accept NULL code
  • Fluent: execute() has conditional return type

Released version 5.0.0

09 Aug 14:39
@dg dg

Choose a tag to compare

  • requires PHP 8.0
  • added object translators (#420)
  • added PHP 8 typehints
  • removed Dibi\Strict

Released version 4.2.8

09 Aug 13:56
@dg dg

Choose a tag to compare

  • drivers: removed auto-free feature

Released version 4.2.7

18 Nov 03:21
@dg dg

Choose a tag to compare

  • support for PHP 8.2
  • Event: detecting source without filesystem check (#428)
  • Panel: typo (#421)

Released version 4.2.6

19 Jan 17:40
@dg dg

Choose a tag to compare

  • Translator: convert BackedEnum to scalar
  • MySqliDriver::getResource() fixed access to resource being closed prior to the call in PHP 8 (#410)
  • coding style

Released version 4.2.5

24 Nov 17:38
@dg dg

Choose a tag to compare

  • support for PHP 8.1
  • Date 0000-01-01 is valid #402
  • Profiler is not used in CLI mode
  • Helpers::detectType(): detect PostgreSQL range types as Type::TEXT
  • PostgreReflector: fix reflection of matview columns on PostgreSQL 12+

Released version 4.2.3

23 Jul 08:50
@dg dg

Choose a tag to compare