Skip to content

Commit 7c0fefb

Browse files
committed
Merge branch 'release/2.5.1'
2 parents bd17633 + 46f34b6 commit 7c0fefb

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
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+
## [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+
615
## [2.5.0] - 2023-01-15
716

817
### Added

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"php": "^7.4|^8.0",
2727
"ext-json": "*",
2828
"laravel-json-api/core": "^2.4",
29-
"laravel-json-api/eloquent": "^2.2",
29+
"laravel-json-api/eloquent": "^2.2.1",
3030
"laravel-json-api/encoder-neomerx": "^2.0.1",
3131
"laravel-json-api/exceptions": "^1.1.1",
3232
"laravel-json-api/spec": "^1.2",

0 commit comments

Comments
 (0)