File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 3
3
All notable changes to this project will be documented in this file. This project adheres to
4
4
[ Semantic Versioning] ( http://semver.org/ ) and [ this changelog format] ( http://keepachangelog.com/ ) .
5
5
6
+ ## [ 2.5.1] - 2023-01-23
7
+
8
+ ### Fixed
9
+
10
+ - [ #223 ] ( https://github.com/laravel-json-api/laravel/issues/223 ) Ensure Eloquent models always have fresh data after
11
+ write operation. This is to prevent cached relationships from having "stale" data after the write operation. This can
12
+ occur if a related model's attributes change during the write operation, but the related model was cached before the
13
+ write operation occurred.
14
+
6
15
## [ 2.5.0] - 2023-01-15
7
16
8
17
### Added
Original file line number Diff line number Diff line change 26
26
"php" : " ^7.4|^8.0" ,
27
27
"ext-json" : " *" ,
28
28
"laravel-json-api/core" : " ^2.4" ,
29
- "laravel-json-api/eloquent" : " ^2.2" ,
29
+ "laravel-json-api/eloquent" : " ^2.2.1 " ,
30
30
"laravel-json-api/encoder-neomerx" : " ^2.0.1" ,
31
31
"laravel-json-api/exceptions" : " ^1.1.1" ,
32
32
"laravel-json-api/spec" : " ^1.2" ,
You can’t perform that action at this time.
0 commit comments