Yii Active Record version 1.1.0 was released. In this version:
- Clarify
$relationsparameter type inJoinWith::__construct()fromarray<string|Closure>toarray<string|callable(ActiveQueryInterface):void> - Optimize performance of
ActiveRecord::get()method - Remove check for empty string in
AbstractActiveRecord::markPropertyChanged()method - Add default config for
yiisoft/configplugin - Relation query should be created by related class, not primary model class
- Fix
SoftDeletewith initiated custom date - Fix
ActiveRecordInterface::upsert()with$updateProperties = false - Fix
ActiveRecordInterface::upsert()to prioritize passed associative values during updates - Fix properties with hooks