Skip to content

Commit 0228a03

Browse files
committed
Update changelog
1 parent cdec060 commit 0228a03

File tree

1 file changed

+36
-8
lines changed

1 file changed

+36
-8
lines changed

CHANGELOG.md

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,30 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project
6+
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
- **New class-based API.** More ergonomic for managing large resource definitions and
11+
inheriting/overriding behavior. Complex fields can be extracted into their own classes and
12+
reused across resources.
13+
14+
- **Typed attributes.** Implementations of typed attributes are provided to match the data types
15+
in the OpenAPI specification. Attributes can be marked as required and nullable.
16+
17+
- **Customizable endpoints.** Each endpoint is now opt-in for each resource and can be configured
18+
and implemented separately. Also adds the ability for custom endpoints to be added.
19+
20+
- **Restructured internals.** The codebase is cleaner and easier to reason about, especially the
21+
serialization process.
22+
23+
Still to come:
24+
25+
- Implementation of Laravel stuff (currently it is documented but not implemented)
26+
- Ability to generate OpenAPI definitions
27+
- Additional attribute types (array, object)
28+
- Benchmarks
729

830
## [0.2.0] - 2022-06-21
931

@@ -27,7 +49,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2749

2850
### Fixed
2951

30-
- `Laravel\rules()`: Fix regression disallowing use of advanced validation rules like callbacks and `Rule` instances. (@SychO9)
52+
- `Laravel\rules()`: Fix regression disallowing use of advanced validation rules like callbacks
53+
and `Rule` instances. (@SychO9)
3154

3255
## [0.2.0-beta.4] - 2021-09-05
3356

@@ -36,19 +59,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3659
- `Laravel\rules()`: Replace `{id}` placeholder in rules with the model's key.
3760
- This is useful for the `unique` rule, for example: `unique:users,email,{id}`
3861
- `Laravel\can()`: Pass through additional arguments to Gate check.
39-
- This is needed to use policy methods without models, for example: `can('create', Post::class)`
62+
- This is needed to use policy methods without models, for example:
63+
`can('create', Post::class)`
4064

4165
### Changed
4266

4367
- Get a fresh copy of the model to display after create/update to ensure consistency
44-
- Respond with `400 Bad Request` when attempting to filter on an attribute of a polymorphic relationship
68+
- Respond with `400 Bad Request` when attempting to filter on an attribute of a polymorphic
69+
relationship
4570

4671
## [0.2.0-beta.3] - 2021-09-03
4772

4873
### Fixed
4974

5075
- Fix dependency on `http-accept` now that a version has been tagged
51-
- Change `EloquentAdapter` to load relationships using `load` instead of `loadMissing`, as they may need API-specific scopes applied
76+
- Change `EloquentAdapter` to load relationships using `load` instead of `loadMissing`, as they
77+
may need API-specific scopes applied
5278

5379
## [0.2.0-beta.2] - 2021-09-01
5480

@@ -80,7 +106,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
80106
### Added
81107

82108
- Preliminary support for Extensions
83-
- Support filtering by nested relationships/attributes (eg. `filter[relationship.attribute]=value`)
109+
- Support filtering by nested relationships/attributes (eg.
110+
`filter[relationship.attribute]=value`)
84111
- Add new methods to Context object: `getApi`, `getPath`, `fieldRequested`, `meta`
85112
- Eloquent adapter: apply scopes when including polymorphic relationships
86113
- Laravel validation helper: support nested validation messages
@@ -89,7 +116,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
89116

90117
### Changed
91118

92-
- Change paradigm for eager loading relationships; allow fields to return `Deferred` values to be evaluated after all other fields, so that resource loading can be buffered.
119+
- Change paradigm for eager loading relationships; allow fields to return `Deferred` values to be
120+
evaluated after all other fields, so that resource loading can be buffered.
93121
- Remove `on` prefix from field event methods
94122

95123
### Removed

0 commit comments

Comments
 (0)