Skip to content

Commit

Permalink
Pre release v0.8.1 (#54)
Browse files Browse the repository at this point in the history
* Releasing v0.8.1

* update changelog
  • Loading branch information
ajatprabha authored Jun 24, 2024
1 parent f7f38b0 commit ce74446
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 16 deletions.
20 changes: 16 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased]

## [0.8.1]

### Changed

- [`xload`](./xload): Fixed a collision check regression when a struct pointer is decodable and value for the `key` is
missing. ([#53](https://github.com/gojekfarm/xtools/pull/53))
- [`xload`](./xload): Added `ErrCast` to let caller know which `key` caused the error. ([#52](https://github.com/gojekfarm/xtools/pull/52))
- [`xpod`](./xpod): Add errors to log delegate when health change fails. ([#50](https://github.com/gojekfarm/xtools/pull/50))
- [`xload`](./xload): Added `ErrDecode` to let caller know which `key` caused the error. ([#48](https://github.com/gojekfarm/xtools/pull/48))

## [0.8.0]

### Added
Expand All @@ -18,7 +28,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
### Changed

- [`xload`](./xload): add key collision detection ([#43](https://github.com/gojekfarm/xtools/pull/43))
- [`xkafka`](./xkafka): `xkafka.ErrorHandler` is now a required option ([#41](https://github.com/gojekfarm/xtools/pull/41))
- [`xkafka`](./xkafka): `xkafka.ErrorHandler` is now a required
option ([#41](https://github.com/gojekfarm/xtools/pull/41))

## [0.7.0]

Expand Down Expand Up @@ -77,8 +88,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- [`xpod`](./xpod) Added `xpod` package which contains utilities that help implement best practices for health checks
and more, while building go apps for kubernetes pods.
- [`xkafka/middleware`](./xkafka/middleware)
- Added Prometheus middleware for `Consumer` and `Producer` implementations.
- Added Logging MiddlewareFunc.
- Added Prometheus middleware for `Consumer` and `Producer` implementations.
- Added Logging MiddlewareFunc.

## [0.2.0]

Expand All @@ -101,7 +112,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.8.0...HEAD
[Unreleased]: https://github.com/gojekfarm/xtools/compare/v0.8.1...HEAD
[0.8.1]: https://github.com/gojekfarm/xtools/compare/v0.8.1
[0.8.0]: https://github.com/gojekfarm/xtools/releases/tag/v0.8.0
[0.7.0]: https://github.com/gojekfarm/xtools/releases/tag/v0.7.0
[0.6.0]: https://github.com/gojekfarm/xtools/releases/tag/v0.6.0
Expand Down
2 changes: 1 addition & 1 deletion examples/xkafka/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.8.0
github.com/gojekfarm/xtools/xkafka v0.8.1
github.com/lmittmann/tint v1.0.3
github.com/rs/xid v1.4.0
github.com/urfave/cli/v2 v2.23.7
Expand Down
4 changes: 2 additions & 2 deletions examples/xload/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ replace (
)

require (
github.com/gojekfarm/xtools/xload v0.8.0
github.com/gojekfarm/xtools/xload/providers/yaml v0.8.0
github.com/gojekfarm/xtools/xload v0.8.1
github.com/gojekfarm/xtools/xload/providers/yaml v0.8.1
)

require (
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package xtools

// Version can be used to get the current xtools library version
func Version() string {
return "0.8.0"
return "0.8.1"
// This string is updated by the pre_release.sh script during release
}
2 changes: 1 addition & 1 deletion xkafka/middleware/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ toolchain go1.21.0
replace github.com/gojekfarm/xtools/xkafka => ../

require (
github.com/gojekfarm/xtools/xkafka v0.8.0
github.com/gojekfarm/xtools/xkafka v0.8.1
github.com/stretchr/testify v1.8.1
)

Expand Down
2 changes: 1 addition & 1 deletion xkafka/middleware/prometheus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ toolchain go1.21.0
replace github.com/gojekfarm/xtools/xkafka => ../../

require (
github.com/gojekfarm/xtools/xkafka v0.8.0
github.com/gojekfarm/xtools/xkafka v0.8.1
github.com/prometheus/client_golang v1.14.0
github.com/stretchr/testify v1.8.1
)
Expand Down
2 changes: 1 addition & 1 deletion xkafka/middleware/retry/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replace github.com/gojekfarm/xtools/xkafka => ../../

require (
github.com/cenkalti/backoff/v4 v4.3.0
github.com/gojekfarm/xtools/xkafka v0.8.0
github.com/gojekfarm/xtools/xkafka v0.8.1
github.com/stretchr/testify v1.8.1
)

Expand Down
2 changes: 1 addition & 1 deletion xkafka/middleware/zerolog/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ toolchain go1.21.0
replace github.com/gojekfarm/xtools/xkafka => ../../

require (
github.com/gojekfarm/xtools/xkafka v0.8.0
github.com/gojekfarm/xtools/xkafka v0.8.1
github.com/rs/zerolog v1.29.0
)

Expand Down
2 changes: 1 addition & 1 deletion xload/providers/cached/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.20
replace github.com/gojekfarm/xtools/xload => ../..

require (
github.com/gojekfarm/xtools/xload v0.8.0
github.com/gojekfarm/xtools/xload v0.8.1
github.com/stretchr/testify v1.8.4
)

Expand Down
2 changes: 1 addition & 1 deletion xload/providers/viper/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21.3
replace github.com/gojekfarm/xtools/xload => ../..

require (
github.com/gojekfarm/xtools/xload v0.8.0
github.com/gojekfarm/xtools/xload v0.8.1
github.com/spf13/viper v1.18.2
github.com/stretchr/testify v1.8.4
)
Expand Down
2 changes: 1 addition & 1 deletion xload/providers/yaml/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.20
replace github.com/gojekfarm/xtools/xload => ../..

require (
github.com/gojekfarm/xtools/xload v0.8.0
github.com/gojekfarm/xtools/xload v0.8.1
gopkg.in/yaml.v3 v3.0.1
)

Expand Down
2 changes: 1 addition & 1 deletion xpod/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/gojekfarm/xtools/xpod
go 1.20

require (
github.com/gojekfarm/xtools/generic v0.8.0
github.com/gojekfarm/xtools/generic v0.8.1
github.com/stretchr/testify v1.9.0
)

Expand Down

0 comments on commit ce74446

Please sign in to comment.