Skip to content

Releases: cycle/database

v2.11.2

23 Oct 15:28
568801b
Compare
Choose a tag to compare

2.11.2 (2024-10-23)

Styles

  • apply new code style (89a7c57)
  • php-cs-fixer: fix coding standards (1eae6db)

Continuous Integration

  • add Spiral CS fixer (a72e1ae)
  • normalize DB passwords in tests; fix style in cs-fix workflow (b514009)
  • use common MSSQL workflow (5c434ec)
  • use common MySQL workflow (c5aa164)
  • use common Postgres workflow (8c17e52)

v2.11.1

22 Oct 21:04
a5e3a51
Compare
Choose a tag to compare

2.11.1 (2024-10-22)

Bug Fixes

  • Improve postgres array type detection: detect internal array types as string[], integer[], float[] insteed of ARRAY (bb762bb)
  • typecasting of an integer to a boolean in SQLite (32c29c7)

Continuous Integration

  • fix MSSQL initialization in CI (678c049)
  • replace docker-compose with docker compose (914ed58)

v2.11.0

11 Jun 11:30
5f3fe4f
Compare
Choose a tag to compare

2.11.0 (2024-06-11)

Features

  • add INTERSECT and EXCEPT operators (#204) (b3cc5a3)
  • add the ability to specify the full name of the join type (0fa0adf)

Bug Fixes

  • add parameter consideration when hashing the query part with orderBy (c874f7d)
  • triggering changelog build (4002820)

Documentation

  • add issue templates (75086af)
  • added security.md file (17aefde)
  • move COC to .github directory (08cadcb)
  • removing failing ci issue template (7200063)
  • update CONTRIBUTING.md (f6a9722)
  • updating contribution guide (ad3fbf0)

Styles

Dependencies

  • composer: added ergebnis/composer-normalize (1dddad4)

Tests

Continuous Integration

  • add cycle/gh-actions (2507324)
  • add default CODEOWNERS file (c080e0c)
  • added coding-standards initial CI job (9725b49)
  • auto apply labels based on files and branches (86971f0)
  • do not include v prefix in tag (d9587c3)
  • fixes in commit linting (ca925bd)
  • push composer.lock to enable cache locks (726a0fe)
  • switch to github changelog type (8275f0c)
  • use actions/labeler directly (a9fa3b8)
  • use fixed versions for actions instead of master (bd4d708)

2.10.0

04 Apr 20:01
2.10.0
a8dd4da
Compare
Choose a tag to compare

What's Changed

Features

  • Add support JSON columns in orderBy statement by @msmakouz (#184)
  • Add mediumText column type by @msmakouz (#178)
  • Add support for the NOT operator in SQL queries. Add new methods whereNot, andWhereNot, and orWhereNot by @msmakouz (#185)

Bug Fixes

  • Fix caching of SQL insert query with Fragment values by @msmakouz (#177)
  • Fix detection of enum values in PostgreSQL when a enum field has only one value by @msmakouz (#181)
  • Fix psalm type for DatabaseInterface::transaction() method by @roxblnfk (#186)

Continuous Integration

  • Automate changelog and release management @lotyp (#189)

2.9.0

27 Mar 12:07
9eb6669
Compare
Choose a tag to compare

What's Changed

Improved orderBy method by @butschster in #167

  • Now the method can accept null as a parameter for the sorting direction, providing more flexibility when constructing queries.
  • Added support for PostgreSQL-specific directions NULLS FIRST and NULLS LAST for more control over null value ordering in result sets.

Improved logging of SQL queries by @lotyp in #165

  • Added logInterpolatedQueries for detailed query logging and refined logQueryParameters to accurately log query parameters as arrays, enhancing ORM debugging and monitoring.
  • Improved logging with enriched context in driver, including driver details and query parameters.

Other changes

  • Improved Psalm types for DatabaseInterface::transaction() by @vjik in #163

New Contributors

Full Changelog: 2.8.1...2.9.0

2.8.1

08 Feb 16:06
2.8.1
f9f70c8
Compare
Choose a tag to compare

What's Changed

  • Fix compiling of Fragment with parameters in the returning() definition by @msmakouz (#161)
  • Fix comparison of Fragment in Column default value by @msmakouz (#162)

Full Changelog: 2.8.0...2.8.1

2.8.0

08 Feb 11:26
2.8.0
dac6dac
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.7.1...2.8.0

2.7.1

21 Dec 21:05
2.7.1
74d6744
Compare
Choose a tag to compare

What's Changed

  • Fix setting precision and scale through attributes by @msmakouz (#148)
  • Fix quoting with an underscore at the beginning by @msmakouz (#151)
  • Fix behavior of the Column::type() method by adding default size to column type mappings by @msmakouz (#150)

Full Changelog: 2.7.0...2.7.1

2.7.0

04 Dec 16:40
2.7.0
0b4d063
Compare
Choose a tag to compare

What's Changed

  • Add varbinary support in MySQL; optimize size attribute by @msmakouz (#146)
  • Add the ability to use WHERE IN and WHERE NOT IN with array values
    The value sequence may contain FragmentInterface objets by @msmakouz and @roxblnfk (#147)

Full Changelog: 2.6.1...2.7.0

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