yii2
yii2 copied to clipboard
Remove magic synchronization for relations (issue #19788).
Q | A |
---|---|
Is bugfix? | ✔️ |
New feature? | ❌ |
Breaks BC? | ✔️ |
Fixed issues | #19788 |
PR Summary
-
Removal of Non-Functional Synchronization Attempts The system will no longer make non-functional attempts to automatically synchronize ActiveRecord relations with corresponding foreign key values. This change affects
framework/CHANGELOG.md
andframework/UPGRADE.md
. -
GridView Improvements There's an improvement on
GridView
; it no longer callsModel::generateAttributeLabel()
unnecessarily to generate label values that are not being used. This change is denoted inframework/CHANGELOG.md
. -
FileTarget Log Update The logging process for
yii\log\FileTarget
has been amended, and it will no longer export empty messages - as detailed inframework/CHANGELOG.md
. -
Database Query Caching Issues surrounding the caching of a MSSQL query with BLOB data type has been fixed in
framework/CHANGELOG.md
. -
Removal of Unnecessary Database Calls In
framework/db/BaseActiveRecord.php
, redundant calls to$this->resetDependentRelations()
and$this->setRelationDependencies()
have been removed. -
New Column Addition A new column
profile_id
has been included intests/data/ar/Customer.php
. -
Removal of Superfluous Tables and Views Unnecessary tables and views in all files located at
tests/data/
have been removed. -
Manual Unsetting of Relations A note has been added in
framework/UPGRADE.md
about the requirement to manually unset relations before using them if they are anticipated to change.
Codecov Report
Patch coverage has no change and project coverage change: -0.04%
:warning:
Comparison is base (
c8c0ea9
) 48.89% compared to head (bfe2ef9
) 48.85%.
Additional details and impacted files
@@ Coverage Diff @@
## master #19918 +/- ##
==========================================
- Coverage 48.89% 48.85% -0.04%
==========================================
Files 445 445
Lines 42786 42754 -32
==========================================
- Hits 20919 20887 -32
Misses 21867 21867
Files Changed | Coverage Δ | |
---|---|---|
framework/db/BaseActiveRecord.php | 72.40% <ø> (-1.67%) |
:arrow_down: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.