Skip to content

Commit cae1ccf

Browse files
release: prepare 0.4.5 release
1 parent 31a6dce commit cae1ccf

File tree

7 files changed

+19
-7
lines changed

7 files changed

+19
-7
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# Version 0.4.5 | 2025-12-08
2+
3+
Just a couple of deprecations in preparation for the upcoming `0.5.0` release
4+
5+
## Refactor
6+
7+
- Move `two_face::acknowledgement_url()` to `two_face::acknowledgement::url()` #143
8+
9+
## Docs
10+
11+
- Deprecate `EmbeddedThemeName::VisualStudioDarkPlus` for removal in the next release #144
12+
113
# Version 0.4.4
214

315
This update includes the underlying update to `fancy-regex@0.16.2` which adds

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ twox-hash = { version = "2.1.1", default-features = false, features = ["std", "x
1717

1818
[package]
1919
name = "two-face"
20-
version = "0.4.4"
20+
version = "0.4.5"
2121
edition = "2021"
2222
license = "MIT OR Apache-2.0"
2323
rust-version = "1.79.0"

bat

Submodule bat updated 106 files

src/acknowledgement/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub fn listing() -> Acknowledgements {
2727
/// ```
2828
/// assert_eq!(
2929
/// two_face::acknowledgement::url(),
30-
/// "https://github.com/CosmicHorrorDev/two-face/blob/v0.4.4/generated/acknowledgements_full.md"
30+
/// "https://github.com/CosmicHorrorDev/two-face/blob/v0.4.5/generated/acknowledgements_full.md"
3131
/// );
3232
/// ```
3333
pub const fn url() -> &'static str {

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ two-face = { version = ..., default-features = false, features = ["syntect-fancy
206206
/// ```
207207
/// assert_eq!(
208208
/// two_face::acknowledgement_url(),
209-
/// "https://github.com/CosmicHorrorDev/two-face/blob/v0.4.4/generated/acknowledgements_full.md"
209+
/// "https://github.com/CosmicHorrorDev/two-face/blob/v0.4.5/generated/acknowledgements_full.md"
210210
/// );
211211
/// ```
212212
#[deprecated(since = "0.4.5", note = "Moved to `two_face::acknowledgement::url()`")]

src/theme/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ impl EmbeddedLazyThemeSet {
104104
EmbeddedThemeName::SolarizedLight,
105105
EmbeddedThemeName::SublimeSnazzy,
106106
EmbeddedThemeName::TwoDark,
107-
#[expect(deprecated)]
107+
#[allow(deprecated)]
108108
EmbeddedThemeName::VisualStudioDarkPlus,
109109
EmbeddedThemeName::Zenburn,
110110
]
@@ -422,7 +422,7 @@ impl EmbeddedThemeName {
422422
Self::SolarizedLight => "Solarized (light)",
423423
Self::SublimeSnazzy => "Sublime Snazzy",
424424
Self::TwoDark => "TwoDark",
425-
#[expect(deprecated)]
425+
#[allow(deprecated)]
426426
Self::VisualStudioDarkPlus => "Visual Studio Dark+",
427427
Self::Zenburn => "zenburn",
428428
}

0 commit comments

Comments
 (0)