go-kit v0.5.0 Release Notes

Release Date: 2017-06-20 // almost 7 years ago
  • 💥 A pre-GopherCon release, the biggest change being breaking changes to package sd. We now expose the raw instance strings from each underlying service discovery system, so that consumers can do things with them other than construct endpoints. For background, see issues #475, #403, and #209, and for the (extensive) discussion, see PR #492.

    🚀 Besides that, we just have a solid set of improvements and enhancements. See below for the full changelog. Huge thanks to Yuri Shkuro @yurishkuro for his tireless work on package sd, including dealing with my mercurial demands and frustratingly irregular schedule. And huge thanks to the 17 individual contributors who've contributed to this release! 🏌️‍♀️

    🐛 Bug fixes

    • ⚡️ log: Update NewSyncWriter to work with term.IsTerminal (#501) — thanks, @ChrisHines
    • 🚚 metrics/prometheus: move handlers to promhttp (#497) — thanks, @kavirajk

    ✨ Enhancements

    • 👍 sd: Support push model for service discovery (#492) — thanks, @yurishkuro
    • sd: add Eureka SD implementation (#504) — thanks, @martinbaillie
    • ⬆️ transport/http: upgrade go1.7 ctxhttp to req.WithContext (#535) — thanks, @stanxii
    • transport/http: add client finalizer (#533) — thanks, @travissalascox
    • transport/http: make request Accept header available in context (#516)
    • 🚚 transport/grpc: remove autoprefixing logic (#524) — thanks, @terinjokes
    • auth/jwt: Add *WithClaims methods to jwt middleware (#488) — thanks, @cam-stitt
    • 📜 auth/jwt: Improved error handling on jwt.NewParser (#521) — thanks, @basvanbeek
    • metrics: Cloudwatch metrics (#495) — thanks, @cam-stitt
    • 🌲 log: Add TimestampFormat and TimeFormat (#514) — thanks, @ChrisHines
    • 🌲 log: Add msys2/cygwin terminal detection support (#485) — thanks, @ereOn

    📚 Documentation, examples, and testing

    • ✅ sd: test fixes (#544, #547, #548, #550) — thanks, @yurishkuro
    • 🚚 log/level: Remove log.NewContext mention from log/level docs (#493) — thanks, @narqo
    • ✅ log/level: fix typo in level test cases (#520) — thanks, @SimonRichardson
    • examples/shipping: header should set before WriteHeader (#538) — thanks, @bcho
    • 🌲 examples/shipping: use log.NewSyncWriter in example (#522) — thanks, @terinjokes
    • examples/addsvc: Fix typo in addsvc's doc block (#518) — thanks, @annismckenzie
    • 🚚 README: Remove h2 framework from Service frameworks (#532) — thanks, @NoahZhang
    • ⚡️ misc: Install latest by default on Travis and update go for CircleCI (#536) — thanks, @suyash
    • misc: Use more consistent CircleCI badge (#517) — thanks, @kevgo