Skip to content

Commit f85999f

Browse files
authored
Prepare 0.13.0 release (#65)
- remove deprecated `Config::with_min_level()` method
1 parent fee1bea commit f85999f

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,23 @@ All user visible changes to this project will be documented in this file. This p
66

77

88

9-
## [0.13.0] · 2023-02-??
9+
## [0.13.0] · 2023-02-14
1010
[0.13.0]: /../../tree/v0.13.0
1111

1212
[Diff](/../../compare/v0.12.0...v0.13.0)
1313

1414
### BC Breaks
1515

1616
- Added `buf_id` argument to `PlatformLogWriter::new()` method allowing to specify concrete Android logging system buffer. ([#50], [#64])
17+
- Removed deprecated `Config::with_min_level()` method accepting `log::Level`. ([#65])
1718

1819
### Added
1920

2021
- `Config::with_log_buffer()` method to specify concrete Android logging system buffer. ([#50], [#64])
2122

2223
[#50]: /../../pull/50
2324
[#64]: /../../pull/64
25+
[#65]: /../../pull/65
2426

2527

2628

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "android_logger"
3-
version = "0.12.0"
3+
version = "0.13.0"
44
authors = ["The android_logger Developers"]
55
license = "MIT OR Apache-2.0"
66
readme = "README.md"

src/lib.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -271,13 +271,6 @@ pub struct Config {
271271
}
272272

273273
impl Config {
274-
// TODO: Remove on 0.13 version release.
275-
/// **DEPRECATED**, use [`Config::with_max_level()`] instead.
276-
#[deprecated(note = "use `.with_max_level()` instead")]
277-
pub fn with_min_level(self, level: Level) -> Self {
278-
self.with_max_level(level.to_level_filter())
279-
}
280-
281274
/// Changes the maximum log level.
282275
///
283276
/// Note, that `Trace` is the maximum level, because it provides the

0 commit comments

Comments
 (0)