Skip to content

Commit 4b8e98a

Browse files
committed
Detail potentially breaking change in v3
1 parent 4398646 commit 4b8e98a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Changelog.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
### v3.0.0
22
- Rename cache -> identityCache & disabled by default (#350, #564, #626, #672, #684, #694, #721)
33

4+
**This is a potentially breaking change:**
5+
```js
6+
User.get(14, (err, userA) =>
7+
User.get(14, (err, userB) =>
8+
// v2
9+
userA == userB
10+
userA.id == userB.id
11+
// v3
12+
userA != userB
13+
userA.id == userB.id
14+
)
15+
)
16+
```
17+
418
### v2.1.29
519
- Fix hasOne association when ID is 0 (#681)
620
- Fix global var leak (#682)

0 commit comments

Comments
 (0)