Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
d8vjork committed Sep 29, 2022
1 parent 9934455 commit 1e311bb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.0.1] - 2022-09-29

⚠️ **Please make sure to run `php artisan vendor:publish --force --provider="OpenSoutheners\LaravelApiable\ServiceProvider"`** ⚠️

### Fixed

- Getting wrong config keys

## [2.0.0] - 2022-09-29

⚠️ **Please make sure to run `php artisan vendor:publish --force --provider="OpenSoutheners\LaravelApiable\ServiceProvider"`** ⚠️

### Removed

- `JsonApiResponse::list` and `JsonApiResponse::getOne` methods as **isn't the responsibility of this package** to act as query repository so **it makes easier to encapsulate it** into repository or whatever design pattern you're using. **Use `JsonApiResponse::using` instead sending the query as its parameter**.
Expand All @@ -26,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Config file changes. **Please make sure to run `php artisan vendor:publish --force --provider="OpenSoutheners\LaravelApiable\ServiceProvider"`**
- Constructor from `JsonApiResponse` now only accepts 1 optional parameter (being the query parameter removed in favor of manually setting this by calling `JsonApiResponse::using` method)
- Constructor from `RequestQueryObject` now only accepts 1 optional parameter (being the query parameter removed in favor of manually setting this by calling `RequestQueryObject::setQuery` method)

Expand Down

0 comments on commit 1e311bb

Please sign in to comment.