Skip to content
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
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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 `[email protected]` which adds
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion bat
Submodule bat updated 106 files
2 changes: 1 addition & 1 deletion src/acknowledgement/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()`")]
Expand Down
4 changes: 2 additions & 2 deletions src/theme/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl EmbeddedLazyThemeSet {
EmbeddedThemeName::SolarizedLight,
EmbeddedThemeName::SublimeSnazzy,
EmbeddedThemeName::TwoDark,
#[expect(deprecated)]
#[allow(deprecated)]
EmbeddedThemeName::VisualStudioDarkPlus,
EmbeddedThemeName::Zenburn,
]
Expand Down Expand Up @@ -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",
}
Expand Down