Where can I get a complete list of enhancements or changes of the golang spec (Version of Feb 10, 2021) agaisnt previous (Version of Jan 14, 2020)

119 views
Skip to first unread message

Benjamin

unread,
Jun 12, 2021, 10:53:01 AM6/12/21
to golang-nuts

Previously it took a long time to read through the golang spec of version of Jan 14, 2020. The newest golang spec is Version of Feb 10, 2021. I really don't want to read through all the spec again. Is there a summary on the changes between the two versions? Thanks.

Axel Wagner

unread,
Jun 12, 2021, 11:12:10 AM6/12/21
to golang-nuts
Hi,

the best summaries can be found in the Release history
Otherwise, the best way is probably to look at the git history of the relevant file. You can also find two relevant commits for the times you are interested in and use `git diff` to get a diff of all changes between those versions.

But really, the spec doesn't change all that much.

On Sat, Jun 12, 2021 at 4:53 PM Benjamin <wangchao...@gmail.com> wrote:

Previously it took a long time to read through the golang spec of version of Jan 14, 2020. The newest golang spec is Version of Feb 10, 2021. I really don't want to read through all the spec again. Is there a summary on the changes between the two versions? Thanks.

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/01a135e9-868c-44e9-b92a-05510e35947fn%40googlegroups.com.

Carla Pfaff

unread,
Jun 12, 2021, 11:15:11 AM6/12/21
to golang-nuts
On Saturday, 12 June 2021 at 16:53:01 UTC+2 Benjamin wrote:

Previously it took a long time to read through the golang spec of version of Jan 14, 2020. The newest golang spec is Version of Feb 10, 2021. I really don't want to read through all the spec again. Is there a summary on the changes between the two versions? Thanks.

Check out the Go repository and do

git diff ee55dd6b doc/go_spec.html

Axel Wagner

unread,
Jun 12, 2021, 11:17:27 AM6/12/21
to golang-nuts
For your convenience: https://pastebin.pl/view/308d1b73

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.

Axel Wagner

unread,
Jun 12, 2021, 11:18:13 AM6/12/21
to golang-nuts
(Note: this is against the recently released go1.17beta1, so it is ahead of the latest release and might, theoretically, still change before go1.17 is released)

Benjamin

unread,
Jun 14, 2021, 9:49:31 PM6/14/21
to golang-nuts
Thanks all!
Reply all
Reply to author
Forward
0 new messages