Browse Source

Prepare for 1.7.2 release

tags/1.7.2 1.7.2
Alban Jubert 5 years ago
parent
commit
1fbe8d0743
  1. 4
      CHANGELOG.md
  2. 2
      README.md

4
CHANGELOG.md

@ -1,5 +1,9 @@
# Yii2 Active Record Save Relations Behavior Change Log # Yii2 Active Record Save Relations Behavior Change Log
## [1.7.2]
### Fixed
- Fix #45: Newly created Has One relations were not deleted in case owner model validation failed (thx @douglasgsouza)
## [1.7.1] ## [1.7.1]
### Fixed ### Fixed
- Fix #23: Relational data was not loaded for nested relational models (thx @toreonify) - Fix #23: Relational data was not loaded for nested relational models (thx @toreonify)

2
README.md

@ -225,7 +225,7 @@ Delete related records when the main model is deleted
For DBMs with no built in relational constraints, as of 1.5.0 release, one can now specify a relation to be deleted along with the main model. For DBMs with no built in relational constraints, as of 1.5.0 release, one can now specify a relation to be deleted along with the main model.
To do so, the relation should be declared with a property `cascadeDelete` set to true. To do so, the relation should be declared with a property `cascadeDelete` set to true.
For example, related `projectLinks` records will automaticaly be deleted when the main model will be deleted: For example, related `projectLinks` records will automatically be deleted when the main model will be deleted:
```php ```php
... ...

Loading…
Cancel
Save