From 3411029362973fd33511595ffb8c354e87e54cde Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 25 Aug 2024 17:40:08 +0200 Subject: chore(version): v1.2.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- NEWS.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bc25f0d..a24d9b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2346,7 +2346,7 @@ checksum = "213b7324336b53d2414b2db8537e56544d981803139155afa84f76eeebb7a546" [[package]] name = "yt" -version = "1.1.0" +version = "1.2.0" dependencies = [ "anyhow", "blake3", diff --git a/Cargo.toml b/Cargo.toml index 498ed5d..460cd03 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ [package] name = "yt" -version = "1.1.0" +version = "1.2.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/NEWS.md b/NEWS.md index 1e2e673..62f3178 100644 --- a/NEWS.md +++ b/NEWS.md @@ -14,6 +14,58 @@ If not, see . All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines. - - - +## [v1.2.0](https://git.vhack.eu/soispha/clients/yt/compare/c467d7a4457363b0da4a41aa4869ab368ff452e3..v1.2.0) - 2024-08-25 +#### Bug Fixes +- **(cli/selectCommand)** Explicitly set the aliases - ([35db9c0](https://git.vhack.eu/soispha/clients/yt/commit/35db9c0d4ad2029300087370ccaa5c49b10d1638)) - [@soispha](https://git.vhack.eu/soispha) +- **(config)** Check for wrong keys in the config file - ([43522ef](https://git.vhack.eu/soispha/clients/yt/commit/43522ef7898c60ffd3e7c5ff056fd765635bbc5c)) - [@soispha](https://git.vhack.eu/soispha) +- **(config/from_filesystem)** Only create the parent of config paths - ([8345367](https://git.vhack.eu/soispha/clients/yt/commit/834536721ce27ebfb8d73ae529d0f446725b3a4d)) - [@soispha](https://git.vhack.eu/soispha) +- **(config/from_filesystem)** Just load an empty config, if there isn't one - ([c467d7a](https://git.vhack.eu/soispha/clients/yt/commit/c467d7a4457363b0da4a41aa4869ab368ff452e3)) - [@soispha](https://git.vhack.eu/soispha) +- **(contrib/config.toml)** Correct typo in config key - ([18303c2](https://git.vhack.eu/soispha/clients/yt/commit/18303c231ce2f6636b7958d6db0d7041665960ce)) - [@soispha](https://git.vhack.eu/soispha) +- **(download)** Don't fail hard, when a video file size can't be approximated - ([82285c8](https://git.vhack.eu/soispha/clients/yt/commit/82285c86bf811c642b4593bc9a28633e92feceb4)) - [@soispha](https://git.vhack.eu/soispha) +- **(downloader)** Fallback to calculating the video size, before using hardcoded value - ([66c4526](https://git.vhack.eu/soispha/clients/yt/commit/66c4526d120b52ba8cf6a53196477b99d4cffaca)) - [@soispha](https://git.vhack.eu/soispha) +- **(downloader)** Remove useless logs - ([df06c51](https://git.vhack.eu/soispha/clients/yt/commit/df06c51b39fed58c8230fad93dac2e274d3a7f56)) - [@soispha](https://git.vhack.eu/soispha) +- **(downloader)** Be smarter, when checking for available cache - ([09d03dc](https://git.vhack.eu/soispha/clients/yt/commit/09d03dc79c6e39f12392b3a9edf5c121519bfc92)) - [@soispha](https://git.vhack.eu/soispha) +- **(select/cmds)** Accept the watch flags for every command - ([6adacc3](https://git.vhack.eu/soispha/clients/yt/commit/6adacc346a6b0406e69e77a24b204f2e74182471)) - [@soispha](https://git.vhack.eu/soispha) +- **(select/display)** Only align the status commands in color_display - ([ffab606](https://git.vhack.eu/soispha/clients/yt/commit/ffab6069611efe74b8f01c0b8cbcb01afc37ed47)) - [@soispha](https://git.vhack.eu/soispha) +- **(select/duration)** Report parse errors, as the input is user specified - ([fb751fa](https://git.vhack.eu/soispha/clients/yt/commit/fb751fa0959fc99bc662e273a7aedffb0d335801)) - [@soispha](https://git.vhack.eu/soispha) +- **(storage/database)** Already borrow the `VideoStatus::ALL` constant - ([f8546ef](https://git.vhack.eu/soispha/clients/yt/commit/f8546efe4e52bf517d54b0d5fd45fc196cb05bcd)) - [@soispha](https://git.vhack.eu/soispha) +- **(storage/extractor_hash)** Remove useless logs - ([51fa79a](https://git.vhack.eu/soispha/clients/yt/commit/51fa79a22d4cca066c5272bd6f9fab923dab9c4a)) - [@soispha](https://git.vhack.eu/soispha) +- **(treewide)** Always display bytes in a formatted way through `Bytes` - ([324ddec](https://git.vhack.eu/soispha/clients/yt/commit/324ddec41d474bb4840a2b76db48b5f97ed65889)) - [@soispha](https://git.vhack.eu/soispha) +- **(update_raw.py)** Only return the needed fields to rust - ([dde1e0b](https://git.vhack.eu/soispha/clients/yt/commit/dde1e0b672dc9829de4120f87464d00a79535e15)) - [@soispha](https://git.vhack.eu/soispha) +- **(yt_dlp/info_json)** Accept further missing fields in the info_json - ([cedffd5](https://git.vhack.eu/soispha/clients/yt/commit/cedffd59dd4047908a87e7c52ae5a9d5876a8b15)) - [@soispha](https://git.vhack.eu/soispha) +- **(yt_dlp/lib/hook)** Don't print download progress, when debug is logged - ([5e46f47](https://git.vhack.eu/soispha/clients/yt/commit/5e46f4726f308cbe25a84e71e083ffe99e9e4c2d)) - [@soispha](https://git.vhack.eu/soispha) +#### Build system +- **(treewide)** Update - ([7cc9b60](https://git.vhack.eu/soispha/clients/yt/commit/7cc9b6069f803fcb99f5089ca50558ae16d4a70e)) - [@soispha](https://git.vhack.eu/soispha) +- **(update.sh)** Correct path specifications and upgrade incompatible deps - ([d083afc](https://git.vhack.eu/soispha/clients/yt/commit/d083afc2db80a061dc96f8a9c47235edfce89854)) - [@soispha](https://git.vhack.eu/soispha) +#### Documentation +- **(cache)** Add context to the cache_path deletion error - ([e8d165f](https://git.vhack.eu/soispha/clients/yt/commit/e8d165fe0ef18530f3c921778cae1d4b2bed2ee1)) - [@soispha](https://git.vhack.eu/soispha) +- **(yt_dlp/progress_hook)** Add a note about the possibility to calculate video sizes - ([8e79f6c](https://git.vhack.eu/soispha/clients/yt/commit/8e79f6c27128ce9ef7aed28ddb3cac59eca3e701)) - [@soispha](https://git.vhack.eu/soispha) +#### Features +- **(bytes)** Add implementation for serde's `Serialize` - ([66ded1e](https://git.vhack.eu/soispha/clients/yt/commit/66ded1ec598639fd54a75d6af007ed60541df5ca)) - [@soispha](https://git.vhack.eu/soispha) +- **(cli)** Support the common select -> download -> watch workflow - ([5638cbd](https://git.vhack.eu/soispha/clients/yt/commit/5638cbda332f0cb4d2bc5bfefac5a3ab3d01366e)) - [@soispha](https://git.vhack.eu/soispha) +- **(cli/config)** Show the currently active configuration - ([55e8da5](https://git.vhack.eu/soispha/clients/yt/commit/55e8da54a85c817bc6f71a9af43a7f6d813a67b3)) - [@soispha](https://git.vhack.eu/soispha) +- **(cli/selectCommand/file)** Allow re-use of the previous selection file - ([b0ba7c7](https://git.vhack.eu/soispha/clients/yt/commit/b0ba7c7d5329148495d9a676c3314a9a35e4ca18)) - [@soispha](https://git.vhack.eu/soispha) +- **(crates/bytes)** Support decimal number input - ([8327e89](https://git.vhack.eu/soispha/clients/yt/commit/8327e89e0b66a6c43d14b8c3003e781635f9baa1)) - [@soispha](https://git.vhack.eu/soispha) +- **(downloader)** Display the sizes, when waiting for a cache size reduction - ([5ae4ea6](https://git.vhack.eu/soispha/clients/yt/commit/5ae4ea69a25abda96a4114298216a8602c2d7d5d)) - [@soispha](https://git.vhack.eu/soispha) +- **(select/cmds)** Add a `watched` command - ([cc07fd4](https://git.vhack.eu/soispha/clients/yt/commit/cc07fd430f5860481d6dd7e9050bf32da11d76ce)) - [@soispha](https://git.vhack.eu/soispha) +- **(select/display)** Also show the video hash when color displaying it - ([0f4abc0](https://git.vhack.eu/soispha/clients/yt/commit/0f4abc0997625fe4912883947210fbc9f2712396)) - [@soispha](https://git.vhack.eu/soispha) +- **(status)** Also show the cache usage - ([c05f431](https://git.vhack.eu/soispha/clients/yt/commit/c05f4317b299f1ebaff4955339f6d9ce44e9891b)) - [@soispha](https://git.vhack.eu/soispha) +- **(videos)** Allow limiting the number of videos to show - ([4eeb519](https://git.vhack.eu/soispha/clients/yt/commit/4eeb519ae5398b5b5f5c7d9938e3887cac2c9faf)) - [@soispha](https://git.vhack.eu/soispha) +- **(videos)** Init - ([d5c2fcc](https://git.vhack.eu/soispha/clients/yt/commit/d5c2fcc184f764f9d4bb5846a1182c6014316bdc)) - [@soispha](https://git.vhack.eu/soispha) +- **(watch)** Idle until new videos are available instead of exiting - ([020c6e2](https://git.vhack.eu/soispha/clients/yt/commit/020c6e2ed2f424f997d0f124f7ae1aabb8a020dc)) - [@soispha](https://git.vhack.eu/soispha) +- **(watch/handlers)** Add status messages to the script handlers - ([0380edd](https://git.vhack.eu/soispha/clients/yt/commit/0380edd9681862150568b9f544c1e718523c31ab)) - [@soispha](https://git.vhack.eu/soispha) +#### Refactoring +- **(comments)** Remove dead code - ([a8c50ca](https://git.vhack.eu/soispha/clients/yt/commit/a8c50ca481a153a51467acf7cc4e418c952e909b)) - [@soispha](https://git.vhack.eu/soispha) +- **(treewide)** Conform to `cargo clippy` - ([a60cd8f](https://git.vhack.eu/soispha/clients/yt/commit/a60cd8f2a96aae3f7db8dfccec2aa5cf21f8c411)) - [@soispha](https://git.vhack.eu/soispha) +- **(watch)** Don't track the playlist, use the properties of `mpv` instead - ([75f2a6a](https://git.vhack.eu/soispha/clients/yt/commit/75f2a6a9cf0bab4be6530a0f91fa05bf9d9d1b24)) - [@soispha](https://git.vhack.eu/soispha) +- **(watch/playlist_handler)** Init - ([83643e0](https://git.vhack.eu/soispha/clients/yt/commit/83643e0370b101968bd3de5e9a81c2b309955cbd)) - [@soispha](https://git.vhack.eu/soispha) +#### Style +- **(treewide)** Reformat - ([e9be421](https://git.vhack.eu/soispha/clients/yt/commit/e9be4219b63cbb4fdfe8de8779481568a69ceb8a)) - [@soispha](https://git.vhack.eu/soispha) +#### Tests +- **(storage/setters)** Assert the video status in `set_video_watched` - ([ee57640](https://git.vhack.eu/soispha/clients/yt/commit/ee576400ce9c9e4f5d4ce420987ffd3ebe8ff5e0)) - [@soispha](https://git.vhack.eu/soispha) + +- - - + ## [v1.1.0](https://git.vhack.eu/soispha/clients/yt/compare/07fe26382e7a13a3a14a664345f73d97039d0b03..v1.1.0) - 2024-08-23 #### Bug Fixes - **(cli)** Always log with a verbosity of at least WARN - ([0cf8d97](https://git.vhack.eu/soispha/clients/yt/commit/0cf8d9759f1bcfef39626406867c41b425178d48)) - [@soispha](https://git.vhack.eu/soispha) -- cgit 1.4.1