Skip to content

Commit

Permalink
Merge pull request #17 from gojekfarm/pre_release_v0.4.0
Browse files Browse the repository at this point in the history
Release v0.4.0
  • Loading branch information
sonnes authored Aug 14, 2023
2 parents 7e9b7da + f3e2aec commit 45bb106
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 21 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@ vendor/
tools/vendor

go.work
go.work.sum
go.work.sum

.envrc
23 changes: 15 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,26 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased]

## [0.4.0]

### Added

- [`xload`](./xload) Added `xload` package which is a struct first data loading library.
- [`xload/providers/yaml`](./xload/providers/yaml) Added `yaml` provider for `xload` package.

### Changed

- [`xmap`](./xmap) Added `xmap.Merge` function to merge two maps.

## [0.3.0]

### Added

- [`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 @@ -39,13 +50,9 @@ 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.3.0...HEAD

[Unreleased]: https://github.com/gojekfarm/xtools/compare/v0.4.0...HEAD
[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

[0.1.1]: https://github.com/gojekfarm/xtools/releases/tag/v0.1.1

[0.1.0]: https://github.com/gojekfarm/xtools/releases/tag/v0.1.0

6 changes: 3 additions & 3 deletions examples/xkafka/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ replace (

require (
github.com/gojekfarm/xrun v0.3.0
github.com/gojekfarm/xtools/xkafka v0.3.0
github.com/gojekfarm/xtools/xkafka/middleware/prometheus v0.3.0
github.com/gojekfarm/xtools/xkafka/middleware/zerolog 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/prometheus/client_golang v1.14.0
github.com/rs/xid v1.4.0
github.com/rs/zerolog v1.29.0
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.0.0-00010101000000-000000000000
github.com/gojekfarm/xtools/xload/providers/yaml v0.0.0-00010101000000-000000000000
github.com/gojekfarm/xtools/xload v0.4.0
github.com/gojekfarm/xtools/xload/providers/yaml v0.4.0
)

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.3.0"
return "0.4.0"
// 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 @@ -5,7 +5,7 @@ go 1.19
replace github.com/gojekfarm/xtools/xkafka => ../

require (
github.com/gojekfarm/xtools/xkafka v0.3.0
github.com/gojekfarm/xtools/xkafka v0.4.0
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 @@ -5,7 +5,7 @@ go 1.19
replace github.com/gojekfarm/xtools/xkafka => ../../

require (
github.com/gojekfarm/xtools/xkafka v0.3.0
github.com/gojekfarm/xtools/xkafka v0.4.0
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/zerolog/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.19
replace github.com/gojekfarm/xtools/xkafka => ../../

require (
github.com/gojekfarm/xtools/xkafka v0.3.0
github.com/gojekfarm/xtools/xkafka v0.4.0
github.com/rs/zerolog v1.29.0
)

Expand Down
2 changes: 1 addition & 1 deletion xload/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Package xload is a struct first configuration loading library.
// Package xload is a struct first data loading library.
// xload provides a simple Loader interface to implement custom
// loaders and compose them in different ways.
package xload
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.0.0-00010101000000-000000000000
github.com/gojekfarm/xtools/xload v0.4.0
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.18

require (
github.com/gojekfarm/xtools/generic v0.3.0
github.com/gojekfarm/xtools/generic v0.4.0
github.com/stretchr/testify v1.8.2
)

Expand Down

0 comments on commit 45bb106

Please sign in to comment.