go1.18.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <!--{
  2. "Title": "Go 1.18 Release Notes",
  3. "Path": "/doc/go1.18"
  4. }-->
  5. <!--
  6. NOTE: In this document and others in this directory, the convention is to
  7. set fixed-width phrases with non-fixed-width spaces, as in
  8. <code>hello</code> <code>world</code>.
  9. Do not send CLs removing the interior tags from such phrases.
  10. -->
  11. <style>
  12. main ul li { margin: 0.5em 0; }
  13. </style>
  14. <h2 id="introduction">DRAFT RELEASE NOTES — Introduction to Go 1.18</h2>
  15. <p>
  16. <strong>
  17. Go 1.18 is not yet released. These are work-in-progress
  18. release notes. Go 1.18 is expected to be released in February 2022.
  19. </strong>
  20. </p>
  21. <h2 id="language">Changes to the language</h2>
  22. <p>
  23. TODO: complete this section
  24. </p>
  25. <h2 id="ports">Ports</h2>
  26. <p>
  27. TODO: complete this section, or delete if not needed
  28. </p>
  29. <h2 id="tools">Tools</h2>
  30. <p>
  31. TODO: complete this section, or delete if not needed
  32. </p>
  33. <h3 id="go-command">Go command</h3>
  34. <p>
  35. TODO: complete this section, or delete if not needed
  36. </p>
  37. <h2 id="runtime">Runtime</h2>
  38. <p>
  39. TODO: complete this section, or delete if not needed
  40. </p>
  41. <h2 id="compiler">Compiler</h2>
  42. <p>
  43. TODO: complete this section, or delete if not needed
  44. </p>
  45. <h2 id="linker">Linker</h2>
  46. <p>
  47. TODO: complete this section, or delete if not needed
  48. </p>
  49. <h2 id="library">Core library</h2>
  50. <p>
  51. TODO: complete this section
  52. </p>
  53. <h3 id="minor_library_changes">Minor changes to the library</h3>
  54. <p>
  55. As always, there are various minor changes and updates to the library,
  56. made with the Go 1 <a href="/doc/go1compat">promise of compatibility</a>
  57. in mind.
  58. </p>
  59. <p>
  60. TODO: complete this section
  61. </p>
  62. <dl id="image/draw"><dt><a href="/pkg/image/draw/">image/draw</a></dt>
  63. <dd>
  64. <p><!-- CL 340049 -->
  65. The <code>Draw</code> and <code>DrawMask</code> fallback implementations
  66. (used when the arguments are not the most common image types) are now
  67. faster when those arguments implement the optional
  68. <a href="/pkg/image/draw/#RGBA64Image"><code>draw.RGBA64Image</code></a>
  69. and <a href="/pkg/image/#RGBA64Image"><code>image.RGBA64Image</code></a>
  70. interfaces that were added in Go 1.17.
  71. </p>
  72. </dd>
  73. </dl><!-- image/draw -->
  74. <dl id="syscall"><dt><a href="/pkg/syscall/">syscall</a></dt>
  75. <dd>
  76. <p><!-- CL 336550 -->
  77. The new function <a href="/pkg/syscall/?GOOS=windows#SyscallN"><code>SyscallN</code></a>
  78. has been introduced for Windows, allowing for calls with arbitrary number
  79. of arguments. As results,
  80. <a href="/pkg/syscall/?GOOS=windows#Syscall"><code>Syscall</code></a>,
  81. <a href="/pkg/syscall/?GOOS=windows#Syscall6"><code>Syscall6</code></a>,
  82. <a href="/pkg/syscall/?GOOS=windows#Syscall9"><code>Syscall9</code></a>,
  83. <a href="/pkg/syscall/?GOOS=windows#Syscall12"><code>Syscall12</code></a>,
  84. <a href="/pkg/syscall/?GOOS=windows#Syscall15"><code>Syscall15</code></a>, and
  85. <a href="/pkg/syscall/?GOOS=windows#Syscall18"><code>Syscall18</code></a> are
  86. deprecated in favor of <a href="/pkg/syscall/?GOOS=windows#SyscallN"><code>SyscallN</code></a>.
  87. </p>
  88. </dd>
  89. </dl><!-- syscall -->