From 2ca836d7ef22f0cae3ed64eda9ea0536d1507712 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 22 Apr 2022 09:06:54 +0930 Subject: [PATCH] Add support for `doctrine/inflector:^2.0` --- CHANGELOG.md | 8 ++++++-- composer.json | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d79a367..5c5e4d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.2.0-beta.5] +## [0.2.0-beta.6] - 2022-04-22 +### Changed +- Add support for `doctrine/inflector:^2.0` + +## [0.2.0-beta.5] - 2022-01-03 ### Added - `Context::getBody()` method to retrieve the parsed JSON:API payload from the request - `Context::sortRequested()` method to determine if a sort field has been requested @@ -13,7 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - `Laravel\rules()`: Fix regression disallowing use of advanced validation rules like callbacks and `Rule` instances. (@SychO9) -## [0.2.0-beta.4] +## [0.2.0-beta.4] - 2021-09-05 ### Added - `Laravel\rules()`: Replace `{id}` placeholder in rules with the model's key. - This is useful for the `unique` rule, for example: `unique:users,email,{id}` diff --git a/composer.json b/composer.json index be02b84..ec59ff7 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "require": { "php": ">=7.1", "ext-json": "*", - "doctrine/inflector": "^1.3", + "doctrine/inflector": "^1.4 || ^2.0", "json-api-php/json-api": "^2.2", "nyholm/psr7": "^1.3", "psr/http-message": "^1.0",