Skip to content

Commit 937641e

Browse files
committed
[Docs] Update changelog and bump version
1 parent 48a7762 commit 937641e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
All notable changes to this project will be documented in this file. This project adheres to
44
[Semantic Versioning](http://semver.org/) and [this changelog format](http://keepachangelog.com/).
55

6-
## Unreleased
6+
## [1.0.0-alpha.3] - 2021-02-09
77

88
### Added
99

@@ -16,14 +16,19 @@ All notable changes to this project will be documented in this file. This projec
1616
should be used to add conditional relationships.
1717
- [#13](https://github.com/laravel-json-api/laravel/issues/13) Added French translations for JSON:API errors generated
1818
by specification parsing and resource/query parameter validation.
19+
- [#7](https://github.com/laravel-json-api/laravel/issues/7) Eloquent schemas now support default eager loading via
20+
their `$with` property.
21+
- [#15](https://github.com/laravel-json-api/laravel/issues/15) When parsing a JSON:API document for compliance with the
22+
specification, the client will now receive a clearer error message if they submit a *to-one* relationship object for a
23+
*to-many* relationship (and vice-versa).
1924

2025
### Changed
2126

2227
- [#2](https://github.com/laravel-json-api/laravel/issues/2) **BREAKING** Improved the extraction of existing resource
2328
field values when constructing validation data for update requests:
2429
- The `existingAttributes()` and `existingRelationships()` methods on the resource request class has been removed.
2530
If you need to modify the existing values before the client values are merged, implement the `withExisting()`
26-
method instead. This receives the model its JSON representation (as an array).
31+
method instead. This receives the model and its JSON representation (as an array).
2732
- The `mustValidate()` method must now be called on a schema relationship field. (Previously this was on the
2833
resource relation.) By default, belongs-to and morph-to relations will be included when extracting existing
2934
values; all other relations will not. Use the `mustValidate()` or `notValidated()` method on the schema relation

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![Tests](https://github.com/laravel-json-api/laravel/workflows/Tests/badge.svg)
2+
13
# JSON:API for Web Artisans
24

35
Implement feature-rich [JSON:API](https://jsonapi.org) compliant APIs in your

0 commit comments

Comments
 (0)