| 1 | # Changelog |
| 2 | All notable changes to this project will be documented in this file. |
| 3 | |
| 4 | The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) |
| 5 | and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). |
| 6 | |
| 7 | ## [Unreleased] |
| 8 | |
| 9 | ### Added |
| 10 | * Support for error unwrapping. (Supported for `github.com/pkg/errors` and native wrapping added in go1.13) |
| 11 | |
| 12 | ## [1.2.0](https://github.com/grpc-ecosystem/go-grpc-prometheus/releases/tag/v1.2.0) - 2018-06-04 |
| 13 | |
| 14 | ### Added |
| 15 | |
| 16 | * Require go 1.9 or later and test against these versions in CI. |
| 17 | * Provide metrics object as `prometheus.Collector`, for conventional metric registration. |
| 18 | * Support non-default/global Prometheus registry. |
| 19 | * Allow configuring counters with `prometheus.CounterOpts`. |
| 20 | |
| 21 | ### Changed |
| 22 | |
| 23 | * Remove usage of deprecated `grpc.Code()`. |
| 24 | * Remove usage of deprecated `grpc.Errorf` and replace with `status.Errorf`. |
| 25 | |
| 26 | --- |
| 27 | |
| 28 | This changelog was started with version `v1.2.0`, for earlier versions refer to the respective [GitHub releases](https://github.com/grpc-ecosystem/go-grpc-prometheus/releases). |