Releases: cycle/database
Releases · cycle/database
2.6.1
2.6.0
What's Changed
- Fix incorrect parameters processing for JOIN subqueries by @smelesh (#133)
- MySQL driver:
- Add the type
smallInteger
by @gam6itko (#128) - Change mapping of the JSON type from
text
tojson
by @romanpravda (#121)
- Add the type
- Postgres driver:
- All the drivers:
- JSON support:
New Contributors
- @romanpravda made their first contribution in #121
- @smelesh made their first contribution in #133
Full Changelog: 2.5.2...2.6.0
2.5.2
2.5.1
2.5.0
What's Changed
- Add ability to use non-primary serial column by @msmakouz (#106)
- Add ability to configure DB port passing a string by @msmakouz (#109)
- Add ability to define a custom type column by @msmakouz (#104)
- Add the ability to define
readonlySchema
for columns by @msmakouz (#116) - Add
AbstractForeignKey::$index
property to enable/disable index creation by @msmakouz (#119) - Fix inserting an array of rowsets without calling the columns method by @msmakouz (#120)
- Improve types for
TableInterface
andColumnInterface
by @vjik (#108) - Fix typos by @arogachev (#110, #111)
New Contributors
- @vjik made their first contribution in #108
- @arogachev made their first contribution in #111
Full Changelog: 2.4.1...2.5.0
2.4.1
What's Changed
- Fix: add schema to Postgres dependency table names by @msmakouz (#102)
It also fixes incorrect behavior incycle/migrations-generator
when tables are sorting (cycle/schema-migrations-generator#13) - Fix: don't add a table prefix when a column is quoting by @msmakouz (#103)
Full Changelog: 2.4.0...2.4.1
2.4.0
What's Changed
- Add option
logQueryParameters
in the driveroptions
to enable interpolation in SQL query logs.
Since v2.4.0, interpolation in logs is disabled by default by @msmakouz (#95) - Add PostgreSQL specific data types by @msmakouz (#93)
- Add MySQL
SET
type support by @msmakouz (#92) - Fix Interpolator performance by @msmakouz (#94) thx @hustlahusky
Full Changelog: 2.3.0...2.4.0
2.3.0
What's Changed
- Add support for array values in the
IN
andNOT IN
operators by @roxblnfk (#69, #70, #71) - Add
PdoInterface
as a possible return type for theDriver::getPDO()
method by @roxblnfk (#76) - Add the
options
array parameter to all driver configs to pass additional driver options.
ThewithDatetimeMicroseconds
option can be set totrue
to store aDateTime
with microseconds by @msmakouz (#86) - Add a config recovery mechanism via
__set_state()
by @wakebit (#83) - Add the ability to define the
size
of adatetime
column by @msmakouz (#86) - Add support for the unsigned and zerofill properties in MySQL Integer types by @roxblnfk (#88)
New Contributors
Full Changelog: 2.2.1...2.3.0