Skip to content

Releases: cycle/database

2.6.1

24 Nov 08:26
406928e
Compare
Choose a tag to compare

What's Changed

  • Remove @internal from queries by @msmakouz in #142
  • Fix whereJsonContains and whereJsonDoesntContain methods with a single column name in an argument by @msmakouz in #143

Full Changelog: 2.6.0...2.6.1

2.6.0

02 Nov 08:22
2.6.0
07e5895
Compare
Choose a tag to compare

What's Changed

  • Fix incorrect parameters processing for JOIN subqueries by @smelesh (#133)
  • MySQL driver:
  • Postgres driver:
    • Add the restartIdentity parameter to the eraseTable method by @msmakouz (#132)
    • Change mapping of the JSON type from text to json by @msmakouz (#134)
  • All the drivers:
    • Add enableForeignKeyConstraints and disableForeignKeyConstraints methods in Driver Handlers by @msmakouz (#130)
    • Add an ability to disable the query cache before query using withoutCache() by @msmakouz and @roxblnfk (#137)
  • JSON support:

New Contributors

Full Changelog: 2.5.2...2.6.0

2.5.2

03 Jul 17:07
2.5.2
ab6178f
Compare
Choose a tag to compare

What's Changed

  • Fix Postgres schema restoring after reconnect by @msmakouz in #126

Full Changelog: 2.5.1...2.5.2

2.5.1

08 Jun 21:29
d5b1be2
Compare
Choose a tag to compare

What's Changed

  • Fix drastic increase of insert statements on pg driver with complex primary keys by @wolfy-j (#122)

New Contributors

Full Changelog: 2.5.0...2.5.1

2.5.0

12 May 14:05
2.5.0
3d5cb74
Compare
Choose a tag to compare

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 and ColumnInterface by @vjik (#108)
  • Fix typos by @arogachev (#110, #111)

New Contributors

Full Changelog: 2.4.1...2.5.0

2.4.1

07 Mar 20:23
2.4.1
6ef38a4
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.4.0...2.4.1

2.4.0

01 Feb 13:10
2.4.0
9739b63
Compare
Choose a tag to compare

What's Changed

  • Add option logQueryParameters in the driver options 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

27 Dec 16:33
9913d69
Compare
Choose a tag to compare

What's Changed

  • Add support for array values in the IN and NOT IN operators by @roxblnfk (#69, #70, #71)
  • Add PdoInterface as a possible return type for the Driver::getPDO() method by @roxblnfk (#76)
  • Add the options array parameter to all driver configs to pass additional driver options.
    The withDatetimeMicroseconds option can be set to true to store a DateTime with microseconds by @msmakouz (#86)
  • Add a config recovery mechanism via __set_state() by @wakebit (#83)
  • Add the ability to define the size of a datetime 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

2.2.2

27 Sep 15:45
07f914a
Compare
Choose a tag to compare
  • Fix transaction level changing on disconnect when transaction is starting by @roxblnfk (#76)

Full Changelog: 2.2.1...2.2.2

2.2.1

02 Jul 07:49
bd48dec
Compare
Choose a tag to compare
  • Hotfix: make the $config parameter of the DatabaseConfig constructor optional again by @roxblnfk