Skip to content

Commit 029b3ca

Browse files
committed
chore: add readme & changelog
1 parent 5d6e3f9 commit 029b3ca

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG-1.5.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Release note
2+
============
3+
# v1.5.0
4+
### Added
5+
- Struct value type

readme.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,8 @@ UserResource::collection(User::all()); // => JsonApiCollection
399399
| `date` | Cast to date, allow to use custom format |
400400
| `array` | Cast to array |
401401
| `mixed` | Don't cast, return as is |
402-
| `enum` | Get enum value. |
402+
| `enum` | Get enum value |
403+
| `struct` | Custom struct. Accept an array of values |
403404

404405
### Relation methods
405406
| Method | Description |

0 commit comments

Comments
 (0)