# Changelog ## Unreleased ### Added - Implement cardinality limits for metric streams [#1066](https://github.com/open-telemetry/opentelemetry-rust/pull/1066). ### Removed - Samplers no longer has access to `InstrumentationLibrary` as one of parameters to `should_sample`. [#1041](https://github.com/open-telemetry/opentelemetry-rust/pull/1041). ## v0.19.0 ### Added - Add instrument validation to `InstrumentBuilder` [#884](https://github.com/open-telemetry/opentelemetry-rust/pull/884). - Add `TelemetryResourceDetector` [#899](https://github.com/open-telemetry/opentelemetry-rust/pull/899). - Add support for instrumentation scope attributes [#1021](https://github.com/open-telemetry/opentelemetry-rust/pull/1021). ### Changed - Update to `opentelemetry_api` v0.19. - Update to `opentelemetry_http` v0.8. - Bump MSRV to 1.57 [#953](https://github.com/open-telemetry/opentelemetry-rust/pull/953). - Fix doc in `ShouldSample` trait [#951](https://github.com/open-telemetry/opentelemetry-rust/pull/951) - Only run `ParentBased` delegate sampler when there is no parent [#948](https://github.com/open-telemetry/opentelemetry-rust/pull/948). - Improve `SdkProvidedResourceDetector`'s doc [#964](https://github.com/open-telemetry/opentelemetry-rust/pull/964). - Update dependencies and bump MSRV to 1.60 [#969](https://github.com/open-telemetry/opentelemetry-rust/pull/969). - Use CARGO_BIN_NAME as default service name [#991](https://github.com/open-telemetry/opentelemetry-rust/pull/991). ### Removed - Remove `in_memory` settings [#946](https://github.com/open-telemetry/opentelemetry-rust/pull/946). ## main ### Changed - Update the Number in the SDK API to support min and max. #989 ## v0.18.0 ### Changed - *BREAKING* `struct`s which implement `ShouldSample` a.k.a Custom Samplers must now implement `Clone`. This enables (#833) - SDK split from `opentelemetry` crate