Upgrading
Upgrading to Version 3.2
The minimum required PHP version is 8.1.
The code has been carefully tuned for PHP 8.1. All new type hints for methods and properties have been added. The changes are minor:
- MySQL: zero date
0000-00-00is returned asnull - MySQL: decimal without decimal places is returned as int instead of float
- The
timetype is returned as aDateTimeobject with the date set to0001-01-01instead of the current date
Upgrading to Version 3.1
- the class
Nette\Database\Contextwas renamed toNette\Database\Explorerfor consistency with the name Database Explorer - the interfaces
Nette\Database\IRowandNette\Database\IRowContainerare marked as deprecated as unnecessary - the
MySqlDriverdriver uses subqueries - the SQL statement translator better controls where arrays can be passed
Upgrading to Version 3.0
Some methods, such as fetch() or fetchField(), now return null instead of
false when there is no next row.
Upgrading to Version 2.3
- the
MySqlDriverusesutf8mb4encoding by default for MySQL >= 5.5.3 instead ofutf8 IReflectionwas split into the twin interfacesIStructureandIConventions