From 84a0872565014d8fa233c63f2988ff665431076a Mon Sep 17 00:00:00 2001 From: Ajat Prabha Date: Thu, 11 Jan 2024 10:38:57 +0530 Subject: [PATCH] Pre release v0.6.0 (#33) * Releasing v0.6.0 * update CHANGELOG --- CHANGELOG.md | 11 +++++++++++ examples/xkafka/go.mod | 2 +- examples/xload/go.mod | 4 ++-- version.go | 2 +- xkafka/middleware/go.mod | 2 +- xkafka/middleware/prometheus/go.mod | 2 +- xkafka/middleware/zerolog/go.mod | 2 +- xload/providers/cached/go.mod | 2 +- xload/providers/viper/go.mod | 2 +- xload/providers/yaml/go.mod | 2 +- xpod/go.mod | 2 +- 11 files changed, 22 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f398e97..5ce5cc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,16 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +## [0.6.0] + +### Added + +- [`xload`](./xload) Add [viper](https://github.com/spf13/viper) provider. ([#32](https://github.com/gojekfarm/xtools/pull/32)) + +### Changed + +- [`xload`](./xload) Add context to errors to help with debugging. ([#31](https://github.com/gojekfarm/xtools/pull/31)) + ## [0.5.0] ### Changed @@ -65,6 +75,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - [`xproto`](./xproto) package added [Unreleased]: https://github.com/gojekfarm/xtools/compare/v0.5.0...HEAD +[0.6.0]: https://github.com/gojekfarm/xtools/releases/tag/v0.6.0 [0.5.0]: https://github.com/gojekfarm/xtools/releases/tag/v0.5.0 [0.4.1]: https://github.com/gojekfarm/xtools/releases/tag/v0.4.1 [0.4.0]: https://github.com/gojekfarm/xtools/releases/tag/v0.4.0 diff --git a/examples/xkafka/go.mod b/examples/xkafka/go.mod index d17918d..026a7c4 100644 --- a/examples/xkafka/go.mod +++ b/examples/xkafka/go.mod @@ -11,7 +11,7 @@ replace ( require ( github.com/confluentinc/confluent-kafka-go v1.9.2 github.com/gojekfarm/xrun v0.3.0 - github.com/gojekfarm/xtools/xkafka v0.5.0 + github.com/gojekfarm/xtools/xkafka v0.6.0 github.com/lmittmann/tint v1.0.3 github.com/rs/xid v1.4.0 github.com/urfave/cli/v2 v2.23.7 diff --git a/examples/xload/go.mod b/examples/xload/go.mod index 4e8c816..43ca8b0 100644 --- a/examples/xload/go.mod +++ b/examples/xload/go.mod @@ -8,8 +8,8 @@ replace ( ) require ( - github.com/gojekfarm/xtools/xload v0.5.0 - github.com/gojekfarm/xtools/xload/providers/yaml v0.5.0 + github.com/gojekfarm/xtools/xload v0.6.0 + github.com/gojekfarm/xtools/xload/providers/yaml v0.6.0 ) require ( diff --git a/version.go b/version.go index dab49a8..42a4060 100644 --- a/version.go +++ b/version.go @@ -2,6 +2,6 @@ package xtools // Version can be used to get the current xtools library version func Version() string { - return "0.5.0" + return "0.6.0" // This string is updated by the pre_release.sh script during release } diff --git a/xkafka/middleware/go.mod b/xkafka/middleware/go.mod index f1ef5a2..916331f 100644 --- a/xkafka/middleware/go.mod +++ b/xkafka/middleware/go.mod @@ -7,7 +7,7 @@ toolchain go1.21.0 replace github.com/gojekfarm/xtools/xkafka => ../ require ( - github.com/gojekfarm/xtools/xkafka v0.5.0 + github.com/gojekfarm/xtools/xkafka v0.6.0 github.com/stretchr/testify v1.8.1 ) diff --git a/xkafka/middleware/prometheus/go.mod b/xkafka/middleware/prometheus/go.mod index 1cd5889..7518722 100644 --- a/xkafka/middleware/prometheus/go.mod +++ b/xkafka/middleware/prometheus/go.mod @@ -7,7 +7,7 @@ toolchain go1.21.0 replace github.com/gojekfarm/xtools/xkafka => ../../ require ( - github.com/gojekfarm/xtools/xkafka v0.5.0 + github.com/gojekfarm/xtools/xkafka v0.6.0 github.com/prometheus/client_golang v1.14.0 github.com/stretchr/testify v1.8.1 ) diff --git a/xkafka/middleware/zerolog/go.mod b/xkafka/middleware/zerolog/go.mod index 1be9b5c..4d937e0 100644 --- a/xkafka/middleware/zerolog/go.mod +++ b/xkafka/middleware/zerolog/go.mod @@ -7,7 +7,7 @@ toolchain go1.21.0 replace github.com/gojekfarm/xtools/xkafka => ../../ require ( - github.com/gojekfarm/xtools/xkafka v0.5.0 + github.com/gojekfarm/xtools/xkafka v0.6.0 github.com/rs/zerolog v1.29.0 ) diff --git a/xload/providers/cached/go.mod b/xload/providers/cached/go.mod index d3b18f7..4f3d5f3 100644 --- a/xload/providers/cached/go.mod +++ b/xload/providers/cached/go.mod @@ -5,7 +5,7 @@ go 1.20 replace github.com/gojekfarm/xtools/xload => ../.. require ( - github.com/gojekfarm/xtools/xload v0.5.0 + github.com/gojekfarm/xtools/xload v0.6.0 github.com/stretchr/testify v1.8.4 ) diff --git a/xload/providers/viper/go.mod b/xload/providers/viper/go.mod index e52b4c2..409fd8a 100644 --- a/xload/providers/viper/go.mod +++ b/xload/providers/viper/go.mod @@ -5,7 +5,7 @@ go 1.21.3 replace github.com/gojekfarm/xtools/xload => ../.. require ( - github.com/gojekfarm/xtools/xload v0.5.0 + github.com/gojekfarm/xtools/xload v0.6.0 github.com/spf13/viper v1.18.2 github.com/stretchr/testify v1.8.4 ) diff --git a/xload/providers/yaml/go.mod b/xload/providers/yaml/go.mod index a887096..6a0f5d7 100644 --- a/xload/providers/yaml/go.mod +++ b/xload/providers/yaml/go.mod @@ -5,7 +5,7 @@ go 1.20 replace github.com/gojekfarm/xtools/xload => ../.. require ( - github.com/gojekfarm/xtools/xload v0.5.0 + github.com/gojekfarm/xtools/xload v0.6.0 gopkg.in/yaml.v3 v3.0.1 ) diff --git a/xpod/go.mod b/xpod/go.mod index dfa2fbd..91736b1 100644 --- a/xpod/go.mod +++ b/xpod/go.mod @@ -3,7 +3,7 @@ module github.com/gojekfarm/xtools/xpod go 1.18 require ( - github.com/gojekfarm/xtools/generic v0.5.0 + github.com/gojekfarm/xtools/generic v0.6.0 github.com/stretchr/testify v1.8.2 )