Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
d8vjork committed Jan 25, 2023
1 parent e312ba5 commit 2e6ad1e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Allowed filter operators:
- `FilterOperator::NOT_SIMILAR` (`filter[attr][nsim]=`)
- `FilterOperator::NOT_EQUAL` (`filter[attr][neq]=`)
- `FilterOperator::IN` (`filter[attr][in]=`)
- `FilterOperator::NOT_IN` (`filter[attr][nin]=`)
- Ability to pass multiple named filters arguments for query scopes: `filter[ofScopeName][argument1]=hello&filter[ofScopeName][argument2]=world`

### Changed

- Query scopes might be enforced on filters by using `?filter[scope:name]=&filter[name]=` so they don't conflict with attributes
- `AllowedFilter::exact()` to `AllowedFilter::equal()` to align constant change
- Allowed filter operators constant names (aligned to the MySQL spec):
- `AllowedFilter::EXACT` to `FilterOperator::EQUAL`
- Filter operator names at user level (URL parameters) now are 2 to 4 letter words:
- `filter[like]` to `filter[sim]`

### Removed

- `enforce_scoped_names` from `config/apiable.php` file as now they can be enforced or not (depends on the frontend)

## [3.2.3] - 2023-01-25

### Fixed

- Fix issue reporting wrong status code when setup handler renderable receives a query exception: `apiable()->jsonApiRenderable()`

## [3.2.2] - 2022-12-23

### Fixed
Expand Down

0 comments on commit 2e6ad1e

Please sign in to comment.