Skip to content

Commit 47cfdc9

Browse files
authored
Merge pull request #806 from prometheus/beorn7/release
Cut v1.8.0
2 parents e6ea98b + 67f573a commit 47cfdc9

File tree

5 files changed

+322
-15
lines changed

5 files changed

+322
-15
lines changed

.circleci/config.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
parameters:
1010
go_version:
1111
type: string
12-
run_style:
12+
run_style_and_unused:
1313
type: boolean
1414
default: false
1515
run_lint:
@@ -28,15 +28,15 @@ jobs:
2828
steps:
2929
- go/load-cache:
3030
key: v1-go<< parameters.go_version >>
31-
- run: make check_license unused test
31+
- run: make check_license test
3232
- when:
3333
condition: << parameters.run_lint >>
3434
steps:
3535
- run: make lint
3636
- when:
37-
condition: << parameters.run_style >>
37+
condition: << parameters.run_style_and_unused >>
3838
steps:
39-
- run: make style
39+
- run: make style unused
4040
- when:
4141
condition: << parameters.use_gomod_cache >>
4242
steps:
@@ -78,5 +78,6 @@ workflows:
7878
name: go-1-15
7979
go_version: "1.15"
8080
run_lint: true
81-
# Style is only checked against the latest supported Go version.
82-
run_style: true
81+
# Style and unused/missing packages are only checked against
82+
# the latest supported Go version.
83+
run_style_and_unused: true

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 1.8.0 / 2020-10-15
2+
3+
* [CHANGE] API client: Use `time.Time` rather than `string` for timestamps in `RuntimeinfoResult`. #777
4+
* [FEATURE] Export `MetricVec` to facilitate implementation of vectors of custom `Metric` types. #803
5+
* [FEATURE API client: Support `/status/tsdb` endpoint. #773
6+
* [ENHANCEMENT] API client: Enable GET fallback on status code 501. #802
7+
* [ENHANCEMENT] Remove `Metric` references after reslicing to free up more memory. #784
8+
19
## 1.7.1 / 2020-06-23
210

311
* [BUGFIX] API client: Actually propagate start/end parameters of `LabelNames` and `LabelValues`. #771

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.7.1
1+
1.8.0

go.mod

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,12 @@ module github.com/prometheus/client_golang
33
require (
44
github.com/beorn7/perks v1.0.1
55
github.com/cespare/xxhash/v2 v2.1.1
6-
github.com/golang/protobuf v1.4.2
6+
github.com/golang/protobuf v1.4.3
77
github.com/json-iterator/go v1.1.10
8-
github.com/kr/pretty v0.1.0 // indirect
98
github.com/prometheus/client_model v0.2.0
10-
github.com/prometheus/common v0.10.0
11-
github.com/prometheus/procfs v0.1.3
12-
github.com/stretchr/testify v1.4.0 // indirect
13-
golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1
14-
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
15-
gopkg.in/yaml.v2 v2.2.5 // indirect
9+
github.com/prometheus/common v0.14.0
10+
github.com/prometheus/procfs v0.2.0
11+
golang.org/x/sys v0.0.0-20201015000850-e3ed0017c211
1612
)
1713

1814
go 1.11

0 commit comments

Comments
 (0)