File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,22 @@ and this project adheres to
30
30
31
31
### Added
32
32
33
- - Add ability to override error objects by caught exception
33
+ - Add support for JSON: API profile URIs in ` Content-Type ` headers via
34
+ ` Context::activateProfile(string $uri) ` method
35
+ - Cursor pagination automatically activates the
36
+ ` https://jsonapi.org/profiles/ethanresnick/cursor-pagination ` profile
37
+ - Add support for asynchronous processing following the
38
+ [ JSON: API Asynchronous Processing] ( https://jsonapi.org/recommendations/#asynchronous-processing )
39
+ recommendation
40
+ - Add ` Create::async() ` method for responding with ` 202 Accepted `
41
+ - Add ` Show::seeOther() ` method for responding with ` 303 See Other `
42
+ redirects
43
+ - Add endpoint hooks for customizing responses and schema:
44
+ - Add ` Endpoint::headers() ` method for defining custom response headers with
45
+ ` Header ` schema class
46
+ - Add ` Endpoint::response() ` method for defining custom response callbacks
47
+ - Add ` Endpoint::schema() ` method for defining custom schema
48
+ - Add ability to customize error objects
34
49
- Add specific exception classes for all errors
35
50
- Add ` JsonApi::errors(array $overrides) ` method to register error object
36
51
overrides, keyed by exception class name. ` detail ` values accept
You can’t perform that action at this time.
0 commit comments