]> Cypherpunks.ru repositories - gostls13.git/blob - doc/go1.22.html
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / doc / go1.22.html
1 <!--{
2         "Title": "Go 1.22 Release Notes",
3         "Path":  "/doc/go1.22"
4 }-->
5
6 <!--
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.
11 -->
12
13 <style>
14   main ul li { margin: 0.5em 0; }
15 </style>
16
17 <h2 id="introduction">DRAFT RELEASE NOTES — Introduction to Go 1.22</h2>
18
19 <p>
20   <strong>
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.
23   </strong>
24 </p>
25
26 <h2 id="language">Changes to the language</h2>
27
28 <p>
29   TODO: complete this section
30 </p>
31
32 <h2 id="tools">Tools</h2>
33
34 <h3 id="go-command">Go command</h3>
35
36 <p>
37   TODO: complete this section, or delete if not needed
38 </p>
39
40 <h3 id="cgo">Cgo</h3>
41
42 <!-- CL 497837 reverted -->
43
44 <h2 id="runtime">Runtime</h2>
45
46 <p>
47   TODO: complete this section, or delete if not needed
48 </p>
49
50 <h2 id="compiler">Compiler</h2>
51
52 <p>
53   TODO: complete this section, or delete if not needed
54 </p>
55
56 <h2 id="linker">Linker</h2>
57
58 <p>
59   TODO: complete this section, or delete if not needed
60 </p>
61
62 <h2 id="library">Core library</h2>
63
64 <h3 id="minor_library_changes">Minor changes to the library</h3>
65
66 <p>
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>
69   in mind.
70   There are also various performance improvements, not enumerated here.
71 </p>
72
73 <p>
74   TODO: complete this section
75 </p>
76
77 <dl id="database/sql"><dt><a href="/pkg/database/sql/">database/sql</a></dt>
78   <dd>
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.
82     </p>
83   </dd>
84 </dl>
85
86 <dl id="reflect"><dt><a href="/pkg/reflect/">reflect</a></dt>
87   <dd>
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
93       non-zero value.
94       These changes make <code>IsZero</code> consistent with comparing
95       a value to zero using the language <code>==</code> operator.
96     </p>
97   </dd>
98 </dl>
99
100 <h2 id="ports">Ports</h2>
101
102 <p>
103   TODO: complete this section, or delete if not needed
104 </p>
105