Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Commit b83eb61

Browse files
committed
Update changelog
1 parent 04330db commit b83eb61

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.0.0] - 2020-04-21
11+
1012
### Added
1113

1214
- `Collection::paginate()` macro with params and config for maximum per page results
1315
- Config file (*json-api.php*) with some configurable behavior of the package
16+
- 3rd parameter to `JsonApiCollection` class constructor for customise the resource that collects
17+
- `JsonApiResource::withAttributes()` method for add additional attributes from child resources
18+
- Laravel 7 compatibility
1419

1520
### Changed
1621

@@ -22,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2227

2328
- **Pagination refresh on JsonApiCollection**
2429
- Composer suggested package: [spatie/laravel-json-api-paginate](https://github.com/spatie/laravel-json-api-paginate)
30+
- **Drop compatibility with unsupported Laravel 5.x versions**
2531

2632
## [1.2.1] - 2019-09-10
2733

0 commit comments

Comments
 (0)