# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
---
## [0.5.0] - 2022-12-05
### Added
- A `TimingGuard` guard struct, for more flexible execution time tracking
- The `compare!` macro, for running experiments in production
### Changed
- Fixed 0.4.0 backwards compatibility, relating to errors in some macro definitions
- Fixed various documentation errors
---
## [0.4.0] - 2022-11-21
### Added
- Added support for custom metric tracking via tag cardinality. See documentation in library header and `TagTrackerConfiguration`
- No longer allocate when it can be avoided
---
## [0.3.1] - 2022-10-19
### Added
- Custom tags are now supported through `PrimaConfiguration.with_tag`
- Country tag is now supported through `PrimaConfiguration.with_country`
- New warning in docs for high cardinality tags
---
## [0.3.0]
### Changed
- `Datadog::new` reintroduced `is_reporting_enabled`.
- `Datadog::new` is now a private function for tests.
- (Behaviour): The client, if not initialized, don't send metrics and don't panic.
### Removed
- `Datadog::global` function has been removed.
---
## [0.2.0]
### Changed
- `Datadog::new` removed `is_reporting_enabled` parameter
### Fixed
- Linting on `from_addr` function for `clippy::wrong_self_convention` check.
### Removed
- feature `noop`
---
## [0.1.9]
---
## [0.1.7]
---
## [0.1.6]
---
## [0.1.5]
[Unreleased]: https://github.com/primait/prima_datadog.rs/compare/0.5.0...HEAD
[0.5.0]: https://github.com/primait/prima_datadog.rs/compare/0.4.0...0.5.0
[0.4.0]: https://github.com/primait/prima_datadog.rs/compare/0.3.1...0.4.0
[0.3.1]: https://github.com/primait/prima_datadog.rs/compare/0.3.0...0.3.1
[0.3.0]: https://github.com/primait/prima_datadog.rs/compare/0.2.0...0.3.0
[0.2.0]: https://github.com/primait/prima_datadog.rs/compare/0.1.9...0.2.0
[0.1.9]: https://github.com/primait/prima_datadog.rs/compare/0.1.7...0.1.9
[0.1.7]: https://github.com/primait/prima_datadog.rs/compare/0.1.6...0.1.7
[0.1.6]: https://github.com/primait/prima_datadog.rs/compare/0.1.5...0.1.6
[0.1.5]: https://github.com/primait/prima_datadog.rs/releases/tag/0.1.5