Skip to content

Commit 505041c

Browse files
committed
Cut release v1.0.0
Signed-off-by: beorn7 <[email protected]>
1 parent 063470a commit 505041c

File tree

3 files changed

+31
-36
lines changed

3 files changed

+31
-36
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
## 1.0.0 / 2019-06-15
2+
3+
_This release removes all previously deprecated features, resulting in the breaking changes listed below. As this is v1.0.0, semantic versioning applies from now on, with the exception of the API client and parts marked explicitly as experimental._
4+
5+
* [CHANGE] Remove objectives from the default `Summary`. (Objectives have to be set explicitly in the `SummaryOpts`.) #600
6+
* [CHANGE] Remove all HTTP related feature in the `prometheus` package. (Use the `promhttp` package instead.) #600
7+
* [CHANGE] Remove `push.FromGatherer`, `push.AddFromGatherer`, `push.Collectors`. (Use `push.New` instead.) #600
8+
* [CHANGE] API client: Pass warnings through on non-error responses. #599
9+
* [CHANGE] API client: Add warnings to `Series` call. #603
10+
* [FEATURE] Make process collector work on Microsoft Windows. **EXPERIMENTAL** #596
11+
* [FEATURE] API client: Add `/labels` call. #604
12+
* [BUGFIX] Make `AlreadyRegisteredError` usable for wrapped registries. #607
13+
114
## 0.9.4 / 2019-06-07
215
* [CHANGE] API client: Switch to alert values as strings. #585
316
* [FEATURE] Add a collector for Go module build information. #595

README.md

Lines changed: 17 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -11,41 +11,23 @@ Prometheus HTTP API.
1111

1212
__This library requires Go1.9 or later.__
1313

14-
## Important note about releases, versioning, tagging, and stability
15-
16-
In this repository, we used to mostly ignore the many coming and going
17-
dependency management tools for Go and instead wait for a tool that most of the
18-
community would converge on. Our bet is that this tool has arrived now in the
19-
form of [Go
20-
Modules](https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies).
21-
22-
To make full use of what Go Modules are offering, the previous versioning
23-
roadmap for this repository had to be changed. In particular, Go Modules
24-
finally provide a way for incompatible versions of the same package to coexist
25-
in the same binary. For that, however, the versions must be tagged with
26-
different major versions of 1 or greater (following [Semantic
27-
Versioning](https://semver.org/)). Thus, we decided to abandon the original
28-
plan of introducing a lot of breaking changes _before_ releasing v1 of this
29-
repository, mostly driven by the widespread use this repository already has and
30-
the relatively stable state it is in.
31-
32-
To leverage the mechanism Go Modules offers for a transition between major
33-
version, the current plan is the following:
34-
35-
- The v0.9.x series of releases will see a small number of bugfix releases to
36-
deal with a few remaining minor issues (#543, #542, #539).
37-
- After that, all features currently marked as _deprecated_ will be removed,
38-
and the result will be released as v1.0.0.
39-
- The planned breaking changes previously gathered as part of the v0.10
40-
milestone will now go into the v2 milestone. The v2 development happens in a
41-
[separate branch](https://github.com/prometheus/client_golang/tree/dev-v2)
42-
for the time being. v2 releases off that branch will happen once sufficient
43-
stability is reached. v1 and v2 will coexist for a while to enable a
44-
convenient transition.
45-
- The API client in prometheus/client_golang/api/… is still considered
46-
experimental. While it will be tagged alongside the rest of the code
47-
according to the plan above, we cannot strictly guarantee semver semantics
48-
for it.
14+
## Important note about releases and stability
15+
16+
This repository generally follows [Semantic
17+
Versioning](https://semver.org/). However, the API client in
18+
prometheus/client_golang/api/… is still considered experimental. Breaking
19+
changes of the API client will _not_ trigger a new major release. The same is
20+
true for selected other new features explicitly marked as **EXPERIMENTAL** in
21+
CHANGELOG.md.
22+
23+
Features that require breaking changes in the stable parts of the repository
24+
are being batched up and tracked in the [v2
25+
milestone](https://github.com/prometheus/client_golang/milestone/2). The v2
26+
development happens in a [separate
27+
branch](https://github.com/prometheus/client_golang/tree/dev-v2) for the time
28+
being. v2 releases off that branch will happen once sufficient stability is
29+
reached. In view of the widespread use of this repository, v1 and v2 will
30+
coexist for a while to enable a convenient transition.
4931

5032
## Instrumenting applications
5133

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.9.4
1+
1.0.0

0 commit comments

Comments
 (0)