diff --git a/CHANGELOG.md b/CHANGELOG.md index ff5fd8d..a04b493 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# Version 0.4.5 | 2025-12-08 + +Just a couple of deprecations in preparation for the upcoming `0.5.0` release + +## Refactor + +- Move `two_face::acknowledgement_url()` to `two_face::acknowledgement::url()` #143 + +## Docs + +- Deprecate `EmbeddedThemeName::VisualStudioDarkPlus` for removal in the next release #144 + # Version 0.4.4 This update includes the underlying update to `fancy-regex@0.16.2` which adds diff --git a/Cargo.lock b/Cargo.lock index 6b0ddef..1c03355 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1216,7 +1216,7 @@ checksum = "5d99f8c9a7727884afe522e9bd5edbfc91a3312b36a77b5fb8926e4c31a41801" [[package]] name = "two-face" -version = "0.4.4" +version = "0.4.5" dependencies = [ "cargo-lock", "insta", diff --git a/Cargo.toml b/Cargo.toml index dc3aad0..05fd02c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ twox-hash = { version = "2.1.1", default-features = false, features = ["std", "x [package] name = "two-face" -version = "0.4.4" +version = "0.4.5" edition = "2021" license = "MIT OR Apache-2.0" rust-version = "1.79.0" diff --git a/bat b/bat index 25f4f96..f11d349 160000 --- a/bat +++ b/bat @@ -1 +1 @@ -Subproject commit 25f4f96ea3afb6fe44552f3b38ed8b1540ffa1b3 +Subproject commit f11d34997aff3b5410cd9f913ca0ca0ff5a35dd5 diff --git a/src/acknowledgement/mod.rs b/src/acknowledgement/mod.rs index eae7f28..c5a6ac9 100644 --- a/src/acknowledgement/mod.rs +++ b/src/acknowledgement/mod.rs @@ -27,7 +27,7 @@ pub fn listing() -> Acknowledgements { /// ``` /// assert_eq!( /// two_face::acknowledgement::url(), -/// "https://github.com/CosmicHorrorDev/two-face/blob/v0.4.4/generated/acknowledgements_full.md" +/// "https://github.com/CosmicHorrorDev/two-face/blob/v0.4.5/generated/acknowledgements_full.md" /// ); /// ``` pub const fn url() -> &'static str { diff --git a/src/lib.rs b/src/lib.rs index db35ef9..db3c617 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -206,7 +206,7 @@ two-face = { version = ..., default-features = false, features = ["syntect-fancy /// ``` /// assert_eq!( /// two_face::acknowledgement_url(), -/// "https://github.com/CosmicHorrorDev/two-face/blob/v0.4.4/generated/acknowledgements_full.md" +/// "https://github.com/CosmicHorrorDev/two-face/blob/v0.4.5/generated/acknowledgements_full.md" /// ); /// ``` #[deprecated(since = "0.4.5", note = "Moved to `two_face::acknowledgement::url()`")] diff --git a/src/theme/mod.rs b/src/theme/mod.rs index 42f022a..0c06862 100644 --- a/src/theme/mod.rs +++ b/src/theme/mod.rs @@ -104,7 +104,7 @@ impl EmbeddedLazyThemeSet { EmbeddedThemeName::SolarizedLight, EmbeddedThemeName::SublimeSnazzy, EmbeddedThemeName::TwoDark, - #[expect(deprecated)] + #[allow(deprecated)] EmbeddedThemeName::VisualStudioDarkPlus, EmbeddedThemeName::Zenburn, ] @@ -422,7 +422,7 @@ impl EmbeddedThemeName { Self::SolarizedLight => "Solarized (light)", Self::SublimeSnazzy => "Sublime Snazzy", Self::TwoDark => "TwoDark", - #[expect(deprecated)] + #[allow(deprecated)] Self::VisualStudioDarkPlus => "Visual Studio Dark+", Self::Zenburn => "zenburn", }