-
Notifications
You must be signed in to change notification settings - Fork 18k
doc: include fix for #34437 in Go 1.14 release notes #38801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I am @theckman 's "someone I know" and this issue cost me several hours today. We had a test that was failing for me locally using Go 1.14.2 but passing for others and in all of our CI pipelines. After quite a bit of investigation and experimentation I was able to determine that the failure was specific to Go 1.14+. Admittedly, this particular test was using bad/invalid test data (an invalid enum value in a JSON test data file for an enum that implements |
A somewhat similar issue was #37308, though it was filed before the final release and the notes were published.
Like in the other case, this is a bugfix to make the behavior follow the docs more closely. I don't oppose adding this to the release notes, but I'm not sure if it's normal for them to be updated this late, or if we can consider it important enough given that it hasn't raised any other flags since the pre-releases or final release over two months ago. I'd definitely be in favor of tweaking the release notes if this discussion took place during the beta or release candidate, though. |
@mvdan people will be upgrading to 1.14+ for a long while still. What harm is there in adding this now? |
I don't know anything about this particular issue but I think it's fine to update the release notes after the release has gone out. We've done it before. |
As Ian mentioned, it shouldn't be an issue to update the release notes after the release. We don't want to do it too often and too much after a release as that adds noise, but there haven't been too many request to add missing things to Go 1.14 release notes as far as I know. Changes to the behavior of the @mvdan, you're one of /cc @cuonglm who worked on the CL, and @dsnet @bradfitz per owners. |
👍 for updating 1.14.x release note |
As long as the release team is happy with updating the release notes at this point, I don't have a problem with the change. That's what I tried to say in my previous comment. |
@gopherbot Please open an issue to backport this to Go 1.14 when the fix is available. This is a documentation fix. |
Backport issue(s) opened: #38904 (for 1.14). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://golang.org/wiki/MinorReleases. |
Change https://golang.org/cl/237857 mentions this issue: |
Change https://golang.org/cl/252617 mentions this issue: |
Change https://golang.org/cl/252618 mentions this issue: |
…pport of TextUnmarshaler Document that json.Unmarshal supports map keys whose underlying types implement encoding.TextUnmarshaler. Updates #38801. Fixes #41178. Change-Id: Icb9414e9067517531ba0da910bd4a2bb3daace65 Reviewed-on: https://go-review.googlesource.com/c/go/+/237857 Reviewed-by: Daniel Martí <[email protected]> Run-TryBot: Daniel Martí <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> (cherry picked from commit 47b4509) Reviewed-on: https://go-review.googlesource.com/c/go/+/252618 Run-TryBot: Dmitri Shuralyov <[email protected]> Reviewed-by: Carlos Amedee <[email protected]>
…pport of TextUnmarshaler Document that json.Unmarshal supports map keys whose underlying types implement encoding.TextUnmarshaler. Updates #38801. Fixes #38904. Change-Id: Icb9414e9067517531ba0da910bd4a2bb3daace65 Reviewed-on: https://go-review.googlesource.com/c/go/+/237857 Reviewed-by: Daniel Martí <[email protected]> Run-TryBot: Daniel Martí <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> (cherry picked from commit 47b4509) Reviewed-on: https://go-review.googlesource.com/c/go/+/252617 Run-TryBot: Dmitri Shuralyov <[email protected]> Reviewed-by: Carlos Amedee <[email protected]>
…pport of TextUnmarshaler Document that json.Unmarshal supports map keys whose underlying types implement encoding.TextUnmarshaler. Updates golang#38801. Fixes golang#41178. Change-Id: Icb9414e9067517531ba0da910bd4a2bb3daace65 Reviewed-on: https://go-review.googlesource.com/c/go/+/237857 Reviewed-by: Daniel Martí <[email protected]> Run-TryBot: Daniel Martí <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> (cherry picked from commit 47b4509) Reviewed-on: https://go-review.googlesource.com/c/go/+/252618 Run-TryBot: Dmitri Shuralyov <[email protected]> Reviewed-by: Carlos Amedee <[email protected]>
Hello,
I wanted to reach out and see whether there is an interest in the fix for #34437 being included in the Go release notes. Someone I know was finally working through upgrading to Go 1.14 and ran in to some peculiar issues with their JSON being unmarshaled differently. Here is that commit on our side:
It took them some time to figure it out, while it having been mentioned in the release notes could have saved them some time (as they looked there first). I understand we can't document all fixes without the release notes becoming silly, but wondered whether that change may meet the bar of inclusion.
Cheers!
The text was updated successfully, but these errors were encountered: