From 2e6ad1e2061b7936faff4cfa29f3b8d12f3adfc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Robles?= Date: Wed, 25 Jan 2023 12:59:33 +0100 Subject: [PATCH] update changelog --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ebec8a..e980602 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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