From a5c54c248be3ee657983a6d545c07f6245035bb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Robles?= Date: Thu, 14 Dec 2023 16:22:09 +0100 Subject: [PATCH] update changelog --- CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d93d9a7..52f4d8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.12.0] - 2023-12-14 + +### Added + +- Includes relationships counts with `tags_count` (needs to end with `_count`). E.g: + +```php +JsonApiResponse::using(Post::class)->allowInclude(['tags_count']); + +// Then request this with ?include=tags_count +``` + +### Fixed + +- Some IDEs getting confused with returning `self` types in traits (replaced to `static`) + ## [3.11.5] - 2023-10-24 ### Changed