1. 21
  1.  

  2. 17

    Probably the most exciting thing for me is that database/sql now accepts a context.Context, which means it’s really easy to cancel database queries (and actually terminate the underlying query!), and you can thread it through your entire inbound request from the *http.Request object.

    I have about ten commits in this release! Most of them are examples or documentation, but one speeds up JSON encoding by 10-20%. Also I fixed godoc so it doesn’t highlight line numbers anymore so if you have it checked out do a git pull on golang.org/x/tools and reinstall.

    1. 2

      Congrats, and thanks for fixing up godoc :)

      1. 2

        Graceful shutdown of HTTP is a great addition, also. :-)

      2. 8

        I’m pretty excited about this. I’m sure the go peanut gallery is rolling their eyes at sort.Slice(). However here’s what’s awesome:

        • H2 server push
        • Better performance (it will save me quite a bit on server costs)
        • Support for decrypting TLS sessions with SSLKEYFILE and wireshark
        • Lots of very nice TLS apis that make it much more flexible.