Skip to content

Commit

Permalink
Bump version and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
theRookieCoder committed Jan 30, 2024
1 parent 15e08f9 commit 52cd455
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 22 deletions.
24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
# Changelog for Ferium

## `v4.5.0`
### 30.01.2024

- Added aliases for many commands and arguments
- The `--version`/`-v` flags only work for the top-level command now (they do not propagate to subcommands)
- Renamed `--dont-check-game-version` and `--dont-check-mod-loader` to `--ignore-game-version` and `--ignore-mod-loader` respectively
- Also added a short hand `-V` and `-M`
- The previous flags still work as a hidden alias, so scripts do not have to be edited
- Added `ferium profile info` and `ferium modpack info` subcommands to print information about the current profile/modpack
- These are aliased to `ferium profile` and `ferium modpack`
- Added `ferium profiles` and `ferium modpacks`, which are aliases to their respective list commands
- Added option to temporarily ignore game version and mod loader checks and force-add the mod anyways ([#142](https://github.com/gorilla-devs/ferium/issues/142))
- Added an argument for providing a profile/modpack to switch to after deleting a profile/modpack ([#390](https://github.com/gorilla-devs/ferium/issues/390))
- Fixed errors not getting caught when adding mods (e.g. `HTTP error 404` instead of `mod does not exist`)
- Moved a majority of the mod adding code to libium
- Added a header with profile information in `ferium list`
- Made `ferium list` display the source and mod ID first and mod name last to circumvent minor formatting issues
- Added user agent to GitHub API check to make it more reliable
- Added more information and coloured formatting to profile and modpack pickers (when deleting or switching)
- Made the remove picker show the same information as `ferium list` but without colours
- Fixed distribution denied errors not getting caught during mod resolution and causing the entire command to fail instead ([#308](https://github.com/gorilla-devs/ferium/issues/308))

## `v4.4.1`
### 07.08.23
### 07.08.2023

- Update dependencies
- Fix [#363](https://github.com/gorilla-devs/ferium/issues/363) by updating ferinth
Expand Down
32 changes: 18 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ferium"
version = "4.4.1"
version = "4.5.0"
edition = "2021"
rust-version = "1.61" # Bound by `std::process::ExitCode`
authors = [
Expand Down Expand Up @@ -40,8 +40,8 @@ indicatif = "0.17"
itertools = "0.12"
once_cell = "1.19"
fs_extra = "1.3"
colored = "2.1"
ferinth = "2.10"
colored = "2.1"
libium = "1.24"
anyhow = "1.0"
furse = "1.5"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ The `nogui` versions do not need this as they won't have a GUI folder picker, ma
> From-source builds will install the Rust toolchain and GCC
| Installation method | GUI file dialogue | No GUI |
|-------------------------------------------------|-------------------------------------------------------------------------|-------------------------------------------------------------|
| ----------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------- |
| Install pre-built binaries from GitHub Releases | **[ferium-gui-bin](https://aur.archlinux.org/packages/ferium-gui-bin)** | [ferium-bin](https://aur.archlinux.org/packages/ferium-bin) |
| Build from source at the latest tag | [ferium-gui](https://aur.archlinux.org/packages/ferium-gui) | [ferium](https://aur.archlinux.org/packages/ferium) |
| Build from source using the latest commit | [ferium-gui-git](https://aur.archlinux.org/packages/ferium-gui-git) | [ferium-git](https://aur.archlinux.org/packages/ferium-git) |
Expand Down
5 changes: 2 additions & 3 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use std::path::PathBuf;

#[derive(Parser)]
#[clap(author, version, about)]
#[clap(propagate_version = true)]
#[clap(arg_required_else_help = true)]
pub struct Ferium {
#[clap(subcommand)]
Expand Down Expand Up @@ -47,10 +46,10 @@ pub enum SubCommands {
#[clap(long, short, visible_alias = "override")]
force: bool,
/// The game version will not be checked for this mod
#[clap(long, alias = "dont-check-game-version")]
#[clap(long, short = 'V', alias = "dont-check-game-version")]
ignore_game_version: bool,
/// The mod loader will not be checked for this mod
#[clap(long, alias = "dont-check-mod-loader")]
#[clap(long, short = 'M', alias = "dont-check-mod-loader")]
ignore_mod_loader: bool,
},
/// Print shell auto completions for the specified shell
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ async fn actual_main(mut cli_app: Ferium) -> Result<()> {
}
} else {
println!(
"{} {} on {:6} {:7}\n",
"{} {} on {} {}\n",
profile.name.bold(),
format!("({} mods)", profile.mods.len()).yellow(),
format!("{:?}", profile.mod_loader).purple(),
Expand Down

0 comments on commit 52cd455

Please sign in to comment.