Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
Prepare for 1.7.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Alban Jubert committed Jun 22, 2019
1 parent ff6968a commit 1fbe8d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 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]
### Fixed
- Fix #23: Relational data was not loaded for nested relational models (thx @toreonify)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

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
...
Expand Down

0 comments on commit 1fbe8d0

Please sign in to comment.