From b9b1cc544ff0cac03eabf17d0c599a45f8e614d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Robles?= Date: Mon, 7 Aug 2023 14:05:05 +0200 Subject: [PATCH] update changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22defe2..688bf14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.7.0] - 2023-08-07 + +### Added + +- `include_pivot_attributes` config option to optionally add pivot attributes to the relationships data (default to false to match previous functionality). Pivot data will be added as `pivot_name_pivot_attribute` (remember if you're using `as` it will use this one: https://laravel.com/docs/10.x/eloquent-relationships#customizing-the-pivot-attribute-name). + ## [3.6.1] - 2023-03-29 ### Fixed