0.48.4
New Features
-
Added builder-style setters to
ClientOptions(#1221):// Before let options = sentry::ClientOptions { dsn: "https://examplePublicKey@o0.ingest.sentry.io/0", debug: true, release: Some("my-app@1.0.0".into()), ..Default::default() }; // After let options = sentry::ClientOptions::new() .dsn("https://examplePublicKey@o0.ingest.sentry.io/0") .debug(true) .release("my-app@1.0.0");
Deprecations
- Constructing
ClientOptionswith struct-literal syntax, including..Default::default()functional update syntax, is deprecated and will stop compiling in the next breaking release, as we will markClientOptionsas#[non_exhaustive](#1221). Reading and assigning individual public fields will remain supported. Please migrate to the builder-style setters introduced in this release.