summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-10-12 23:41:10 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-10-12 23:41:10 +0200
commit793e1705b4c34405f24d0f95ab532b68e8db673a (patch)
tree45e3f64777ad3aa64aa3f1beec8d2b0ee39e737a /CHANGELOG.md
parent8f6f95650d876376664f1e5a04d9c4cf369468d8 (diff)
downloadgo-gg-793e1705b4c34405f24d0f95ab532b68e8db673a.tar.gz
replace all json.Marshaler{ => To} and json.Unmarshaler{ => From}
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 93c5b34..9e968d4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,12 +3,16 @@ SPDX-FileCopyrightText: 2026 Stefan Majewsky <majewsky@gmx.net>
SPDX-License-Identifier: Apache-2.0
-->
-# v1.20.0 (TBD), TODO: double-check reason for Go version increase
+# v1.20.0 (TBD)
Changes:
- The minimum Go version was increased from 1.26 to 1.27 to facilitate the use of new APIs surrounding encoding/json/v2.
- jsonmatch: Pointer is now a synonym for jsontext.Pointer from the standard library.
+- All implementations of encoding/json.Marshaler and encoding/json.Unmarshaler on types in this module
+ have been replaced with implementations of encoding/json/v2.MarshalerTo and encoding/json/v2.UnmarshalerFrom.
+ This is technically a backwards-incompatibility for applications that call these methods directly,
+ but all actual users call these functions indirectly through encoding/json or encoding/json/v2.
# v1.19.0 (2026-10-06)