chore: bump to 0.8.0 (#165)

This commit is contained in:
Alex Pasmantier 2024-12-29 02:07:50 +01:00 committed by GitHub
parent 8de82fec5d
commit 1bc6f12782
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 64 additions and 47 deletions

View File

@ -13,20 +13,29 @@ All notable changes to this project will be documented in this file.
- *(input)* Bind ctrl-w to delete previous word (#150)
- *(ux)* Print current query to stdout on Enter if no entry is selected (#151)
- *(cli)* Allow passing --input <STRING> to prefill input prompt (#153)
- *(cable)* Make preview optional for cable channels (#155)
- *(cable)* Using builtin previewers inside cable channel prototypes (#156)
### 🚜 Refactor
- *(ui)* More compact general layout and make preview panel optional (#148)
- Update default configuration and simplify channel enum conversions (#157)
- *(cable)* Use tail instead of tac for zsh and bash command history channels (#161)
### 📚 Documentation
- *(readme)* Make channel names consistent everywhere (#138)
- Rearrange README, add a features section, and move more technical stuff to separate files (#159)
- Update readme (#160)
- Replace top image with a screenshot of the application (#163)
- Update README with more legible screenshot of the files channel (#164)
### ⚙️ Miscellaneous Tasks
- *(changelog)* Update changelog (auto) (#131)
- *(changelog)* Update changelog (auto) (#141)
- *(changelog)* Update changelog (auto) (#146)
- *(changelog)* Update changelog (auto) (#154)
## [0.7.1] - 2024-12-15

14
Cargo.lock generated
View File

@ -2988,7 +2988,7 @@ dependencies = [
[[package]]
name = "television"
version = "0.7.1"
version = "0.8.0"
dependencies = [
"better-panic",
"clap",
@ -3021,7 +3021,7 @@ dependencies = [
[[package]]
name = "television-channels"
version = "0.0.12"
version = "0.0.14"
dependencies = [
"clap",
"color-eyre",
@ -3043,7 +3043,7 @@ dependencies = [
[[package]]
name = "television-derive"
version = "0.0.12"
version = "0.0.14"
dependencies = [
"proc-macro2",
"quote",
@ -3052,7 +3052,7 @@ dependencies = [
[[package]]
name = "television-fuzzy"
version = "0.0.12"
version = "0.0.14"
dependencies = [
"nucleo",
"parking_lot",
@ -3060,7 +3060,7 @@ dependencies = [
[[package]]
name = "television-previewers"
version = "0.0.12"
version = "0.0.14"
dependencies = [
"color-eyre",
"devicons",
@ -3081,7 +3081,7 @@ dependencies = [
[[package]]
name = "television-screen"
version = "0.0.12"
version = "0.0.14"
dependencies = [
"color-eyre",
"ratatui",
@ -3094,7 +3094,7 @@ dependencies = [
[[package]]
name = "television-utils"
version = "0.0.12"
version = "0.0.14"
dependencies = [
"bat",
"color-eyre",

View File

@ -1,6 +1,6 @@
[package]
name = "television"
version = "0.7.1"
version = "0.8.0"
edition = "2021"
description = "The revolution will be televised."
license = "MIT"
@ -10,18 +10,18 @@ repository = "https://github.com/alexpasmantier/television"
homepage = "https://github.com/alexpasmantier/television"
keywords = ["search", "fuzzy", "preview", "tui", "terminal"]
categories = [
"command-line-utilities",
"command-line-interface",
"concurrency",
"development-tools",
"command-line-utilities",
"command-line-interface",
"concurrency",
"development-tools",
]
include = [
"LICENSE",
"README.md",
"themes/**/*.toml",
"crates/television/**/*.rs",
"build.rs",
".config/config.toml",
"LICENSE",
"README.md",
"themes/**/*.toml",
"crates/television/**/*.rs",
"build.rs",
".config/config.toml",
]
rust-version = "1.81"
@ -38,12 +38,18 @@ repository = "https://github.com/alexpasmantier/television"
homepage = "https://github.com/alexpasmantier/television"
keywords = ["search", "fuzzy", "preview", "tui", "terminal"]
categories = [
"command-line-utilities",
"command-line-interface",
"concurrency",
"development-tools",
"command-line-utilities",
"command-line-interface",
"concurrency",
"development-tools",
]
include = [
"LICENSE",
"README.md",
"crates/television/**/*.rs",
"build.rs",
"shell/**/*.sh",
]
include = ["LICENSE", "README.md", "crates/television/**/*.rs", "build.rs"]
rust-version = "1.81"
readme = "README.md"
@ -56,12 +62,12 @@ name = "tv"
[dependencies]
# workspace dependencies
television-fuzzy = { path = "crates/television-fuzzy", version = "0.0.12" }
television-derive = { path = "crates/television-derive", version = "0.0.12" }
television-screen = { path = "crates/television-screen", version = "0.0.12" }
television-channels = { path = "crates/television-channels", version = "0.0.12" }
television-previewers = { path = "crates/television-previewers", version = "0.0.12" }
television-utils = { path = "crates/television-utils", version = "0.0.12" }
television-fuzzy = { path = "crates/television-fuzzy", version = "0.0.14" }
television-derive = { path = "crates/television-derive", version = "0.0.14" }
television-screen = { path = "crates/television-screen", version = "0.0.14" }
television-channels = { path = "crates/television-channels", version = "0.0.14" }
television-previewers = { path = "crates/television-previewers", version = "0.0.14" }
television-utils = { path = "crates/television-utils", version = "0.0.14" }
# external dependencies
better-panic = "0.3.0"

View File

@ -74,8 +74,8 @@ It is inspired by the neovim [telescope](https://github.com/nvim-telescope/teles
</summary>
```bash
curl -LO https://github.com/alexpasmantier/television/releases/download/0.7.0/television_0.7.0-1_amd64.deb
sudo dpkg -i television_0.7.0-1_amd64.deb
curl -LO https://github.com/alexpasmantier/television/releases/download/0.8.0/television_0.8.0-1_amd64.deb
sudo dpkg -i television_0.8.0-1_amd64.deb
```
</details>

View File

@ -1,6 +1,6 @@
[package]
name = "television-channels"
version = "0.0.12"
version = "0.0.14"
description.workspace = true
authors.workspace = true
repository.workspace = true
@ -13,9 +13,9 @@ edition.workspace = true
rust-version.workspace = true
[dependencies]
television-fuzzy = { path = "../television-fuzzy", version = "0.0.12" }
television-utils = { path = "../television-utils", version = "0.0.12" }
television-derive = { path = "../television-derive", version = "0.0.12" }
television-fuzzy = { path = "../television-fuzzy", version = "0.0.14" }
television-utils = { path = "../television-utils", version = "0.0.14" }
television-derive = { path = "../television-derive", version = "0.0.14" }
devicons = "0.6.11"
tracing = "0.1.40"
eyre = "0.6.12"

View File

@ -1,6 +1,6 @@
[package]
name = "television-derive"
version = "0.0.12"
version = "0.0.14"
description.workspace = true
authors.workspace = true
repository.workspace = true

View File

@ -1,6 +1,6 @@
[package]
name = "television-fuzzy"
version = "0.0.12"
version = "0.0.14"
description.workspace = true
authors.workspace = true
repository.workspace = true

View File

@ -1,6 +1,6 @@
[package]
name = "television-previewers"
version = "0.0.12"
version = "0.0.14"
description.workspace = true
authors.workspace = true
repository.workspace = true
@ -14,8 +14,8 @@ rust-version.workspace = true
[dependencies]
syntect = "5.2.0"
television-channels = { path = "../television-channels", version = "0.0.12" }
television-utils = { path = "../television-utils", version = "0.0.12" }
television-channels = { path = "../television-channels", version = "0.0.14" }
television-utils = { path = "../television-utils", version = "0.0.14" }
tracing = "0.1.40"
parking_lot = "0.12.3"
tokio = "1.41.1"

View File

@ -1,6 +1,6 @@
[package]
name = "television-screen"
version = "0.0.12"
version = "0.0.14"
description.workspace = true
authors.workspace = true
repository.workspace = true
@ -15,8 +15,8 @@ rust-version.workspace = true
[dependencies]
ratatui = "0.29.0"
serde = "1.0.215"
television-utils = { path = "../television-utils", version = "0.0.12" }
television-channels = { path = "../television-channels", version = "0.0.12" }
television-previewers = { path = "../television-previewers", version = "0.0.12" }
television-utils = { path = "../television-utils", version = "0.0.14" }
television-channels = { path = "../television-channels", version = "0.0.14" }
television-previewers = { path = "../television-previewers", version = "0.0.14" }
color-eyre = "0.6.3"
syntect = "5.2.0"

View File

@ -1,6 +1,6 @@
[package]
name = "television-utils"
version = "0.0.12"
version = "0.0.14"
description.workspace = true
authors.workspace = true
repository.workspace = true
@ -17,7 +17,9 @@ ignore = "0.4.23"
lazy_static = "1.5.0"
tracing = "0.1.40"
color-eyre = "0.6.3"
bat = { version = "0.24.0", default-features = false, features = ["regex-onig"] }
bat = { version = "0.24.0", default-features = false, features = [
"regex-onig",
] }
directories = "5.0.1"
syntect = "5.2.0"
gag = "1.0.0"

View File

@ -9,7 +9,7 @@ pub enum Shell {
Cmd,
}
const COMPLETION_ZSH: &str = include_str!("../../../shell/completion.zsh");
const COMPLETION_ZSH: &str = include_str!("../shell/completion.zsh");
pub fn completion_script(shell: Shell) -> Result<&'static str> {
match shell {