From 3ce0d74b3fb541d62b02643cbcb06ce96615d3b7 Mon Sep 17 00:00:00 2001 From: Ravi Atluri Date: Thu, 24 Aug 2023 10:09:53 +0530 Subject: [PATCH] Pre release v0.4.1 (#20) * Releasing v0.4.1 * Updated Changelog --- CHANGELOG.md | 10 +++++++++- examples/xkafka/go.mod | 6 +++--- 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/yaml/go.mod | 2 +- xpod/go.mod | 2 +- 9 files changed, 20 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf49841..c255175 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,13 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +## [0.4.1] + +### Changed + +- [`xload`](./xload) `xload.Load` supports concurrent loading with `xload.Concurrency` option. +- [`xmap`](./xmap) Added `xmap.Values` function to get values from a map. + ## [0.4.0] ### Added @@ -50,7 +57,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - [`generic`](./generic) package added - [`xproto`](./xproto) package added -[Unreleased]: https://github.com/gojekfarm/xtools/compare/v0.4.0...HEAD +[Unreleased]: https://github.com/gojekfarm/xtools/compare/v0.4.1...HEAD +[0.4.0]: https://github.com/gojekfarm/xtools/releases/tag/v0.4.1 [0.4.0]: https://github.com/gojekfarm/xtools/releases/tag/v0.4.0 [0.3.0]: https://github.com/gojekfarm/xtools/releases/tag/v0.3.0 [0.2.0]: https://github.com/gojekfarm/xtools/releases/tag/v0.2.0 diff --git a/examples/xkafka/go.mod b/examples/xkafka/go.mod index 7bc2b35..a9cee3b 100644 --- a/examples/xkafka/go.mod +++ b/examples/xkafka/go.mod @@ -12,9 +12,9 @@ replace ( require ( github.com/gojekfarm/xrun v0.3.0 - github.com/gojekfarm/xtools/xkafka v0.4.0 - github.com/gojekfarm/xtools/xkafka/middleware/prometheus v0.4.0 - github.com/gojekfarm/xtools/xkafka/middleware/zerolog v0.4.0 + github.com/gojekfarm/xtools/xkafka v0.4.1 + github.com/gojekfarm/xtools/xkafka/middleware/prometheus v0.4.1 + github.com/gojekfarm/xtools/xkafka/middleware/zerolog v0.4.1 github.com/prometheus/client_golang v1.14.0 github.com/rs/xid v1.4.0 github.com/rs/zerolog v1.29.0 diff --git a/examples/xload/go.mod b/examples/xload/go.mod index 301fda8..ab0be5e 100644 --- a/examples/xload/go.mod +++ b/examples/xload/go.mod @@ -8,8 +8,8 @@ replace ( ) require ( - github.com/gojekfarm/xtools/xload v0.4.0 - github.com/gojekfarm/xtools/xload/providers/yaml v0.4.0 + github.com/gojekfarm/xtools/xload v0.4.1 + github.com/gojekfarm/xtools/xload/providers/yaml v0.4.1 ) require ( diff --git a/version.go b/version.go index 17bb7df..ebf1ee9 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.4.0" + return "0.4.1" // 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 13160de..94be03f 100644 --- a/xkafka/middleware/go.mod +++ b/xkafka/middleware/go.mod @@ -5,7 +5,7 @@ go 1.19 replace github.com/gojekfarm/xtools/xkafka => ../ require ( - github.com/gojekfarm/xtools/xkafka v0.4.0 + github.com/gojekfarm/xtools/xkafka v0.4.1 github.com/stretchr/testify v1.8.1 ) diff --git a/xkafka/middleware/prometheus/go.mod b/xkafka/middleware/prometheus/go.mod index 6f7c14b..9a11457 100644 --- a/xkafka/middleware/prometheus/go.mod +++ b/xkafka/middleware/prometheus/go.mod @@ -5,7 +5,7 @@ go 1.19 replace github.com/gojekfarm/xtools/xkafka => ../../ require ( - github.com/gojekfarm/xtools/xkafka v0.4.0 + github.com/gojekfarm/xtools/xkafka v0.4.1 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 76ef680..33f5c5e 100644 --- a/xkafka/middleware/zerolog/go.mod +++ b/xkafka/middleware/zerolog/go.mod @@ -5,7 +5,7 @@ go 1.19 replace github.com/gojekfarm/xtools/xkafka => ../../ require ( - github.com/gojekfarm/xtools/xkafka v0.4.0 + github.com/gojekfarm/xtools/xkafka v0.4.1 github.com/rs/zerolog v1.29.0 ) diff --git a/xload/providers/yaml/go.mod b/xload/providers/yaml/go.mod index d0fcfa7..6f5cd9c 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.4.0 + github.com/gojekfarm/xtools/xload v0.4.1 gopkg.in/yaml.v3 v3.0.1 ) diff --git a/xpod/go.mod b/xpod/go.mod index 7aca5cc..f9f99eb 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.4.0 + github.com/gojekfarm/xtools/generic v0.4.1 github.com/stretchr/testify v1.8.2 )