Releases: vthiery/cpp-statsd-client
Releases · vthiery/cpp-statsd-client
v2.0.1
What's Changed
- bail early if the statsd host is un/misconfigured by @kevinkreiser in #40
- Add
-Wsign-conversion -Wsign-promo
compiler flags by @dsze in #43 - feat: support custom metric types by @dsze in #45
- homepage_url only available in cmake >= 3.12 by @gknisely in #46
- Fix FreeBSD compile error by @jeremiahpslewis in #47
- Prepare v2.0.1 by @vthiery in #48
New Contributors
- @dsze made their first contribution in #43
- @gknisely made their first contribution in #46
- @jeremiahpslewis made their first contribution in #47
Full Changelog: v2.0.0...v2.0.1
v2.0.0
Changelog
Fixes
Features
- feat: allow float gauges (#39) a06a5b9
- feat: add Windows support (#33) ce5cae6
- feat: extend batching controls (#31) 0a0ce6f
- feat: support sets and tags (#30) 13ef6d1
- feat: maintain buffer to avoid reallocations (#29) 61af069
- feat: automatically add '.' between prefix and key when omitted (#28) fddf895
- feat!: backport to C++11 f5d2cad
Build, tests & CI
- build: only set CXX properties for tests (#34) 03862e8
- ci: add code coverage (#32) 475fed7
- feat: update cmake (#25) 636f6d8
- fixup! ci: add lint workflow (#24) d1182aa
- ci: add lint workflow (#24) 2c4ea94
- test: add tests using statsd server mock (#19) e8dfe06
Misc
- docs: update linux and windows workflow badges (#38) ad34828
- chore: rename workflows files (#37) 8cc00d0
- chore: fix typo (#36) e39c806
Migration guide
Removal of send
method
The method send
has been removed in #30. Instead, one must use the metric-specific methods:
increment
, decrement
, count
, gauge
, timing
and set
.
Support of tags
#30 added the support for tags for every metric types.
Dot in prefix is added if missing
With #28, we changed the client behaviour so that when specifying a prefix, if the final dot is missing, it will be added for you.
CMake flags
With #34, we changed the CMakeLists.txt
to avoid setting CMAKE_CXX_STANDARD
and CMAKE_CXX_EXTENSIONS
.
It is now up to the library user to set these flags.
Thanks <3
I want to thank all the contributors who helped to extend the library and allowing wider adoption.
Special thanks to @kevinkreiser who has made many contributions over the last few months!