diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bb023b6..2630fe70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,145 @@ All notable changes to this project will be documented in this file. -## [unreleased] +## [1.6.0] - 2024-08-19 + +### ๐Ÿš€ Features + +- *(oma-console)* Add color format `Action::UpgradeTips` +- *(oma-console)* Add oma color `Action::PendingBg` +- *(oma-pm)* Allow `oma install foo --reinstall` will also install recommends +- Improve empty dependency issue output +- *(oma-pm)* Add debug output for resolve get error +- Make `oma install` no fix broken by default ... +- Set panic hook to unlock oma +- Panic hook display panic info + +### ๐Ÿ› Bug Fixes + +- Disable `--help` egg if locales not contains zh* locale +- *(oma-pm)* Protect recommend package +- *(oma-console)* Fix `oma search` display warning in windows terminal ... +- Correctly disable BiDi text marker +- *(oma-console)* Do not use global WRITER prefix len as `writeln_inner` arg +- *(oma-console)* Fix global progress bar align +- *(oma-console)* Spinner should align progress bar + +### ๐Ÿšœ Refactor + +- Set color formatter as global var +- *(oma-console)* [**breaking**] Impl `OmaProgressStyle` to replace `oma_style_pb` and `oma_spinner` function +- [**breaking**] `spinner_style` `global_progress_bar_style` `progress_bar_style` to replace `OmaProgressSrtle` +- *(oma-console)* Use const to save progress bar template + +### ๐ŸŽจ Styling + +- *(oma-refresh)* Lint + +### โš™๏ธ Miscellaneous Tasks + +- *(oma-pm)* Fix build warning without aosc feature +- Do not always use oma-pm aosc feature +- Update all deps + +## [1.5.2] - 2024-08-15 + +### ๐Ÿ› Bug Fixes + +- *(oma-topics)* Fix check mirror url missing '/' +- Fix i18n loader fallback +- Fix i18n_embed fallback to select language + +### โš™๏ธ Miscellaneous Tasks + +- Only version prefix contain 'v' will make deb + +## [1.5.1] - 2024-08-15 + +### ๐Ÿ› Bug Fixes + +- *(command_not_found.rs)* Fix typo Ddescription => Description + +## [1.5.0] - 2024-08-15 + +### ๐Ÿš€ Features + +- *(oma-console)* Impl OmaColorFormat +- *(oma-console)* Use `termbg` crate to check terminal theme +- *(oma-console)* Add color theme for terminal light theme +- *(command-not-found)* Package desc use white color +- Use table to print command-not-found message + +### ๐Ÿ› Bug Fixes + +- *(oma-refresh)* Add Copy mark to fix build +- Use correct i18n key for remove table headers +- *(oma-topics)* Check `InRelease` file is exist + +### ๐Ÿšœ Refactor + +- *(oma-topics)* No need to clone `arch` var +- `PagerPrinter::print_table` must only allow `Vec` argument as header + +### โš™๏ธ Miscellaneous Tasks + +- *(oma-refresh)* Move verify logic to `oma-repo-verify` crate ... +- *(oma-repo-verify)* Add description and license +- Update all deps + +### I18n + +- Not allow translate AVAIL UPGRADE and INSTALLED + +## [1.4.3-with-deb-ci] - 2024-08-12 + +### โš™๏ธ Miscellaneous Tasks + +- Add `license` field in Cargo.toml + +### CI + +- Add a workflow to build Debian packages + +### Cargo.toml + +- Add cargo-deb metadata + +## [1.4.3] - 2024-08-11 + +### ๐Ÿš€ Features + +- *(oma-topics)* [**breaking**] Topic not in mirror msg should use callback to handle + +### ๐Ÿ› Bug Fixes + +- Do not remove essential package +- *(oma-pm)* [**breaking**] Check dependencies is essential package + +### โš™๏ธ Miscellaneous Tasks + +- Update all deps +- [**breaking**] Use `std::sync::LazyLock` to replace `once_cell::sync::Lazy` +- *(i18n)* Update UI strings +- Update all deps + +### I18n + +- Add some new string + +## [1.4.2] - 2024-08-08 ### ๐Ÿš€ Features - Add notes for contributors +- *(oma-topics)* Add `file` protocol support + +### ๐Ÿ› Bug Fixes + +- *(oma-refresh)* Fix database file name on flat repo ... + +### ๐Ÿงช Testing + +- Add `file:/debs/` test on `test_ose` ### โš™๏ธ Miscellaneous Tasks @@ -14,6 +148,9 @@ All notable changes to this project will be documented in this file. - *(README)* Clean up formatting and proses - Omakase -> oma - Lint ctates description string +- Update changelog +- Refine descriptions for each crate +- *(oma-refresh)* Add a lot of (ridiculous) test cases for flat repositories ## [1.4.1] - 2024-08-05 diff --git a/Cargo.lock b/Cargo.lock index c2b15bec..3384b17c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3048,7 +3048,7 @@ dependencies = [ [[package]] name = "oma" -version = "1.5.2" +version = "1.6.0" dependencies = [ "ansi-to-tui", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 603e73e4..5eec9bc3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oma" -version = "1.5.2" +version = "1.6.0" edition = "2021" description = "User-friendly and performant package manager for APT repositories" license = "GPL-3.0-or-later"