Releases: cycle/database
Releases · cycle/database
v2.11.0
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
- apply yamllint (0506fb1)
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
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 methodswhereNot
,andWhereNot
, andorWhereNot
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
2.9.0
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 refinedlogQueryParameters
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
New Contributors
Full Changelog: 2.8.1...2.9.0
2.8.1
2.8.0
2.7.1
2.7.0
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