Skip to content

Commit 7d6c062

Browse files
committed
LDEV-5806 document === fix in 6.2.3.34
1 parent 874f7aa commit 7d6c062

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

docs/recipes/breaking-changes-6-0.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ Prior to Lucee 6, the `===` operator only returned true when comparing the same
132132

133133
[LDEV-1282](https://luceeserver.atlassian.net/browse/LDEV-1282)
134134

135+
However, prior to 6.2.3.34, it was checking the underlying java type, rather than cfml type, so comparing numbers might fail
136+
137+
In 6.2.3.34, this was changes to compare cfml type and value, as expected
138+
139+
[LDEV-5806](https://luceeserver.atlassian.net/browse/LDEV-5806)
140+
135141
### Query.map() member function returns a new query.
136142

137143
Previously the `.query.map()` member function would modify the query, rather than returning a new query

docs/recipes/breaking-changes-6-2.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,12 @@ Previous behaviour was deemed to be a bug.
109109

110110
Workaround, create an Application.cfc which extends the parent Application.cfc
111111

112-
[LDEV-5323](https://luceeserver.atlassian.net/browse/LDEV-5323)
112+
[LDEV-5323](https://luceeserver.atlassian.net/browse/LDEV-5323)
113+
114+
## Strict Equality Operator was senstive to underlying java types
115+
116+
Lucee 6 improved the `===` operator to compare type and value, but was checking only the underlying java type, rather than cfml type, so numbers might fail
117+
118+
In 6.2.3.34, this was changes to compare cfml type and value, as expected
119+
120+
[LDEV-5806](https://luceeserver.atlassian.net/browse/LDEV-5806)

0 commit comments

Comments
 (0)