go-kit/kit
### [`v0.12.0`](https://togithub.com/go-kit/kit/releases/v0.12.0)
[Compare Source](https://togithub.com/go-kit/kit/compare/v0.11.0...v0.12.0)
A mostly procedural update to Go kit, including support for the latest version of Go, and updates for dependencies, including a long-awaited update to avoid a CVE in the JWT dependency.
- Update for Go 1.17 ([#1183](https://togithub.com/go-kit/kit/issues/1183)) — thanks, [@sagikazarmark](https://togithub.com/sagikazarmark), [@ChrisHines](https://togithub.com/ChrisHines)
- Update depedency speed ([#1177](https://togithub.com/go-kit/kit/issues/1177)) — thanks, [@sagikazarmark](https://togithub.com/sagikazarmark)
- Improve code quality ([#1168](https://togithub.com/go-kit/kit/issues/1168), [#1064](https://togithub.com/go-kit/kit/issues/1064)) — thanks, [@withshubh](https://togithub.com/withshubh), [@sagikazarmark](https://togithub.com/sagikazarmark)
- Update hudl/fargo ([#1167](https://togithub.com/go-kit/kit/issues/1167)) — thanks, [@sagikazarmark](https://togithub.com/sagikazarmark)
- Update JWT dependency ([#1172](https://togithub.com/go-kit/kit/issues/1172)) — thanks, [@vovinacci](https://togithub.com/vovinacci)
- Replace kit/log with log (([#1173](https://togithub.com/go-kit/kit/issues/1173)) — thanks, [@ChrisHines](https://togithub.com/ChrisHines)
- Update repo issue forms ([#1169](https://togithub.com/go-kit/kit/issues/1169), [#1166](https://togithub.com/go-kit/kit/issues/1166)) — thanks, [@sagikazarmark](https://togithub.com/sagikazarmark)
### [`v0.11.0`](https://togithub.com/go-kit/kit/releases/v0.11.0)
[Compare Source](https://togithub.com/go-kit/kit/compare/v0.10.0...v0.11.0)
A new release with several improvements and enhancements. The first one in a long while! Huge thanks to [@sagikazarmark](https://togithub.com/sagikazarmark) for putting in most of the gruntwork to make it happen! You're a superstar.
The biggest thing: package log has been extracted to a separate repository and module, [go-kit/log](https://togithub.com/go-kit/log). This means that if you or your project was importing go-kit/kit just to get package log, you can significantly reduce your go.mod and dep graph by switching to the new module. Note that we have no current plans to alias the existing go-kit/kit/log to the new go-kit/log module and package, nor to deprecate the current package in favor of the new one. They are two distinct packages with no defined relationship to each other. This may change in the future.
Major changes:
- The log package was extracted to a [separate repository](https://togithub.com/go-kit/log)
- Examples were moved to a separate [repository](https://togithub.com/go-kit/examples)
- Deprecated kitgen was removed
Thanks to the 22 contributors who contributed to this release! 🏌️♂️
### Bug fixes
- metrics/cloudwatch: log CloudWatch response error ([#961](https://togithub.com/go-kit/kit/issues/961)) (thanks [@Trane9991](https://togithub.com/Trane9991))
- log: defer mutex unlocks for panic safety in SyncLogger ([#974](https://togithub.com/go-kit/kit/issues/974))
- util/conn: close old connection before reconnect ([#982](https://togithub.com/go-kit/kit/issues/982)) (thanks [@chikaku](https://togithub.com/chikaku))
- log/term: fix build on GOOS=js GOARCH=wasm ([#993](https://togithub.com/go-kit/kit/issues/993)) (thanks [@mvdan](https://togithub.com/mvdan))
- transport/http/jsonrpc: move the ClientAfter calls to before the decode ([#1008](https://togithub.com/go-kit/kit/issues/1008)) (thanks [@directionless](https://togithub.com/directionless))
- sd/etcdv3: fix etcdv3 client won't return error when no endpoint is available ([#1009](https://togithub.com/go-kit/kit/issues/1009)) (thanks [@wayjam](https://togithub.com/wayjam))
- metrics/generic: fix uint64 alignment ([#1007](https://togithub.com/go-kit/kit/issues/1007)) (thanks [@ldez](https://togithub.com/ldez))
- log: fix stdlibadapter when prefixed ([#1036](https://togithub.com/go-kit/kit/issues/1036)) (thanks [@soven](https://togithub.com/soven))
- log: capture newlines in log stdlib ([#1041](https://togithub.com/go-kit/kit/issues/1041)) (thanks [@SuperQ](https://togithub.com/SuperQ))
### Enhancements
- metrics/cloudwatch: use batch values API for CloudWatch PutMetric data call ([#960](https://togithub.com/go-kit/kit/issues/960)) (thanks [@Trane9991](https://togithub.com/Trane9991))
- log: allow to use specific logrus level in the adaptor ([#962](https://togithub.com/go-kit/kit/issues/962)) (thanks [@Trane9991](https://togithub.com/Trane9991))
- transport/http: add NewExplicitClient ([#971](https://togithub.com/go-kit/kit/issues/971))
- transport/http/jsonrpc: add RequestID in error body when using the DefaultErrorEncoder ([#969](https://togithub.com/go-kit/kit/issues/969)) (thanks [@esenac](https://togithub.com/esenac))
- transport/http/jsonrpc: add Version to JSON-RPC client request ([#990](https://togithub.com/go-kit/kit/issues/990)) (thanks [@shirolimit](https://togithub.com/shirolimit))
- log: add WithSuffix to append key-value pairs to those passed to Log ([#992](https://togithub.com/go-kit/kit/issues/992)) (thanks [@vinayvinay](https://togithub.com/vinayvinay))
- sd/consul: improve inconsistent Consul SD index handling ([#999](https://togithub.com/go-kit/kit/issues/999)) (thanks [@vinayvinay](https://togithub.com/vinayvinay))
- all: dependency updates ([#1029](https://togithub.com/go-kit/kit/issues/1029), [#1095](https://togithub.com/go-kit/kit/issues/1095), [#1097](https://togithub.com/go-kit/kit/issues/1097), [#1098](https://togithub.com/go-kit/kit/issues/1098), [#1106](https://togithub.com/go-kit/kit/issues/1106), [#1118](https://togithub.com/go-kit/kit/issues/1118), [#1115](https://togithub.com/go-kit/kit/issues/1115), [#1119](https://togithub.com/go-kit/kit/issues/1119), [#1124](https://togithub.com/go-kit/kit/issues/1124)) (thanks [@ChrisHines](https://togithub.com/ChrisHines), [@Enrico204](https://togithub.com/Enrico204), [@sagikazarmark](https://togithub.com/sagikazarmark))
- tracing/opencensus: add support for JSONRPC ([#1022](https://togithub.com/go-kit/kit/issues/1022)) (thanks [@ryan-lang](https://togithub.com/ryan-lang))
- tracing/opentracing: improve endpoint middleware options ([#1072](https://togithub.com/go-kit/kit/issues/1072)) (thanks [@alebabai](https://togithub.com/alebabai))
- auth/jwt: fix repetition of the word "token" in JWT ([#1070](https://togithub.com/go-kit/kit/issues/1070)) (thanks [@amidam](https://togithub.com/amidam))
- sd/zk: replace unmaintained zk library with drop-in replacement ([#1120](https://togithub.com/go-kit/kit/issues/1120)) (thanks [@sagikazarmark](https://togithub.com/sagikazarmark))
- cmd/kitgen: remove deprecated kitgen ([#1121](https://togithub.com/go-kit/kit/issues/1121)) (thanks [@sagikazarmark](https://togithub.com/sagikazarmark))
### Documentation, examples, tests
- readme: change godoc to pkg.go.dev ([#963](https://togithub.com/go-kit/kit/issues/963)) (thanks [@relunctance](https://togithub.com/relunctance))
- readme: add links to generator tools ([#964](https://togithub.com/go-kit/kit/issues/964))
- metrics/cloudwatch: fix bad Gauge test ([#975](https://togithub.com/go-kit/kit/issues/975)) (thanks [@Trane9991](https://togithub.com/Trane9991))
- readme: update the link and description for go-micro ([#989](https://togithub.com/go-kit/kit/issues/989)) (thanks [@asim](https://togithub.com/asim))
- examples: add missing "to" preposition ([#1014](https://togithub.com/go-kit/kit/issues/1014))
- tracing/opencensus: fix failing tests ([#1021](https://togithub.com/go-kit/kit/issues/1021)) (thanks [@ryan-lang](https://togithub.com/ryan-lang))
- log: fix doc comment ([#1028](https://togithub.com/go-kit/kit/issues/1028)) (thanks [@vrazdalovschi](https://togithub.com/vrazdalovschi))
- ci: upgrade to the latest version of the setup-go github action ([#1040](https://togithub.com/go-kit/kit/issues/1040)) (thanks [@AntonNguyen](https://togithub.com/AntonNguyen))
- ci: update Go versions for CI ([#1054](https://togithub.com/go-kit/kit/issues/1054), [#1062](https://togithub.com/go-kit/kit/issues/1062)) (thanks [@codefromthecrypt](https://togithub.com/codefromthecrypt))
- examples: relocate examples to a separate repository ([#1100](https://togithub.com/go-kit/kit/issues/1100)) (thanks [@sagikazarmark](https://togithub.com/sagikazarmark))
- transport/awslambda: replace aws lambda structs with stubs in tests ([#1117](https://togithub.com/go-kit/kit/issues/1117)) (thanks [@sagikazarmark](https://togithub.com/sagikazarmark))
- transport/nats: fix panic in tests ([#1122](https://togithub.com/go-kit/kit/issues/1122)) (thanks [@sagikazarmark](https://togithub.com/sagikazarmark))
- tracing: add a link to opentelemetry instrumentation ([#1112](https://togithub.com/go-kit/kit/issues/1112)) (thanks [@sagikazarmark](https://togithub.com/sagikazarmark))
See more details in the [0.11.0](https://togithub.com/go-kit/kit/milestone/1?closed=1) milestone.
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
v0.10.0
->v0.12.0
Release Notes
go-kit/kit
### [`v0.12.0`](https://togithub.com/go-kit/kit/releases/v0.12.0) [Compare Source](https://togithub.com/go-kit/kit/compare/v0.11.0...v0.12.0) A mostly procedural update to Go kit, including support for the latest version of Go, and updates for dependencies, including a long-awaited update to avoid a CVE in the JWT dependency. - Update for Go 1.17 ([#1183](https://togithub.com/go-kit/kit/issues/1183)) — thanks, [@sagikazarmark](https://togithub.com/sagikazarmark), [@ChrisHines](https://togithub.com/ChrisHines) - Update depedency speed ([#1177](https://togithub.com/go-kit/kit/issues/1177)) — thanks, [@sagikazarmark](https://togithub.com/sagikazarmark) - Improve code quality ([#1168](https://togithub.com/go-kit/kit/issues/1168), [#1064](https://togithub.com/go-kit/kit/issues/1064)) — thanks, [@withshubh](https://togithub.com/withshubh), [@sagikazarmark](https://togithub.com/sagikazarmark) - Update hudl/fargo ([#1167](https://togithub.com/go-kit/kit/issues/1167)) — thanks, [@sagikazarmark](https://togithub.com/sagikazarmark) - Update JWT dependency ([#1172](https://togithub.com/go-kit/kit/issues/1172)) — thanks, [@vovinacci](https://togithub.com/vovinacci) - Replace kit/log with log (([#1173](https://togithub.com/go-kit/kit/issues/1173)) — thanks, [@ChrisHines](https://togithub.com/ChrisHines) - Update repo issue forms ([#1169](https://togithub.com/go-kit/kit/issues/1169), [#1166](https://togithub.com/go-kit/kit/issues/1166)) — thanks, [@sagikazarmark](https://togithub.com/sagikazarmark) ### [`v0.11.0`](https://togithub.com/go-kit/kit/releases/v0.11.0) [Compare Source](https://togithub.com/go-kit/kit/compare/v0.10.0...v0.11.0) A new release with several improvements and enhancements. The first one in a long while! Huge thanks to [@sagikazarmark](https://togithub.com/sagikazarmark) for putting in most of the gruntwork to make it happen! You're a superstar. The biggest thing: package log has been extracted to a separate repository and module, [go-kit/log](https://togithub.com/go-kit/log). This means that if you or your project was importing go-kit/kit just to get package log, you can significantly reduce your go.mod and dep graph by switching to the new module. Note that we have no current plans to alias the existing go-kit/kit/log to the new go-kit/log module and package, nor to deprecate the current package in favor of the new one. They are two distinct packages with no defined relationship to each other. This may change in the future. Major changes: - The log package was extracted to a [separate repository](https://togithub.com/go-kit/log) - Examples were moved to a separate [repository](https://togithub.com/go-kit/examples) - Deprecated kitgen was removed Thanks to the 22 contributors who contributed to this release! 🏌️♂️ ### Bug fixes - metrics/cloudwatch: log CloudWatch response error ([#961](https://togithub.com/go-kit/kit/issues/961)) (thanks [@Trane9991](https://togithub.com/Trane9991)) - log: defer mutex unlocks for panic safety in SyncLogger ([#974](https://togithub.com/go-kit/kit/issues/974)) - util/conn: close old connection before reconnect ([#982](https://togithub.com/go-kit/kit/issues/982)) (thanks [@chikaku](https://togithub.com/chikaku)) - log/term: fix build on GOOS=js GOARCH=wasm ([#993](https://togithub.com/go-kit/kit/issues/993)) (thanks [@mvdan](https://togithub.com/mvdan)) - transport/http/jsonrpc: move the ClientAfter calls to before the decode ([#1008](https://togithub.com/go-kit/kit/issues/1008)) (thanks [@directionless](https://togithub.com/directionless)) - sd/etcdv3: fix etcdv3 client won't return error when no endpoint is available ([#1009](https://togithub.com/go-kit/kit/issues/1009)) (thanks [@wayjam](https://togithub.com/wayjam)) - metrics/generic: fix uint64 alignment ([#1007](https://togithub.com/go-kit/kit/issues/1007)) (thanks [@ldez](https://togithub.com/ldez)) - log: fix stdlibadapter when prefixed ([#1036](https://togithub.com/go-kit/kit/issues/1036)) (thanks [@soven](https://togithub.com/soven)) - log: capture newlines in log stdlib ([#1041](https://togithub.com/go-kit/kit/issues/1041)) (thanks [@SuperQ](https://togithub.com/SuperQ)) ### Enhancements - metrics/cloudwatch: use batch values API for CloudWatch PutMetric data call ([#960](https://togithub.com/go-kit/kit/issues/960)) (thanks [@Trane9991](https://togithub.com/Trane9991)) - log: allow to use specific logrus level in the adaptor ([#962](https://togithub.com/go-kit/kit/issues/962)) (thanks [@Trane9991](https://togithub.com/Trane9991)) - transport/http: add NewExplicitClient ([#971](https://togithub.com/go-kit/kit/issues/971)) - transport/http/jsonrpc: add RequestID in error body when using the DefaultErrorEncoder ([#969](https://togithub.com/go-kit/kit/issues/969)) (thanks [@esenac](https://togithub.com/esenac)) - transport/http/jsonrpc: add Version to JSON-RPC client request ([#990](https://togithub.com/go-kit/kit/issues/990)) (thanks [@shirolimit](https://togithub.com/shirolimit)) - log: add WithSuffix to append key-value pairs to those passed to Log ([#992](https://togithub.com/go-kit/kit/issues/992)) (thanks [@vinayvinay](https://togithub.com/vinayvinay)) - sd/consul: improve inconsistent Consul SD index handling ([#999](https://togithub.com/go-kit/kit/issues/999)) (thanks [@vinayvinay](https://togithub.com/vinayvinay)) - all: dependency updates ([#1029](https://togithub.com/go-kit/kit/issues/1029), [#1095](https://togithub.com/go-kit/kit/issues/1095), [#1097](https://togithub.com/go-kit/kit/issues/1097), [#1098](https://togithub.com/go-kit/kit/issues/1098), [#1106](https://togithub.com/go-kit/kit/issues/1106), [#1118](https://togithub.com/go-kit/kit/issues/1118), [#1115](https://togithub.com/go-kit/kit/issues/1115), [#1119](https://togithub.com/go-kit/kit/issues/1119), [#1124](https://togithub.com/go-kit/kit/issues/1124)) (thanks [@ChrisHines](https://togithub.com/ChrisHines), [@Enrico204](https://togithub.com/Enrico204), [@sagikazarmark](https://togithub.com/sagikazarmark)) - tracing/opencensus: add support for JSONRPC ([#1022](https://togithub.com/go-kit/kit/issues/1022)) (thanks [@ryan-lang](https://togithub.com/ryan-lang)) - tracing/opentracing: improve endpoint middleware options ([#1072](https://togithub.com/go-kit/kit/issues/1072)) (thanks [@alebabai](https://togithub.com/alebabai)) - auth/jwt: fix repetition of the word "token" in JWT ([#1070](https://togithub.com/go-kit/kit/issues/1070)) (thanks [@amidam](https://togithub.com/amidam)) - sd/zk: replace unmaintained zk library with drop-in replacement ([#1120](https://togithub.com/go-kit/kit/issues/1120)) (thanks [@sagikazarmark](https://togithub.com/sagikazarmark)) - cmd/kitgen: remove deprecated kitgen ([#1121](https://togithub.com/go-kit/kit/issues/1121)) (thanks [@sagikazarmark](https://togithub.com/sagikazarmark)) ### Documentation, examples, tests - readme: change godoc to pkg.go.dev ([#963](https://togithub.com/go-kit/kit/issues/963)) (thanks [@relunctance](https://togithub.com/relunctance)) - readme: add links to generator tools ([#964](https://togithub.com/go-kit/kit/issues/964)) - metrics/cloudwatch: fix bad Gauge test ([#975](https://togithub.com/go-kit/kit/issues/975)) (thanks [@Trane9991](https://togithub.com/Trane9991)) - readme: update the link and description for go-micro ([#989](https://togithub.com/go-kit/kit/issues/989)) (thanks [@asim](https://togithub.com/asim)) - examples: add missing "to" preposition ([#1014](https://togithub.com/go-kit/kit/issues/1014)) - tracing/opencensus: fix failing tests ([#1021](https://togithub.com/go-kit/kit/issues/1021)) (thanks [@ryan-lang](https://togithub.com/ryan-lang)) - log: fix doc comment ([#1028](https://togithub.com/go-kit/kit/issues/1028)) (thanks [@vrazdalovschi](https://togithub.com/vrazdalovschi)) - ci: upgrade to the latest version of the setup-go github action ([#1040](https://togithub.com/go-kit/kit/issues/1040)) (thanks [@AntonNguyen](https://togithub.com/AntonNguyen)) - ci: update Go versions for CI ([#1054](https://togithub.com/go-kit/kit/issues/1054), [#1062](https://togithub.com/go-kit/kit/issues/1062)) (thanks [@codefromthecrypt](https://togithub.com/codefromthecrypt)) - examples: relocate examples to a separate repository ([#1100](https://togithub.com/go-kit/kit/issues/1100)) (thanks [@sagikazarmark](https://togithub.com/sagikazarmark)) - transport/awslambda: replace aws lambda structs with stubs in tests ([#1117](https://togithub.com/go-kit/kit/issues/1117)) (thanks [@sagikazarmark](https://togithub.com/sagikazarmark)) - transport/nats: fix panic in tests ([#1122](https://togithub.com/go-kit/kit/issues/1122)) (thanks [@sagikazarmark](https://togithub.com/sagikazarmark)) - tracing: add a link to opentelemetry instrumentation ([#1112](https://togithub.com/go-kit/kit/issues/1112)) (thanks [@sagikazarmark](https://togithub.com/sagikazarmark)) See more details in the [0.11.0](https://togithub.com/go-kit/kit/milestone/1?closed=1) milestone.Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.