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

Release 0.7.0 #141

Merged
merged 2 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Unreleased
==========


0.7.0 (2024-10-20)
==================

- Upgrade `colored` to version 2. This is a breaking change due to
`colored` being exposed in the public API of `fern`. (thanks [@faern] for
doing the boilerplate here!)
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fern"
# Remember to update html_root_url in src/lib.rs with each version.
version = "0.6.2"
version = "0.7.0"
authors = ["David Ross <[email protected]>"]
description = "Simple, efficient logging"
edition = "2018"
Expand Down
4 changes: 2 additions & 2 deletions src/colors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//!
//! ```toml
//! [dependencies]
//! fern = { version = "0.6", features = ["colored"] }
//! fern = { version = "0.7", features = ["colored"] }
//! ```
//!
//! ---
Expand Down Expand Up @@ -53,7 +53,7 @@
//! [examples/pretty-colored.rs][ex].
//!
//! [`ColoredLevelConfig`]: struct.ColoredLevelConfig.html
//! [ex]: https://github.com/daboross/fern/blob/fern-0.6.2/examples/pretty-colored.rs
//! [ex]: https://github.com/daboross/fern/blob/fern-0.7.0/examples/pretty-colored.rs
use std::fmt;

pub use colored::Color;
Expand Down
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![deny(missing_docs)]
#![doc(html_root_url = "https://docs.rs/fern/0.6.2")]
#![doc(html_root_url = "https://docs.rs/fern/0.7.0")]
//! Efficient, configurable logging in Rust.
//!
//! # fern 0.4.4, 0.5.\*, 0.6.\* security warning - `colored` feature + global allocator
Expand All @@ -20,7 +20,7 @@
//! ```toml
//! [dependencies]
//! log = "0.4"
//! fern = "0.6"
//! fern = "0.7"
//! ```
//!
//! # Example setup
Expand Down Expand Up @@ -224,8 +224,8 @@
//! [`Stdout`]: std::io::Stdout
//! [`Stderr`]: std::io::Stderr
//! [`File`]: std::fs::File
//! [full example program]: https://github.com/daboross/fern/tree/fern-0.6.2/examples/cmd-program.rs
//! [syslog full example program]: https://github.com/daboross/fern/tree/fern-0.6.2/examples/syslog.rs
//! [full example program]: https://github.com/daboross/fern/tree/fern-0.7.0/examples/cmd-program.rs
//! [syslog full example program]: https://github.com/daboross/fern/tree/fern-0.7.0/examples/syslog.rs
//! [`humantime::format_rfc3339_seconds`]: https://docs.rs/humantime/2/humantime/fn.format_rfc3339_seconds.html
use std::{
convert::AsRef,
Expand Down
2 changes: 1 addition & 1 deletion src/meta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ following in your `Cargo.toml`:
```toml
[dependencies]
# ...
fern = { version = "0.6", features = ["meta-logging-in-format"] }
fern = { version = "0.7", features = ["meta-logging-in-format"] }
```

The second mitigation is one you can make inside a formatting closure. This means extra code
Expand Down
4 changes: 2 additions & 2 deletions src/syslog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Be sure to depend on `syslog` and the `syslog` feature in `Cargo.toml`:

```toml
[dependencies]
fern = { version = "0.6", features = ["syslog-6"] }]
fern = { version = "0.7", features = ["syslog-6"] }]
syslog = "6"
```

Expand Down Expand Up @@ -42,7 +42,7 @@ use the `syslog-3` feature and depend on `syslog = "3"` instead.

```toml
[dependencies]
fern = { version = "0.6", features = ["syslog-3"] }]
fern = { version = "0.7", features = ["syslog-3"] }]
syslog = "3"
```

Expand Down
Loading