release-notes: document buildGoModule changes better.

This commit is contained in:
Jörg Thalheim 2020-05-20 09:14:06 +01:00
parent f26e514cfe
commit 834ef12d4f
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -128,8 +128,16 @@ services.mysql.initialScript = pkgs.writeText "mariadb-init.sql" ''
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
The go-modules builder now uses vendorSha256 instead of modSha256 to pin <literal>buildGoModule</literal> now internally creates a vendor directory
fetched version data. This is currently a warning, but will be removed in the next release. in the source tree for downloaded modules instead of using go's <link
xlink:href="https://golang.org/cmd/go/#hdr-Module_proxy_protocol">module
proxy protocol</link>. This storage format is simpler and therefore less
likekly to break with future versions of go. As a result
<literal>buildGoModule</literal> switched from
<literal>modSha256</literal> to the <literal>vendorSha256</literal>
attribute to pin fetched version data. <literal>buildGoModule</literal>
still accepts <literal>modSha256</literal> with a warning, but support will
be removed in the next release.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>