v1.9.0
NOTICE: This version has been retracted due to a corruption in the global module cache. Use v1.9.1 instead.
What's Changed
Along with a few new features and bugfixes, this release includes a variety of internal performance improvements.
[v1.8.0] BenchmarkConnect/unary-12 8415 1305116 ns/op 14449031 B/op 254 allocs/op
[v1.9.0] BenchmarkConnect/unary-12 10443 1151366 ns/op 6024079 B/op 236 allocs/op
Enhancements
- Allow clients to set Host in headers by @emcfarlane in #522
- Allow Connect clients to configure max HTTP GET size by @jhump in #529
- Reduce allocations in HTTP routing by @mattrobenolt in #519
- Cache mapping of methods to protocol handlers by @emcfarlane in #525
- Improve performance of percent encoding by @emcfarlane in #531
- Reduce marshaling allocations with MarshalAppend by @emcfarlane in #503
Bugfixes
- Discard unknown JSON fields by default by @akshayjshah in #518
- Canonicalize Connect streaming trailer names by @jchadwick-buf in #528
Other changes
- Tighten internal lint checks by @zchee in #520
- Simplify code when pooled buffers aren't returned by @pkwarren in #532
New Contributors
- @zchee made their first contribution in #520
- @emcfarlane made their first contribution in #522
Full Changelog: v1.8.0...v1.9.0