@peterbourgon peterbourgon released this Nov 10, 2018 · 11 commits to master since this release

Assets 2

A major release! Featuring NATS and AMPQ transports, many other smaller enhancements, and many bug fixes. Thanks to the 25 contributors who made big contributions to this release! 🏌️

Bug fixes

  • Fix Client.Endpoint to not cancel when bufferedStream (#776) (thanks @xescugc)
  • Fix Consul SD loop exiting on EOF (#788) (thanks @kcajmagic)
  • Add backoff package and fix Consul CPU usage (#635) (thanks @nicot)
  • Fix race condition in NATS transport tests (#705) (thanks @nussjustin)
  • Fix pact test due to breaking api change (#720) (thanks @basvanbeek)
  • Add FinalizerFunc to NATS transport (#790) (thanks @kirooha)
  • Fix etcdv3 registrar tests (#724) (thanks @basvanbeek)
  • JSONRPC: add id from request to response (#742) (thanks @wangzuo)
  • Fix etcd import path (#756) (thanks @h8liu)
  • Rename 'package log' to 'log package' to fix godoc link handling. (#765) (thanks @bx2)

Enhancements

Documentation, examples, and testing

@peterbourgon peterbourgon released this Mar 19, 2018 · 74 commits to master since this release

Assets 2

An early 2018 release, containing several exciting new enhancements. First, we
now have the kitgen code generation tool, for bootstrapping new services,
thanks to the tireless efforts of @nyarly. Second, we have the long-awaited
JSONRPC transport, due to the tireless efforts of @rossmcf, @blainsmith, and
several others. Thanks also to @senseyeio. Also, we have support for etcdv3 in
package sd, and a new prototype cloudwatch package for metrics.

Thanks to the 16 individual contributors who have contributed to this release! 🏌️‍♀️

Bug fixes

Enhancements

Documentation, examples, and testing

@peterbourgon peterbourgon released this Oct 9, 2017 · 103 commits to master since this release

Assets 2

A late-2017 release, containing mostly small enhancements and bugfixes. The biggest change not totally reflected in the changelog below is that this release includes changes to support gRPC 1.6. There are several breaking or potentially-breaking changes, including the fact that we now support only Go 1.9 and above.

Thanks to the 18 individual contributors who have contributed to this release! 🏌️‍♀️

Bug fixes

  • auth/jwt: MapClaims: improve API (#568) -- breaking change -- thanks, @litriv
  • transport/grpc: rm deprecated funcs (#598) -- potentially breaking change -- thanks, @travissalascox
  • auth/jwt: prevent concurrent reads and writes on MapClaims (#564)
  • transport/grpc: fix a swallowed error (#572) -- thanks, @alrs
  • metrics/cloudwatch: only send new counter values (#591) -- thanks, @feliksik
  • metrics/dogstatsd: fix for when to omit tag values (#602) -- thanks, @jfhamlin

Enhancements

  • Standardize names for functions moving information to and from the context (#579) -- breaking change
  • metrics/cloudwatch: partition API requests into separate concurrent batches (#540) -- thanks, @alpeb
  • ratelimit: new adapters for x/time/rate (#582) -- thanks, @nelz9999
  • sd: add Stop method to Instancer interface (#583)
  • metrics/dogstatsd: track Gauge values, and support default values (#588) -- thanks, @jfhamlin
  • metrics/cloudwatch: improve API for specifying percentiles (#599) -- thanks, @feliksik
  • auth/basic: add BasicAuth middleware (#605) -- thanks, @DimaSalakhov
  • metrics: set unit time on Timer type (#610) -- thanks, @esenac

Documentation, examples, and testing

  • Go kit now only supports go1.9 and above (#613) -- potentially breaking change
  • Run Coveralls on Travis (#519)
  • Update gRPC README information about protoc and streams (#557) -- thanks, @Fanatics
  • Minor documentation fixes (#561)
  • Remove some byte order marks (#571) -- thanks, @lwalen
  • metrics/cloudwatch: Small fixes to CloudWatch tests (#573) -- thanks, @alrs
  • examples/addsvc: improved package layout (#577)
  • log: improve tests (#581) -- thanks, @cam-stitt
  • examples: updated Thrift to latest Go library (#585) -- thanks, @basvanbeek
  • sd: fix TestDefaultEndpointer flake (#596)
  • sd: fix spelling in doc comment (#603) -- thanks, @elliotwms
  • examples/addsvc: fix typo in doc comments (#606) -- thanks, @gosharplite
  • metrics: fix missing comma in example code (#611) -- thanks, @daniel-garcia
  • auth/jwt: minor doc update (#617) -- thanks, @bcho
  • examples/addsvc: fix typo (#619) -- thanks, @karthikmuralidharan

@peterbourgon peterbourgon released this Jun 20, 2017 · 198 commits to master since this release

Assets 2

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

@peterbourgon peterbourgon released this Mar 8, 2017 · 275 commits to master since this release

Assets 2

Another substantial Go kit release, with a handful of bugfixes and some major enhancements.

We now use stdlib package context wherever possible — basically, everywhere except package transport/grpc, as gRPC still imports golang.org/x/net/context and we don't have a choice but to comply. Still, there are ways to bridge the gap: see examples/addsvc for details. This means Go kit now requires Go 1.7 or above.

The other major changes in this release involve package log. We've removed NewContext and the Context type, preferring With and WithPrefix helper functions. Also, we've promoted the experiemental level package to package level, and deprecated the old levels package to deprecated_levels. I'm really happy with this: it's a slightly esoteric, but really clean and literate way to compose levels with Go kit's package log. Give it a shot!

For the full changelog, see below. My enormous gratitude goes to Chris Hines @ChrisHines for his expert work on package log, and to Bas van Beek @basvanbeek for his expert work on packages tracing and transport/grpc. And huge thanks to the 22 individual contributors who've contributed to this release! 🏌️‍♀️

Bug fixes

  • log/term/colorlogger: Reset bold attribute (#399) - thanks, @serge-v
  • metrics/influx: Fix global tags (#404) — thanks, @kihamo
  • metrics/generic: make goroutine-safe (#424) — thanks, @gaplyk
  • metrics/generic: actually track metric name thru With invocations (#455) — thanks, @yurishkuro

Enhancements

  • Use stdlib context where possible (#421, #480)
  • log: remove Context type, prefer With/WithPrefix helpers (#481)
  • log: DefaultTimestamp becomes nano-precision (#430) — thanks, @willfaught
  • log: DefaultCaller key becomes "caller" (#439) — thanks, @willfaught
  • log/level: brand new leveled logging package (#401, #454, #470, #476) — thanks, @groob
  • metrics: Gauge gets an Add method (#393) — thanks, @hardcoar, @dlmiddlecote
  • metrics/circonus: rm :( it was racy, difficult to test, and broke often (#442)
  • sd/etcd: add TTL (#413) — thanks, @buptmiao
  • transport: ServerBefore/ServerAfter can be repeated (#467, #479) — thanks, @djgilcrease
  • transport/grpc: improve error handling (#389) — thanks, @kushtrimjunuzi
  • transport/grpc: support Server Response Headers and Trailers (#479)
  • transport/http: add ServerFinalizer (#394, #405, #408, #461) — thanks, @konradreiche, @xla, @drscre
  • transport/http: enhance ErrorEncoder: support StatusCoder, Headerer, json.Marshaler interfaces (#414)
  • transport/http: don't encode JSON response with StatusNoContent (#436) — thanks, @groob
  • transport/http: add EncodeJSONRequest helper (#440) — thanks, @willfaught
  • transport/http: add EncodeXMLRequest (#456) — thanks, and condolences, to @gaplyk

Documentation, examples, and testing

  • examples/addsvc: correct typo (#396) — thanks, @patterns
  • examples/shipping: fix reciever name (#473) — thanks, @kisPocok
  • log: improve documentation (#429)
  • metrics: fix documentation (#406, #417) — thanks, @Artmann
  • metrics/graphite: fix typo in docs (#450) — thanks, @jkakar
  • tracing/zipkin: document new, easier Zipkin HTTP tracing collector (#466)
  • tracing/zipkin: fix typo in Zipkin docs (#469) — thanks, @frozzare
  • Testing: fixes for Go report card (#395)
  • Testing: run integration tests on Circle (#372, #416) — thanks, @rodrigosaito
  • Testing: use docker-compose 1.10 in integration environment (#448)
  • Testing: improve coverprofile wildcard in gitignore (#458) — thanks, @travissalascox
  • Testing: Drone.io is no more :( (#468) — thanks, @17twenty
  • Testing: Upgrade CI to use go1.7.5 and go1.8 (#471)

@peterbourgon peterbourgon released this Nov 15, 2016 · 397 commits to master since this release

Assets 2

An incremental, if large, release of Go kit. With contributions from @basvanbeek, @bbrazil, @briankassouf, @cam-stitt, @dvrkps, @everesio, @Fenthick, @groob, @jstordeur, @kpacha, @marcusolsson, @mishudark, @peterbourgon, @rossmcf, @suyash, and @xla. Thanks, contributors!

Bug fixes

  • Fix synchronization bug in metrics/generic.Histogram (#392)
  • Fixes tracking changes to OpenTracing (#387, #374, #339)
  • Fixes and improvements to package metrics/influx (#369)
  • Correct HTTP tags in distributed tracing spans (#375)
  • Fix some dead and breaking code in package sd/consul (#371)
  • Fix panic on inconsistent label cardinality (#365)
  • Fix To/From mixup in package tracing (#348)

Enhancements

  • Completely refactor package metrics (#313) ★
  • Add package auth/jwt (#335)
  • Add package metrics/pcp for Intel Performance CoPilot (#363)
  • Add package log/experimental_level (#357)
  • Custom error behavior for lb.Retry (#370)
  • Update examples/shipping (#388)
  • Go Report Card fixes (#379)
  • Remove unused errors from package endpoint (#361)
  • Add metrics.Timer (#358)
  • Add better unit tests for package sd/etcd.Client (#344)

Documentation

  • Clarify comments in package metrics (#342)
  • Fix typo in package auth/jwt docs (#385)
  • Fix typo in package log docs (#380, #351)
  • Fix typo in package metrics/expvar docs #356
  • Provide better initial guidance in package circuitbreaker docs (#345)

@peterbourgon peterbourgon released this Aug 2, 2016 · 581 commits to master since this release

Assets 2

An incremental release of Go kit. With contributions from @Ayiga, @basvanbeek, @ChrisHines, @eblanchette, @ifraixedes, @jygastaud, @LennartOlsen, @peterbourgon, and @xmattstrongx. Thanks, contributors!

Bug fixes

  • util/conn: fix Manager behavior when initial Dial fails (#293)
  • Fixes tracking changes to OpenTracing (#330, #315, #314, #311, #306)
  • Fixes and improvements to package etcd tests (#329)

Enhancements

  • Simple sync log (#327)
  • Do not log "SpanContext not found in Extract carrier" (#316)
  • Improvements to transports and contexts, especially gRPC (#303)
  • sd etcd register/deregister implementation (#299)

Documentation

  • Some small fixes on Profilesvc example (#318)
  • Adding testable example documention (#317)
  • Removed url.QueryEscape from the make*Endpoint functions (#309)
  • Fix typos (#307)
  • Update documentation throughout the project (#301)
  • Update client.go concatEndpoint (#297)
  • examples/addsvc: recompile protobufs (#296)

@peterbourgon peterbourgon released this Jun 7, 2016 · 647 commits to master since this release

Assets 2

The initial semver-compatible tagged release of Go kit. See #279.