Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PLATFORM-1580]: Retire 0.7.0 and fix configuration mixup #61

Merged
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

---

## [0.7.1] - 2024-03-05

### Added

- Implemented `From<Configuration>` for `dogstatsd::Options`

### Changed

- `Config` is now `Configuration`

### Removed

- There is no `Configuration` trait anymore
cpiemontese marked this conversation as resolved.
Show resolved Hide resolved

---

## [0.7.0] - 2024-03-04

### Changed
Expand Down Expand Up @@ -112,7 +128,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.1.5]


[Unreleased]: https://github.com/primait/prima_datadog.rs/compare/0.7.0...HEAD
[Unreleased]: https://github.com/primait/prima_datadog.rs/compare/0.7.1...HEAD
[0.7.1]: https://github.com/primait/prima_datadog.rs/compare/0.7.0...0.7.1
[0.7.0]: https://github.com/primait/prima_datadog.rs/compare/0.7.0...0.7.0
[0.6.0]: https://github.com/primait/prima_datadog.rs/compare/0.5.0...0.6.0
[0.5.0]: https://github.com/primait/prima_datadog.rs/compare/0.4.0...0.5.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description = "An opinionated library to share code and approach to Datadog logg
edition = "2018"
license = "MIT"
name = "prima_datadog"
version = "0.7.0"
version = "0.7.1"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
4 changes: 2 additions & 2 deletions benches/basic_incr.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use criterion::{criterion_group, criterion_main, Criterion};
use prima_datadog::{
configuration::{Config, Country},
configuration::{Configuration, Country},
Datadog, TagTrackerConfiguration,
};

Expand All @@ -9,7 +9,7 @@ fn setup(_: &mut Criterion) {
let tracker_config = TagTrackerConfiguration::new()
.with_threshold(21)
.with_custom_action(|_, _, _| {});
let configuration = Config::new("0.0.0.0:1234", "prima_datadog_benchmarks")
let configuration = Configuration::new("0.0.0.0:1234", "prima_datadog_benchmarks")
.with_country(Country::It)
.with_tracker_configuration(tracker_config);
Datadog::init(configuration).unwrap();
Expand Down
Loading