You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Changelog
2
2
3
-
## 2026-03-25 - 1.3.1
3
+
## Unreleased
4
4
5
5
- feat: allow `JSON.Value` to store and re-serialize built-in typed arrays and `ArrayBuffer`
6
6
- feat: support `JSON.stringify<ArrayBuffer>(...)` directly without a dedicated helper
@@ -17,7 +17,9 @@
17
17
- fix: rewrite nested `JSON.parse(...)` calls inside custom serializers and deserializers to `JSON.internal.parse(...)`, matching the existing internal stringify rewrite and documented behavior
18
18
- docs: clarify that custom serializers and deserializers must always produce and consume valid JSON
19
19
- docs: document how subclassing built-in container types behaves, including when `@json` custom overrides take effect
20
+
- fix: stop naive string deserialization scratch allocations from growing across repeated large payload parses by using local `ensureSize(...)` scratch capacity instead of serialization-style proposed growth
20
21
- tests: expand custom serializer/deserializer coverage for nullable fields, multiple custom fields, escaped content, whitespace, and repeated round-trips
22
+
- tests: add a repeated large string-heavy struct parse regression that exercises the naive deserialization scratch path
21
23
- tests: add override coverage for plain and custom subclasses of `Array`, `Map`, `Set`, and typed arrays
22
24
- tests: add `JSON.Value` regressions for undecorated and decorated typed-array subclasses
0 commit comments