Skip to content

chore(2.x): release 2.22.0#5

Open
github-actions[bot] wants to merge 1 commit into
2.xfrom
release-please--branches--2.x--components--database
Open

chore(2.x): release 2.22.0#5
github-actions[bot] wants to merge 1 commit into
2.xfrom
release-please--branches--2.x--components--database

Conversation

@github-actions

Copy link
Copy Markdown

🤖 I have created a release beep boop

2.22.0 (2026-07-16)

Features

  • add getComment() method annotation into ColumnInterface (02c4962)
  • Add InsertQuery::onConflict() method (#249) (395a7ff)
  • Add SelectQuery::wrapWhere() to group WHERE conditions (#250) (8f7c03a)
  • add snowflake column type alias (#235) (49a90c7)
  • Add wrapOnWhere() method to group JOIN ON conditions (#253) (aafa2f6)
  • Add charset and collation support for MySQL columns (#246) (26e33ef)
  • Add getComment() method to AbstractColumn (9e780d8)
  • add INTERSECT and EXCEPT operators (#204) (b3cc5a3)
  • add parameters to SubQuery (74dbd7c)
  • add public Driver::clearCache() method (3cc2757)
  • Add server-side cursors for streaming SELECT results (#247) (2acc10e)
  • add SubQuery injection (8079759)
  • Add support for the NOT operator in SQL queries. Add new methods whereNot, andWhereNot, and orWhereNot (943437e)
  • add the ability to specify the full name of the join type (0fa0adf)
  • add ULID column type (#233) (f8b3a87)
  • Added $distinct parameter to SelectQuery::count (#242) (23842c0)
  • MySQL: add first and after into column declaration (#226) (7ad2df1)
  • OnConflict: index-inference predicate for ON CONFLICT (Postgres/SQLite) (#258) (bdd2cea)
  • postgres array type detection (bb762bb)
  • Reconnect on MySQL disconnected by inactivity (3f776ab)
  • SelectQuery: refine Psalm integer types on query bounds (#257) (2cae328)
  • update PHP version requirement to 8.1 (#244) (16e0874)

Bug Fixes

  • 53 (ddec160)
  • add parameter consideration when hashing the query part with orderBy (c874f7d)
  • correct condition check for named parameters in Interpolator (#238) (283709e)
  • don't add a table prefix when column quoting (#103) (0fe0319)
  • Fix psalm type for DatabaseInterface::transaction() method (#186) (1f5b226)
  • improve compatibility with PHP 8.4 (#214) (a6b860e)
  • interpolator includes microseconds into SQL result if it's configured (#155) (16047de)
  • MySQL: omit row alias on upsert DO NOTHING — the alias made the no-op col = col ambiguous at runtime (bdd2cea)
  • MySQL: unsigned boolean Columns comparison (#234) (82378ea)
  • Postgres: unquote EXCLUDED in upsert DO UPDATE — quoted "EXCLUDED" broke every update-branch upsert at runtime (bdd2cea)
  • Replace deprecated MySQL constant with scalar (#237) (b1a9cd7)
  • SelectQuery: process the last partial chunk in runChunks() (#255) (38c3403)
  • triggering changelog build (4002820)
  • typecasting of an integer to a boolean in SQLite (32c29c7)

Documentation

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

Styles

  • apply Code Style to tests (02c2437)
  • apply new code style (89a7c57)
  • apply yamllint (0506fb1)
  • fix code style; rename SubQueryInjection to SubQuery (b9cf08e)
  • improve code formatting and consistency in Compiler, Jsoner, and SubQuery (02484a6)
  • php-cs-fixer: fix coding standards (16e0874)
  • php-cs-fixer: fix coding standards (3822f76)
  • php-cs-fixer: fix coding standards (1eae6db)

Dependencies

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

Code Refactoring

  • Rename CursorableInterface to CursorInterface (89dbfda)
  • rename selectSubQuery to subQuery and update related query logic (727ca0e)

Tests

  • add tests using fragments in orderBy (239b061)
  • enhance subquery tests with additional conditions and parameters (09013c6)
  • fix tests (56edfd4)
  • MySQL: Added a test case proving bug with boolean columns (c2c05d1)
  • MySQL: enhance boolean column configuration tests with zerofill and nullable checks (0129e7f)
  • OnConflict: add tests for cache key generation with update parameters (a064944)
  • update MSSQL config (14ec20e)

Continuous Integration

  • add cycle/gh-actions (2507324)
  • add default CODEOWNERS file (c080e0c)
  • add ODBC driver to tests with codecov (7dfd98e)
  • add Spiral CS fixer (a72e1ae)
  • added coding-standards initial CI job (9725b49)
  • auto apply labels based on files and branches (86971f0)
  • automate changelog and release management (#2) (10bd18e)
  • do not include v prefix in tag (d9587c3)
  • fix MSSQL initialization in CI (678c049)
  • fixes in commit linting (ca925bd)
  • normalize DB passwords in tests; fix style in cs-fix workflow (b514009)
  • push composer.lock to enable cache locks (726a0fe)
  • replace docker-compose with docker compose (914ed58)
  • switch to auto changelog (#3) (bed846b)
  • switch to github changelog type (8275f0c)
  • update workflow actions (d55b36f)
  • use actions/labeler directly (a9fa3b8)
  • use common MSSQL workflow (5c434ec)
  • use common MySQL workflow (c5aa164)
  • use common Postgres workflow (8c17e52)
  • use fixed versions for actions instead of master (bd4d708)

This PR was generated with Release Please. See documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants