Browse Source

Preparation of version 1.4.0

tags/1.4.0
Alban Jubert 7 years ago
parent
commit
3860aaa4b0
  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.4.0]
### Added
- Enh #15: Allow to save extra columns to junction table (thx @sspat)
## [1.3.2] ## [1.3.2]
### Fixed ### Fixed
- Bug #22: Fix for HasOne relation pointing to the owner primary key (thx @mythicallage) - Bug #22: Fix for HasOne relation pointing to the owner primary key (thx @mythicallage)

2
README.md

@ -150,11 +150,11 @@ Attributes of the related model will be massively assigned using the `load() met
Populate additional junction table columns in a many-to-many relation Populate additional junction table columns in a many-to-many relation
--------------------------------------------------------------------- ---------------------------------------------------------------------
In a many-to-many relation involving a junction table additional column values can be saved to the junction table for each model. In a many-to-many relation involving a junction table additional column values can be saved to the junction table for each model.
See the configuration section for examples.
> **Note:** > **Note:**
> If junction table properties are configured for a relation the rows associated with the related models in the junction table will be deleted and inserted again on each saving > If junction table properties are configured for a relation the rows associated with the related models in the junction table will be deleted and inserted again on each saving
> to ensure that changes to the junction table properties are saved too. > to ensure that changes to the junction table properties are saved too.
> See the configuration section for examples.
Validation Validation
---------- ----------

Loading…
Cancel
Save