2 "Title": "Go 1.22 Release Notes",
7 NOTE: In this document and others in this directory, the convention is to
8 set fixed-width phrases with non-fixed-width spaces, as in
9 <code>hello</code> <code>world</code>.
10 Do not send CLs removing the interior tags from such phrases.
14 main ul li { margin: 0.5em 0; }
17 <h2 id="introduction">DRAFT RELEASE NOTES — Introduction to Go 1.22</h2>
21 Go 1.22 is not yet released. These are work-in-progress
22 release notes. Go 1.22 is expected to be released in February 2024.
26 <h2 id="language">Changes to the language</h2>
29 TODO: complete this section
32 <h2 id="tools">Tools</h2>
34 <h3 id="go-command">Go command</h3>
37 TODO: complete this section, or delete if not needed
42 <!-- CL 497837 reverted -->
44 <h2 id="runtime">Runtime</h2>
47 TODO: complete this section, or delete if not needed
50 <h2 id="compiler">Compiler</h2>
53 TODO: complete this section, or delete if not needed
56 <h2 id="linker">Linker</h2>
59 TODO: complete this section, or delete if not needed
62 <h2 id="library">Core library</h2>
64 <h3 id="minor_library_changes">Minor changes to the library</h3>
67 As always, there are various minor changes and updates to the library,
68 made with the Go 1 <a href="/doc/go1compat">promise of compatibility</a>
70 There are also various performance improvements, not enumerated here.
74 TODO: complete this section
77 <dl id="database/sql"><dt><a href="/pkg/database/sql/">database/sql</a></dt>
79 <p><!-- https://go.dev/issue/60370, CL 501700 -->
80 The new <a href="/pkg/database/sql/#Null"><code>Null[T]</code></a> type
81 provide a way to scan nullable columns for any column types.
86 <dl id="reflect"><dt><a href="/pkg/reflect/">reflect</a></dt>
88 <p><!-- https://go.dev/issue/61827, CL 517777 -->
89 The <a href="/pkg/reflect/#Value.IsZero"><code>Value.IsZero</code></a>
90 method will now return true for a floating-point or complex
91 negative zero, and will return true for a struct value if a
92 blank field (a field named <code>_</code>) somehow has a
94 These changes make <code>IsZero</code> consistent with comparing
95 a value to zero using the language <code>==</code> operator.
100 <h2 id="ports">Ports</h2>
103 TODO: complete this section, or delete if not needed