Skip to content

Commit 216e067

Browse files
committed
Update changelog
1 parent b7c598e commit 216e067

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,22 @@ and this project adheres to
3030

3131
### Added
3232

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
3449
- Add specific exception classes for all errors
3550
- Add `JsonApi::errors(array $overrides)` method to register error object
3651
overrides, keyed by exception class name. `detail` values accept

0 commit comments

Comments
 (0)