Skip to content

Commit 2ca836d

Browse files
committed
Add support for doctrine/inflector:^2.0
1 parent ec12976 commit 2ca836d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,19 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [0.2.0-beta.5]
8+
## [0.2.0-beta.6] - 2022-04-22
9+
### Changed
10+
- Add support for `doctrine/inflector:^2.0`
11+
12+
## [0.2.0-beta.5] - 2022-01-03
913
### Added
1014
- `Context::getBody()` method to retrieve the parsed JSON:API payload from the request
1115
- `Context::sortRequested()` method to determine if a sort field has been requested
1216

1317
### Fixed
1418
- `Laravel\rules()`: Fix regression disallowing use of advanced validation rules like callbacks and `Rule` instances. (@SychO9)
1519

16-
## [0.2.0-beta.4]
20+
## [0.2.0-beta.4] - 2021-09-05
1721
### Added
1822
- `Laravel\rules()`: Replace `{id}` placeholder in rules with the model's key.
1923
- This is useful for the `unique` rule, for example: `unique:users,email,{id}`

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"require": {
55
"php": ">=7.1",
66
"ext-json": "*",
7-
"doctrine/inflector": "^1.3",
7+
"doctrine/inflector": "^1.4 || ^2.0",
88
"json-api-php/json-api": "^2.2",
99
"nyholm/psr7": "^1.3",
1010
"psr/http-message": "^1.0",

0 commit comments

Comments
 (0)