NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #842 most downloaded on Packagist
Flexible and powerful Database abstraction library with a familiar PDO-like API
Latest stable
5.4.5
Last release 7 days ago
17 Nov 2026
Ships fairly regularly
a new release about every 3 weeks
Rarely documented
notes for 5 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
343 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Merge pull request #19815 from cakephp/fix/5.x-split-package-checkout…
Merge pull request #19815 from cakephp/fix/5.x-split-package-checkout…
Fix potential vulnerabilities in IdentifierExpression and StringExpression
This project publishes no release notes. Between 5.4.3 and 5.4.4 there were 9 commits, 8 of them substantive:
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add more clarity Query builder doc strings
Be more clear about which methods are not safe to be used with
user-controlled data.
Thanks to Feei for reporting these gaps via our security process.
Co-authored-by: othercorey corey.taylor.fl@gmail.com
This project publishes no release notes. Between 5.4.2 and 5.4.3 there were 9 commits, 8 of them substantive:
Remove the hardcoded public schema from postgis column reflection. Adding a test seemed more complex than it would provide value.
Remove the hardcoded public schema from postgis column reflection.
Adding a test seemed more complex than it would provide value.
Fixes #19604
This project publishes no release notes. Between 5.4.1 and 5.4.2 there were 2 commits, 2 of them substantive:
Document driver-specific function transforms
Document driver-specific function transforms (#19566)
This project publishes no release notes. Between 5.4.0 and 5.4.1 there were 2 commits, 2 of them substantive:
Update split package version constraints and branch aliases to 5.5
Update split package version constraints and branch aliases to 5.5
This project publishes no release notes. Between 5.4.0-RC2 and 5.4.0 there were 7 commits, 5 of them substantive:
This project publishes no release notes. Between 5.4.0-RC1 and 5.4.0-RC2 there were 21 commits, 13 of them substantive:
This project publishes no release notes. Between 5.4.0-RC1 and 5.4.0-RC2 there were 21 commits, 13 of them substantive:
@see annotations (#19443)This project publishes no release notes. Between 5.3.8 and 5.4.0-RC1 there were 24 commits, 13 of them substantive:
This project publishes no release notes. Between 5.3.8 and 5.4.0-RC1 there were 24 commits, 13 of them substantive:
I recently added more stringent validation on the dataType parameter of cast() as it was reported as a potential SQL injection vector. The validation
I recently added more stringent validation on the dataType parameter
of cast() as it was reported as a potential SQL injection vector. The
validation I added was very strict and could cause regressions in
applications with advanced usage of cast() expressions.
I chose to add special cased validation for cast() instead of modifying
ensureSimpleString() as we don't necessarily want to accept SQL data
types in all of the locations that ensureSimpleString() is used.
Fixes #19775
If the impacted parameters were provided unvalidated user controller data, the application would be vulnerable to sql injection.
Fix the weaknesses present in FunctionsBuilder and related
expressions. There are several weakness vectors within the lower level
expression objects. If the impacted parameters were provided unvalidated
user controller data, the application would be vulnerable to sql
injection.
Thanks to abraxas, SunKimsroul, Akinlabi who reported this issue.
Backport from #19735 to 5.3
This project publishes no release notes. Between 5.3.7 and 5.3.8 there were 2 commits, 2 of them substantive:
The postgres driver needs to transforms jsonValue function calls to rename the function and apply postgres specific cast operations. If the current im
The postgres driver needs to transforms jsonValue function calls to
rename the function and apply postgres specific cast operations. If the
current implementation is provided a user-controlled path expression,
the generated query can be manipulated.
Thanks to Himanshu Anand for reporting this
This project publishes no release notes. Between 5.3.6 and 5.3.7 there were 7 commits, 7 of them substantive:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
The postgres driver needs to transforms jsonValue function calls to rename the function and apply postgres specific cast operations. If the current im
The postgres driver needs to transforms jsonValue function calls to
rename the function and apply postgres specific cast operations. If the
current implementation is provided a user-controlled path expression,
the generated query can be manipulated.
Thanks to Himanshu Anand for reporting this
Fix weakness in FunctionsBuilder
Fix weakness in FunctionsBuilder
Several methods did not explicity label their parameters as unsafe, so
it is possible for an application developer to mistakenly supply user
controlled data into these parameters creating a SQL injection vector.
Thank you to Himanshu Anand for reporting this issue.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
The postgres driver needs to transforms jsonValue function calls to rename the function and apply postgres specific cast operations. If the current im
The postgres driver needs to transforms jsonValue function calls to
rename the function and apply postgres specific cast operations. If the
current implementation is provided a user-controlled path expression,
the generated query can be manipulated.
Thanks to Himanshu Anand for reporting this
Fix weakness in FunctionsBuilder
Fix weakness in FunctionsBuilder
Several methods did not explicity label their parameters as unsafe, so
it is possible for an application developer to mistakenly supply user
controlled data into these parameters creating a SQL injection vector.
Thank you to Himanshu Anand for reporting this issue.
Fix weakness in FunctionsBuilder
Fix weakness in FunctionsBuilder
Several methods did not explicity label their parameters as unsafe, so
it is possible for an application developer to mistakenly supply user
controlled data into these parameters creating a SQL injection vector.
Thank you to Himanshu Anand for reporting this issue.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.