#629 F34 Change: Golang 1.16
Closed 3 years ago by pbokoc. Opened 3 years ago by bcotton.

This issue tracks the release note for the following Fedora Change:

https://fedoraproject.org/wiki/Changes/golang1.16

If you own this change, please add additional information here that we should communicate to Fedora users. Specifically, please consider:

  • New features available because of this change - pick 2 or 3 that are important
  • Considerations for users of previous releases of Fedora (upgrade issues, format changes, etc.)
  • Links to any upstream Release Notes
  • If this helps Fedora be a superior environment for our target audiences, please explain how so that we can emphasize this.

Your notes to us do not need to be formally written. We will edit them and add details as needed. This is a way for you to ensure that we know what is critical about your change.

If you want to write this release note, then:

  • Assign this issue to yourself
  • Check the wiki page linked above, find out what the change is about
  • Determine whether the change actually made it into the release or not[0]
  • Write a draft release note using that information against the correct branch here, in Pagure. (or see below)
  • Get in touch with the contact person/people listed on the wiki page, either through IRC or e-mail, and ask them to check your draft for technical accuracy
  • Submit your Release Note as a PR to this repository.

Once you're done with the above, make sure to either commit the relnote to an appropriate section of the Release Notes book, or, if you're not familiar with Git, AsciiDoc, or whatever else, just add it to this issue as a comment and let pbokoc[1] know that you're done with this one and you'd like the note included. Be sure to do this at least one day before the final release (October 29 according to the current schedule). Also make sure to do this even for relnotes that haven't been checked by the change owner.

[0] You can do that by asking the change owner listed on the wiki page; alternatively you can infer it by checking the tracker bug (linked in Wiki) in Bugzilla and looking at its status; see bug comments for details. Ask someone on the mailing list or on IRC if you're not sure.
[1] In #fedora-docs on FreeNode (UTC+1 timezone, online mostly during the day on weekdays), or pbokoc @redhat.com if you can't get a hold of me on IRC.


Metadata Update from @pwsmith:
- Issue assigned to pwsmith

3 years ago

Proposed release notes, for anyone who wants a quick view:


Golang 1.16

Golang 1.16, the latest stable release of the language, is available in Fedora 34.

Compared to Golang 1.15, there are a number of changes, including, among others:

  • Module-aware mode is enabled by default, further consolidating Golang's move towards modules being the preferred dependency management system.

  • The go install command has been updated, adding the ability to build by version suffixes. It is now recommended that one use go install for building and installing Golang packages when using modules.

  • Published modules can now be flagged as 'retracted' using the retract flag in go.mod. This does not remove a published version, but it will be ignored for users wanting the latest version of a module. Dependencies for a retracted module are preserved, but there is a warning for those who specifically wish to use the retracted package (dependencies will not break as a result of using retract).

  • Static files and file trees can now be part of an executable using the embed package.

  • The Golang runtime is improved, with memory allocation on Linux now reacting quicker to system memory demand.

  • The runtime/metrics package allows for better monitoring of the Golang runtime.

  • The linker has been further improved compared to v1.15 and is significantly quicker, uses less memory, and usually creates smaller executables.

  • The io package has been updated, including adding of the io/fs package for interface with the file system, as well as deprecation of io/ioutil. Functionality of io/ioutil has been moved to other packages (io and os).

  • The GOVCS environment variable has been introduced to allow users to specify which version control system can be trusted and used to download source code.

For further details, see the https://tip.golang.org/doc/go1.16[Golang 1.16 release notes].

Metadata Update from @pbokoc:
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata