From 0319438a1b94241a32fe3a61453fc022735a2edb Mon Sep 17 00:00:00 2001 From: othercorey Date: Wed, 26 Nov 2025 09:42:09 -0600 Subject: [PATCH] Add note for new exception in invalid association joins --- en/appendices/5-3-migration-guide.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/en/appendices/5-3-migration-guide.rst b/en/appendices/5-3-migration-guide.rst index 9637048fa1..1d532a1336 100644 --- a/en/appendices/5-3-migration-guide.rst +++ b/en/appendices/5-3-migration-guide.rst @@ -28,6 +28,13 @@ Database - ``Query::with()`` now accepts an array of expressions to align with other query clauses. This also allows clearing the expressions with an empty array. +ORM +--- + +- ``joinWith()`` now asserts when the association conflicts with an existing join and will overwrite it. + Because existing code might harmlessly ignore the join or accidentally rely on that behavior, this change is not breaking + in production for CakePHP 5. + Validation ----------