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) - *(input)* Bind ctrl-w to delete previous word (#150)
- *(ux)* Print current query to stdout on Enter if no entry is selected (#151) - *(ux)* Print current query to stdout on Enter if no entry is selected (#151)
- *(cli)* Allow passing --input <STRING> to prefill input prompt (#153) - *(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 ### 🚜 Refactor
- *(ui)* More compact general layout and make preview panel optional (#148) - *(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 ### 📚 Documentation
- *(readme)* Make channel names consistent everywhere (#138) - *(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 ### ⚙️ Miscellaneous Tasks
- *(changelog)* Update changelog (auto) (#131) - *(changelog)* Update changelog (auto) (#131)
- *(changelog)* Update changelog (auto) (#141) - *(changelog)* Update changelog (auto) (#141)
- *(changelog)* Update changelog (auto) (#146) - *(changelog)* Update changelog (auto) (#146)
- *(changelog)* Update changelog (auto) (#154)
## [0.7.1] - 2024-12-15 ## [0.7.1] - 2024-12-15

14
Cargo.lock generated
View File

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

View File

@ -1,6 +1,6 @@
[package] [package]
name = "television" name = "television"
version = "0.7.1" version = "0.8.0"
edition = "2021" edition = "2021"
description = "The revolution will be televised." description = "The revolution will be televised."
license = "MIT" license = "MIT"
@ -10,18 +10,18 @@ repository = "https://github.com/alexpasmantier/television"
homepage = "https://github.com/alexpasmantier/television" homepage = "https://github.com/alexpasmantier/television"
keywords = ["search", "fuzzy", "preview", "tui", "terminal"] keywords = ["search", "fuzzy", "preview", "tui", "terminal"]
categories = [ categories = [
"command-line-utilities", "command-line-utilities",
"command-line-interface", "command-line-interface",
"concurrency", "concurrency",
"development-tools", "development-tools",
] ]
include = [ include = [
"LICENSE", "LICENSE",
"README.md", "README.md",
"themes/**/*.toml", "themes/**/*.toml",
"crates/television/**/*.rs", "crates/television/**/*.rs",
"build.rs", "build.rs",
".config/config.toml", ".config/config.toml",
] ]
rust-version = "1.81" rust-version = "1.81"
@ -38,12 +38,18 @@ repository = "https://github.com/alexpasmantier/television"
homepage = "https://github.com/alexpasmantier/television" homepage = "https://github.com/alexpasmantier/television"
keywords = ["search", "fuzzy", "preview", "tui", "terminal"] keywords = ["search", "fuzzy", "preview", "tui", "terminal"]
categories = [ categories = [
"command-line-utilities", "command-line-utilities",
"command-line-interface", "command-line-interface",
"concurrency", "concurrency",
"development-tools", "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" rust-version = "1.81"
readme = "README.md" readme = "README.md"
@ -56,12 +62,12 @@ name = "tv"
[dependencies] [dependencies]
# workspace dependencies # workspace dependencies
television-fuzzy = { path = "crates/television-fuzzy", version = "0.0.12" } television-fuzzy = { path = "crates/television-fuzzy", version = "0.0.14" }
television-derive = { path = "crates/television-derive", version = "0.0.12" } television-derive = { path = "crates/television-derive", version = "0.0.14" }
television-screen = { path = "crates/television-screen", version = "0.0.12" } television-screen = { path = "crates/television-screen", version = "0.0.14" }
television-channels = { path = "crates/television-channels", version = "0.0.12" } television-channels = { path = "crates/television-channels", version = "0.0.14" }
television-previewers = { path = "crates/television-previewers", version = "0.0.12" } television-previewers = { path = "crates/television-previewers", version = "0.0.14" }
television-utils = { path = "crates/television-utils", version = "0.0.12" } television-utils = { path = "crates/television-utils", version = "0.0.14" }
# external dependencies # external dependencies
better-panic = "0.3.0" 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> </summary>
```bash ```bash
curl -LO https://github.com/alexpasmantier/television/releases/download/0.7.0/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.7.0-1_amd64.deb sudo dpkg -i television_0.8.0-1_amd64.deb
``` ```
</details> </details>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
[package] [package]
name = "television-utils" name = "television-utils"
version = "0.0.12" version = "0.0.14"
description.workspace = true description.workspace = true
authors.workspace = true authors.workspace = true
repository.workspace = true repository.workspace = true
@ -17,7 +17,9 @@ ignore = "0.4.23"
lazy_static = "1.5.0" lazy_static = "1.5.0"
tracing = "0.1.40" tracing = "0.1.40"
color-eyre = "0.6.3" 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" directories = "5.0.1"
syntect = "5.2.0" syntect = "5.2.0"
gag = "1.0.0" gag = "1.0.0"

View File

@ -9,7 +9,7 @@ pub enum Shell {
Cmd, 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> { pub fn completion_script(shell: Shell) -> Result<&'static str> {
match shell { match shell {