Skip to content

Commit

Permalink
docs: make metric versioning the same as middleware versioning;
Browse files Browse the repository at this point in the history
  • Loading branch information
riandyrn committed Jan 18, 2025
1 parent 5790810 commit 2ba97f5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased]

## [0.12.0/0.2.0] - 2025-01-18
## [0.12.0] - 2025-01-18

### Changed

- Upgrade `go.opentelemetry.io/otel`, `go.opentelemetry.io/otel/sdk`, & `go.opentelemetry.io/otel/trace` to `v1.34.0`. ([#87])
- Upgrade `go.opentelemetry.io/otel/metric` to `v1.34.0` (the metric version is `v0.56.0`). ([#87])
- Upgrade `go.opentelemetry.io/otel/metric` to `v1.34.0`. ([#87])
- Set the metric version to be the same as middleware version which `v0.12.0` this is to make it easy for maintainer of this repo to maintain the versioning.

## [0.11.0/0.1.0] - 2024-11-27
## [0.11.0] - 2024-11-27

### Added

- Add metric package as middleware `go-chi/chi`, support `request_duration_millis`, `requests_inflight`, and `response_size_bytes` metric. Using `go.opentelemetry.io/otel/metric` which version is `v1.32.0` (the metric version is `v0.54.0`) ([#69])
- Add metric package as middleware `go-chi/chi`, support `request_duration_millis`, `requests_inflight`, and `response_size_bytes` metric. Using `go.opentelemetry.io/otel/metric` which the version is `v1.32.0`. ([#69])

### Changed

Expand Down Expand Up @@ -252,8 +253,8 @@ It contains instrumentation for trace and depends on:
[#1]: https://github.com/riandyrn/otelchi/pull/1

[Unreleased]: https://github.com/riandyrn/otelchi/compare/v0.12.0...HEAD
[0.12.0/0.2.0]: https://github.com/riandyrn/otelchi/releases/tag/v0.12.0
[0.11.0/0.1.0]: https://github.com/riandyrn/otelchi/releases/tag/v0.11.0
[0.12.0]: https://github.com/riandyrn/otelchi/releases/tag/v0.12.0
[0.11.0]: https://github.com/riandyrn/otelchi/releases/tag/v0.11.0
[0.10.1]: https://github.com/riandyrn/otelchi/releases/tag/v0.10.1
[0.10.0]: https://github.com/riandyrn/otelchi/releases/tag/v0.10.0
[0.9.0]: https://github.com/riandyrn/otelchi/releases/tag/v0.9.0
Expand Down
2 changes: 1 addition & 1 deletion metric/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package metric

// Version is the current release version of metrics package.
func Version() string {
return "0.2.0"
return "0.12.0"
}

0 comments on commit 2ba97f5

Please sign in to comment.