1# Changelog
2All notable changes to this project will be documented in this file.
3
4The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
7## [Unreleased]
8
9## [1.2.0](https://github.com/grpc-ecosystem/go-grpc-prometheus/releases/tag/v1.2.0) - 2018-06-04
10
11### Added
12
13* Provide metrics object as `prometheus.Collector`, for conventional metric registration.
14* Support non-default/global Prometheus registry.
15* Allow configuring counters with `prometheus.CounterOpts`.
16
17### Changed
18
19* Remove usage of deprecated `grpc.Code()`.
20* Remove usage of deprecated `grpc.Errorf` and replace with `status.Errorf`.
21
22---
23
24This 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).
25