Skip to content
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

Todos for upcoming Go releases #356

Open
1 of 5 tasks
akshayjshah opened this issue Sep 1, 2022 · 0 comments
Open
1 of 5 tasks

Todos for upcoming Go releases #356

akshayjshah opened this issue Sep 1, 2022 · 0 comments
Labels
ignore-for-release Exclude from release notes

Comments

@akshayjshah
Copy link
Member

akshayjshah commented Sep 1, 2022

This issue tracks small cleanups we should do as we drop support for old Go releases.

Go 1.18

  • Remove the asMaxBytesError function that uses string comparisons.

Go 1.19

  • Check for HTTP/2 error codes using x/net/http2.StreamError and errors.As (though we'll need to discuss whether we want an x/net dependency)
  • Explore the new http.ResponseController's capabilities and how we might expose them. In particular, read and write deadlines would be nice! (see Go 1.21 below)

Go 1.20

  • Use http.ResponseController.EnableFullDuplex to allow bidi streaming over HTTP/1.1.

Go 1.21

@akshayjshah akshayjshah added bug Something isn't working ignore-for-release Exclude from release notes and removed bug Something isn't working labels Sep 1, 2022
@akshayjshah akshayjshah changed the title Go 1.20 todos Go 1.21 todos Feb 9, 2023
@akshayjshah akshayjshah changed the title Go 1.21 todos Todos for upcoming Go releases Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-for-release Exclude from release notes
Projects
None yet
Development

No branches or pull requests

1 participant