Skip to content

Commit 52cd455

Browse files
Bump version and changelog
1 parent 15e08f9 commit 52cd455

File tree

6 files changed

+47
-22
lines changed

6 files changed

+47
-22
lines changed

CHANGELOG.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,29 @@
11
# Changelog for Ferium
22

3+
## `v4.5.0`
4+
### 30.01.2024
5+
6+
- Added aliases for many commands and arguments
7+
- The `--version`/`-v` flags only work for the top-level command now (they do not propagate to subcommands)
8+
- Renamed `--dont-check-game-version` and `--dont-check-mod-loader` to `--ignore-game-version` and `--ignore-mod-loader` respectively
9+
- Also added a short hand `-V` and `-M`
10+
- The previous flags still work as a hidden alias, so scripts do not have to be edited
11+
- Added `ferium profile info` and `ferium modpack info` subcommands to print information about the current profile/modpack
12+
- These are aliased to `ferium profile` and `ferium modpack`
13+
- Added `ferium profiles` and `ferium modpacks`, which are aliases to their respective list commands
14+
- 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))
15+
- 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))
16+
- Fixed errors not getting caught when adding mods (e.g. `HTTP error 404` instead of `mod does not exist`)
17+
- Moved a majority of the mod adding code to libium
18+
- Added a header with profile information in `ferium list`
19+
- Made `ferium list` display the source and mod ID first and mod name last to circumvent minor formatting issues
20+
- Added user agent to GitHub API check to make it more reliable
21+
- Added more information and coloured formatting to profile and modpack pickers (when deleting or switching)
22+
- Made the remove picker show the same information as `ferium list` but without colours
23+
- 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))
24+
325
## `v4.4.1`
4-
### 07.08.23
26+
### 07.08.2023
527

628
- Update dependencies
729
- Fix [#363](https://github.com/gorilla-devs/ferium/issues/363) by updating ferinth

Cargo.lock

Lines changed: 18 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ferium"
3-
version = "4.4.1"
3+
version = "4.5.0"
44
edition = "2021"
55
rust-version = "1.61" # Bound by `std::process::ExitCode`
66
authors = [
@@ -40,8 +40,8 @@ indicatif = "0.17"
4040
itertools = "0.12"
4141
once_cell = "1.19"
4242
fs_extra = "1.3"
43-
colored = "2.1"
4443
ferinth = "2.10"
44+
colored = "2.1"
4545
libium = "1.24"
4646
anyhow = "1.0"
4747
furse = "1.5"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The `nogui` versions do not need this as they won't have a GUI folder picker, ma
6464
> From-source builds will install the Rust toolchain and GCC
6565
6666
| Installation method | GUI file dialogue | No GUI |
67-
|-------------------------------------------------|-------------------------------------------------------------------------|-------------------------------------------------------------|
67+
| ----------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------- |
6868
| 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) |
6969
| Build from source at the latest tag | [ferium-gui](https://aur.archlinux.org/packages/ferium-gui) | [ferium](https://aur.archlinux.org/packages/ferium) |
7070
| 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) |

src/cli.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ use std::path::PathBuf;
77

88
#[derive(Parser)]
99
#[clap(author, version, about)]
10-
#[clap(propagate_version = true)]
1110
#[clap(arg_required_else_help = true)]
1211
pub struct Ferium {
1312
#[clap(subcommand)]
@@ -47,10 +46,10 @@ pub enum SubCommands {
4746
#[clap(long, short, visible_alias = "override")]
4847
force: bool,
4948
/// The game version will not be checked for this mod
50-
#[clap(long, alias = "dont-check-game-version")]
49+
#[clap(long, short = 'V', alias = "dont-check-game-version")]
5150
ignore_game_version: bool,
5251
/// The mod loader will not be checked for this mod
53-
#[clap(long, alias = "dont-check-mod-loader")]
52+
#[clap(long, short = 'M', alias = "dont-check-mod-loader")]
5453
ignore_mod_loader: bool,
5554
},
5655
/// Print shell auto completions for the specified shell

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ async fn actual_main(mut cli_app: Ferium) -> Result<()> {
285285
}
286286
} else {
287287
println!(
288-
"{} {} on {:6} {:7}\n",
288+
"{} {} on {} {}\n",
289289
profile.name.bold(),
290290
format!("({} mods)", profile.mods.len()).yellow(),
291291
format!("{:?}", profile.mod_loader).purple(),

0 commit comments

Comments
 (0)