PackageTrack
Sign in Get early access

nette/database

💾 Nette 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.9 7.1M downloads/mo #2785 most downloaded on Packagist nette/database

What this package is like to depend on

Last release 4 months ago

22 Apr 2026

Ships fairly regularly

a new release about every 5 months

Rarely documented

notes for 9 of 56 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

57 releases · first in 2014

2 releases in the last 12 months

see the full history below

Release timeline

57 releases · May 2014 to Apr 2026
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 57
  1. v4.0.0-RC1 29 Aug 2024 pre-release

    Nothing published for this version

  2. v3.2.9 22 Apr 2026
    Release notes

    This release brings a set of focused exception types that let you catch specific database failure modes (deadlocks, lock timeouts, check constraint violations, lost connections) instead of wrestling with generic driver errors. ActiveRow and Selection now expose getExplorer() for direct access to the underlying Explorer, and the reflection layer has been refactored for more consistent metadata across drivers.

    ✨ New Features

    • getExplorer()ActiveRow and Selection now expose the underlying Explorer instance, no more jumping through hoops to get back to it
    • DeadlockException – catch deadlocks and serialization failures distinctly from other driver errors, so retry logic can stay surgical
    • LockTimeoutException – a dedicated exception for lock wait timeouts
    • CheckConstraintViolationException – check constraint violations now get their own class instead of being lumped with generic constraint errors
    • ConnectionLostException – distinguish dropped connections from other driver failures, making reconnect strategies much cleaner
    • Docker Compose setup – a ready-to-run Compose configuration for spinning up test databases locally

    ♻️ Code Refactoring

    • Drivers reflection output – unified FK row shape across drivers, simplified MsSql getIndexes SQL, parameterized SQLite PRAGMA queries, and ForeignKey::$name is now a non-nullable string

    📦 Maintenance

    • Improved PHPDoc descriptions, phpDoc types, and native type declarations across the codebase
    Open source →
  3. v3.2.8 30 Oct 2025
    Release notes
    • support for PHP 8.5
    • OciDriver: in case of applyLimit with different offset returns always the same result
    Open source →
  4. v3.2.7 03 Jun 2025
    Release notes
    • SqlPreprocessor: IN() inserts parameters directly and bypasses binding
    • added GroupedSelection::refreshData()
    • Reflection: added comment to Column and Table
    • Structure: removed unused parameter
    Open source →
  5. v3.2.6 12 Jan 2025
    Release notes
    • fixed performance issue of ActiveRow #312
    • ConnectionPanel: added whole stack trace listing
    • ConnectionPanel: fixed source resolution
    • ConnectionPanel: table does not exceed the window
    • ConnectionPanel: convert templates to Latte-like syntax
    • Selection: factory methods moved to Explorer
    • SqlPreprocessor: added braces around where conditions
    • SqlPreprocessor: fixed bugs in WHERE
    • big refactoring of SqlPreprocessor
    • deprecated Driver::SupportSubselect
    • Selection::fixedAssoc() silently deprecated
    • SQLite: column type can be omitted #315
    Open source →
  6. v3.2.5 18 Dec 2024
    Release notes
    • ResultSet: added fetchList() as alias for fetchFields() & shortcuts
    • ResultSet::fetchAssoc() returns associative array by default, added shortcuts
    • removed dead code
    Open source →
  7. v3.2.4 28 Aug 2024
    Release notes
    • ResultSet, Selection: fetchPairs() accepts callback
    • Selection: support for generics
    • drivers: improved getting db structure
    • Reflection improvements
    • normalizeRow(): removed extra float handling #307
    • Helpers::detectType() supports 'INT UNSIGNED'
    • md5 replaced with xxHash
    • removed return type 'never' to allow inheritance #303
    • MySQL: supportBooleans renamed to convertBoolean
    • PascalCase constants
    • MySqlDriver::initialize() removed support for 'utf8' charset before 5.5.3
    • Selection: fixed type error on empty aggregations #309
    • SqlsrvDriver::applyLimit() removed support for SQL Server < 2012
    • support for PHP 8.4
    Open source →
  8. v3.2.1 07 May 2024
    Release notes
    • added reflection for Table, Column, Index, ForeignKey
    • returns date-time as immutable Nette\Database\DateTime (when 'newDateTime' is enabled) #270
    Open source →
  9. v3.2.0 14 Dec 2023
    Release notes
    • 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)
    Open source →
  10. v3.1.9 05 Nov 2023
    Release notes
    • support for PHP 8.3
    • used PhpStorm Language attribute
    Open source →
  11. v3.1.7 13 Jan 2023

    Nothing published for this version

  12. v3.1.6 18 Nov 2022

    Nothing published for this version

  13. v3.1.5 10 Mar 2022

    Nothing published for this version

  14. v3.1.4 24 Nov 2021

    Nothing published for this version

  15. v3.1.3 31 May 2021

    Nothing published for this version

  16. v3.1.2 22 Apr 2021

    Nothing published for this version

  17. v3.1.1 12 Jan 2021

    Nothing published for this version

  18. v3.1.0 21 Dec 2020

    Nothing published for this version

  19. v3.0.7 30 Oct 2020

    Nothing published for this version

  20. v3.0.6 04 Feb 2020

    Nothing published for this version

  21. v3.0.5 13 Dec 2019

    Nothing published for this version

  22. v3.0.4 19 Nov 2019

    Nothing published for this version

  23. v3.0.3 30 Sep 2019

    Nothing published for this version

  24. v3.0.2 08 Jul 2019

    Nothing published for this version

  25. v3.0.1 01 Apr 2019

    Nothing published for this version

  26. v3.0.0 20 Feb 2019

    Nothing published for this version

  27. v2.4.12 18 Nov 2022

    Nothing published for this version

  28. v2.4.11 06 Nov 2020

    Nothing published for this version

  29. v2.4.10 19 Mar 2020

    Nothing published for this version

  30. v2.4.9 19 Nov 2019

    Nothing published for this version

  31. v2.4.8 26 Nov 2018

    Nothing published for this version

  32. v2.4.7 16 Oct 2018

    Nothing published for this version

  33. v2.4.6 01 Jun 2018

    Nothing published for this version

  34. v2.4.5 05 Feb 2018

    Nothing published for this version

  35. v2.4.4 27 Jul 2017

    Nothing published for this version

  36. v2.4.3 12 Jul 2017

    Nothing published for this version

  37. v2.4.2 02 Feb 2017

    Nothing published for this version

  38. v2.4.1 18 Oct 2016

    Nothing published for this version

  39. v2.4.0 28 Jun 2016

    Nothing published for this version

  40. v2.3.11 12 Dec 2016

    Nothing published for this version

  41. v2.3.10 18 Oct 2016

    Nothing published for this version

  42. v2.3.9 30 May 2016

    Nothing published for this version

  43. v2.3.8 03 Dec 2015

    Nothing published for this version

  44. v2.3.7 05 Oct 2015

    Nothing published for this version

  45. v2.3.6 14 Sep 2015

    Nothing published for this version

  46. v2.3.5 23 Aug 2015

    Nothing published for this version

  47. v2.3.4 20 Jul 2015

    Nothing published for this version

  48. v2.3.3 20 May 2015

    Nothing published for this version

  49. v2.3.2 22 Apr 2015

    Nothing published for this version

  50. v2.3.1 26 Mar 2015

    Nothing published for this version

  51. v2.3.0 20 Feb 2015

    Nothing published for this version

  52. v2.2.5 19 Jul 2015

    Nothing published for this version

  53. v2.2.4 10 Mar 2015

    Nothing published for this version

  54. v2.2.3 08 Nov 2014

    Nothing published for this version

  55. v2.2.2 24 Aug 2014

    Nothing published for this version

  56. v2.2.1 25 May 2014

    Nothing published for this version

  57. v2.2.0 11 May 2014

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive