From 39e2bfcbb7e9fbd643cfbbd167f8bae1a3707c54 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 19 Jul 2024 22:54:53 +0800 Subject: [PATCH] chore: release (#71) * chore: release * Only release ytmapi-rs, and fix tui-logger/ratatui conflict --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Nick Dowsett --- Cargo.lock | 75 +++++++++++++++++++++---------------- youtui/CHANGELOG.md | 10 +++++ youtui/Cargo.toml | 7 ++-- youtui/src/app/ui/draw.rs | 2 +- youtui/src/app/view/draw.rs | 4 +- ytmapi-rs/CHANGELOG.md | 9 +++++ ytmapi-rs/Cargo.toml | 2 +- 7 files changed, 70 insertions(+), 39 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a04aa31b..0dca9984 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -470,9 +470,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.5" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "324c74f2155653c90b04f25b2a47a8a631360cb908f92a772695f430c7e31052" +checksum = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f" dependencies = [ "jobserver", "libc", @@ -1264,16 +1264,16 @@ checksum = "62adaabb884c94955b19907d60019f4e145d091c75345379e70d1ee696f7854f" [[package]] name = "html5ever" -version = "0.26.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bea68cab48b8459f17cf1c944c67ddc572d272d9f2b274140f223ecb1da4a3b7" +checksum = "c13771afe0e6e846f1e67d038d4cb29998a6779f93c809212e4e9c32efd244d4" dependencies = [ "log", "mac", "markup5ever", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.71", ] [[package]] @@ -1779,13 +1779,13 @@ dependencies = [ [[package]] name = "markup5ever" -version = "0.11.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a2629bb1404f3d34c2e921f21fd34ba00b206124c81f65c50b43b6aaefeb016" +checksum = "16ce3abbeba692c8b8441d036ef91aea6df8da2c6b6e21c7e14d3c18e526be45" dependencies = [ "log", - "phf 0.10.1", - "phf_codegen", + "phf 0.11.2", + "phf_codegen 0.11.2", "string_cache", "string_cache_codegen", "tendril", @@ -2159,7 +2159,7 @@ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.5.2", + "redox_syscall 0.5.3", "smallvec", "windows-targets 0.52.6", ] @@ -2205,6 +2205,16 @@ dependencies = [ "phf_shared 0.10.0", ] +[[package]] +name = "phf_codegen" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8d39688d359e6b34654d328e262234662d16cc0f60ec8dcbe5e718709342a5a" +dependencies = [ + "phf_generator 0.11.2", + "phf_shared 0.11.2", +] + [[package]] name = "phf_generator" version = "0.10.0" @@ -2477,19 +2487,20 @@ dependencies = [ [[package]] name = "ratatui" -version = "0.26.3" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f44c9e68fd46eda15c646fbb85e1040b657a58cdc8c98db1d97a55930d991eef" +checksum = "d16546c5b5962abf8ce6e2881e722b4e0ae3b6f1a08a26ae3573c55853ca68d3" dependencies = [ "bitflags 2.6.0", "cassowary", "compact_str", "crossterm", - "itertools 0.12.1", + "itertools 0.13.0", "lru", "paste", "stability", "strum", + "strum_macros", "time", "unicode-segmentation", "unicode-truncate", @@ -2507,9 +2518,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c82cf8cff14456045f55ec4241383baeff27af886adb72ffb2162f99911de0fd" +checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4" dependencies = [ "bitflags 2.6.0", ] @@ -2841,9 +2852,9 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "scraper" -version = "0.19.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b80b33679ff7a0ea53d37f3b39de77ea0c75b12c5805ac43ec0c33b3051af1b" +checksum = "761fb705fdf625482d2ed91d3f0559dcfeab2798fe2771c69560a774865d0802" dependencies = [ "ahash", "cssparser", @@ -2891,7 +2902,7 @@ dependencies = [ "log", "new_debug_unreachable", "phf 0.10.1", - "phf_codegen", + "phf_codegen 0.10.0", "precomputed-hash", "servo_arc", "smallvec", @@ -3377,18 +3388,18 @@ checksum = "a38c90d48152c236a3ab59271da4f4ae63d678c5d7ad6b7714d7cb9760be5e4b" [[package]] name = "thiserror" -version = "1.0.62" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2675633b1499176c2dff06b0856a27976a8f9d436737b4cf4f312d4d91d8bbb" +checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.62" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d20468752b09f49e909e55a5d338caa8bedf615594e9d80bc4c565d30faf798c" +checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", @@ -3466,9 +3477,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.38.0" +version = "1.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" +checksum = "eb2caba9f80616f438e09748d5acda951967e1ea58508ef53d9c6402485a46df" dependencies = [ "backtrace", "bytes", @@ -3541,14 +3552,14 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.14" +version = "0.8.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f49eb2ab21d2f26bd6db7bf383edc527a7ebaee412d17af4d40fdccd442f335" +checksum = "ac2caab0bf757388c6c0ae23b3293fdb463fee59434529014f85e3263b995c28" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.15", + "toml_edit 0.22.16", ] [[package]] @@ -3584,9 +3595,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.15" +version = "0.22.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d59a3a72298453f564e2b111fa896f8d07fabb36f51f06d7e875fc5e0b5a3ef1" +checksum = "278f3d518e152219c994ce877758516bca5e118eaed6996192a774fb9fbf0788" dependencies = [ "indexmap", "serde", @@ -3687,9 +3698,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "tui-logger" -version = "0.11.1" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "115f9ceabfa07b739dc00baf0180cf5060731a2de66aa7fb47e22dc442aa05ca" +checksum = "10cd1a0f217c2180e736bc9f3282fea4af182483532c6e719081b6b1c6d6be90" dependencies = [ "chrono", "fxhash", @@ -4316,7 +4327,7 @@ dependencies = [ [[package]] name = "ytmapi-rs" -version = "0.0.6" +version = "0.0.7" dependencies = [ "async-stream", "chrono", diff --git a/youtui/CHANGELOG.md b/youtui/CHANGELOG.md index 1b5bd310..26eaf8ef 100644 --- a/youtui/CHANGELOG.md +++ b/youtui/CHANGELOG.md @@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added +- feat! Move convenience functions behind feature gate and add documentation. Resolves [#76](https://github.com/nick42d/youtui/pull/76) ([#81](https://github.com/nick42d/youtui/pull/81)) +- Implment mechanism to force use of tls selection, and utilise new mechanism in youtui - resolves [#30](https://github.com/nick42d/youtui/pull/30) ([#80](https://github.com/nick42d/youtui/pull/80)) +- [**breaking**] Allow specialisation of queries depending on the Token ([#79](https://github.com/nick42d/youtui/pull/79)) +- Implement DeleteUploadEntity ([#73](https://github.com/nick42d/youtui/pull/73)) +- [**breaking**] Implement get library upload queries - resolves [#66](https://github.com/nick42d/youtui/pull/66) ([#70](https://github.com/nick42d/youtui/pull/70)) + +### Fixed +- youtui: Correctly use rustls over openssl ([#78](https://github.com/nick42d/youtui/pull/78)) + ## [0.0.6](https://github.com/nick42d/youtui/compare/youtui-v0.0.5...youtui-v0.0.6) - 2024-07-13 ### Other diff --git a/youtui/Cargo.toml b/youtui/Cargo.toml index 8fec9057..135da829 100644 --- a/youtui/Cargo.toml +++ b/youtui/Cargo.toml @@ -17,16 +17,17 @@ rust-version = "1.79" clap = { version = "4.5.7", features = ["derive"] } crossterm = { version = "0.27", features = ["event-stream"] } futures = "0.3.30" -ratatui = { version = "0.26.3", features = ["all-widgets"] } +ratatui = { version = "0.27.0", features = ["all-widgets"] } serde = "1.0.203" serde_json = "1.0.117" tokio = "1.38.0" -ytmapi-rs = { path = "../ytmapi-rs", version = "0.0.6", default-features = false, features = [ +ytmapi-rs = { path = "../ytmapi-rs", version = "0.0.7", default-features = false, features = [ "rustls-tls", + "simplified-queries", ] } tracing = "0.1.40" tracing-subscriber = "0.3.18" -tui-logger = { version = "0.11.1", default-features = false, features = [ +tui-logger = { version = "0.11.2", default-features = false, features = [ "crossterm", "tracing-support", ] } diff --git a/youtui/src/app/ui/draw.rs b/youtui/src/app/ui/draw.rs index 841dec61..222bb3bc 100644 --- a/youtui/src/app/ui/draw.rs +++ b/youtui/src/app/ui/draw.rs @@ -218,7 +218,7 @@ fn draw_generic_scrollable_table<'a, T: IntoIterator>>( .content_length(scrollable_lines); f.render_stateful_widget( scrollbar, - chunk.inner(&Margin { + chunk.inner(Margin { vertical: 1, horizontal: 0, }), diff --git a/youtui/src/app/view/draw.rs b/youtui/src/app/view/draw.rs index b91d675c..3f7c1ae2 100644 --- a/youtui/src/app/view/draw.rs +++ b/youtui/src/app/view/draw.rs @@ -146,7 +146,7 @@ where .content_length(scrollable_lines); f.render_stateful_widget( scrollbar, - chunk.inner(&Margin { + chunk.inner(Margin { vertical: 1, horizontal: 0, }), @@ -243,7 +243,7 @@ pub fn draw_sortable_table( .content_length(scrollable_lines); f.render_stateful_widget( scrollbar, - chunk.inner(&Margin { + chunk.inner(Margin { vertical: 1, horizontal: 0, }), diff --git a/ytmapi-rs/CHANGELOG.md b/ytmapi-rs/CHANGELOG.md index 6ab9bb5e..3d506479 100644 --- a/ytmapi-rs/CHANGELOG.md +++ b/ytmapi-rs/CHANGELOG.md @@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.0.7](https://github.com/nick42d/youtui/compare/ytmapi-rs-v0.0.6...ytmapi-rs-v0.0.7) - 2024-07-19 + +### Added +- feat! Move convenience functions behind feature gate and add documentation. Resolves [#76](https://github.com/nick42d/youtui/pull/76) ([#81](https://github.com/nick42d/youtui/pull/81)) +- feat: Implment mechanism to force use of tls selection - resolves [#30](https://github.com/nick42d/youtui/pull/30) ([#80](https://github.com/nick42d/youtui/pull/80)) +- [**breaking**] Allow specialisation of queries depending on the Token ([#79](https://github.com/nick42d/youtui/pull/79)) +- feat: Implement DeleteUploadEntity ([#73](https://github.com/nick42d/youtui/pull/73)) +- [**breaking**] Implement get library upload queries - resolves [#66](https://github.com/nick42d/youtui/pull/66) ([#70](https://github.com/nick42d/youtui/pull/70)) + ## [0.0.6](https://github.com/nick42d/youtui/compare/ytmapi-rs-v0.0.5...ytmapi-rs-v0.0.6) - 2024-07-13 ### Added diff --git a/ytmapi-rs/Cargo.toml b/ytmapi-rs/Cargo.toml index 49716e19..b8a056f2 100644 --- a/ytmapi-rs/Cargo.toml +++ b/ytmapi-rs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ytmapi-rs" -version = "0.0.6" +version = "0.0.7" edition = "2021" authors = ["nick42d"] license = "MIT"