Releases: nette/database
Releases · nette/database
Released version 2.3.5
Released version 2.3.4
- Helpers::
loadFromFile()
uses nativeexec()
without logging and creating result set - Selection: fixed exception namespace
- travis: migrating to container-based infrastructure
- improved coding style
For the details you can have a look at the diff.
Released version 2.2.5
- Helpers::
loadFromFile()
uses nativeexec()
without logging and creating result set - Selection: Related prototype depends on specific cache key
- Table: fixed Selection::
getReferencedTable()
always refetching when primary is NULL - travis: migrating to container-based infrastructure
- improved coding style
For the details you can have a look at the diff.
Released version 2.3.3
- Selection: Related prototype depends on specific cache key
For the details you can have a look at the diff.
Released version 2.3.2
Released version 2.3.1
- ActiveRow: added support to update primary columns via
update()
#57 #58 - added support for objects DateInterval via ISupplementalDriver::
formatDateInterval()
#56 - Revert "SqlPreprocessor: fixed IN (?) with empty array"
- Table: fixed Selection::
getReferencedTable()
always refetching when primary is NULL
For the details you can have a look at the diff.
Released version 2.2.4
- SqlBuilder: uses delimited table name #49
- ConnectionPanel: generates unique ID across requests
- ConnectionPanel refactoring, used templates
- Connection: undeprecated some methods, partially reverts commit 8818410
- PgSqlDriver: fixed
formatLike()
#46 - SqlBuilder: table and column names in joins can begin with number or underscore
- ConnectionPanel: fixed quirky htmlspecialchars in PHP 5.6
For the details you can have a look at the diff.
Released version 2.3.0
- throws own exceptions:
DriverException
,ConnectionException
ConstraintViolationException
,ForeignKeyConstraintViolationException
,NotNullConstraintViolationException
andUniqueConstraintViolationException
- added support for += and -= in UPDATE statement
- added support for operators in WHERE & AND
- implemented
?and
?or
?set
?values
?order
?name
- added support for '.' in column names
- forbidden syntax 'sql', 'sql', ..., i.e. after every SQL string must be at least one parameter
- SqlLiteral is parsed using SqlPreprocessor
- table and column names in joins can begin with number or underscore
- classes *Reflection split into with *Conventions & Structure
- added
IRowContainer::fetchAssoc()
,ISupplementalDriver::convertException()
(BC break) - PgSqlDriver: fixed formatLike() #46
- MySqlDriver by default uses utf8mb4 encoding for MySQL >= 5.5.3 instead of utf8 (possible problem)
- Connection: undeprecated some methods
- DatabaseExtension: added alias 'database.x.connection' for 'database.x'
- to ensure that new SQL translator do the same job as older one, you can install special tool named CompatibilityChecker22
Released version 2.2.3
Helpers::dumpSql()
quotes strings using connection- SqlPreprocessor: fixed non-associative array detection
For the details you can have a look at the diff.
Released version 2.2.2
- DI: fixed autowiring for multiple connections
- fixed & enhanced support for multiple scheme reflection
- NDBT: added support for NULL with operator NOT
For the details you can have a look at the diff.