Skip to content

Releases: spencerwooo/mihoro

v0.4.0

16 Jan 06:24
d0b0222
Compare
Choose a tag to compare

🚧 Configuration Migration

Coming to v0.4.0, geodata setup is supported for mihomo v1.18.0. To migrate, append to config mihoro.toml:

# previous config...
geodata_mode = true
geo_auto_update = true
geo_update_interval = 24

[mihomo_config.geox_url]
geoip = "https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.dat"
geosite = "https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geosite.dat"
mmdb = "https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/country.mmdb"

Use mihoro update-geodata to force a geodata update.

What's Changed

Full Changelog: v0.3.0...v0.4.0

v0.3.0

29 Dec 08:50
Compare
Choose a tag to compare

What's new?

  • Support for mihomo meta kernel.
  • Remove remote_mmdb_url updates.
  • Update config defaults.

Migration to mihoro

  1. Uninstall clashrup: clashrup uninstall

  2. Remove deprecated clash files:

    rm -R ~/.local/bin/clash ~/.config/clash
  3. Migrate ~/.config/clashrup.toml to ~/.config/mihoro.toml

Default ~/.config/mihoro.toml:

remote_mihomo_binary_url = ""
remote_config_url = ""
mihomo_binary_path = "~/.local/bin/mihomo"
mihomo_config_root = "~/.config/mihomo"
user_systemd_root = "~/.config/systemd/user"

[mihomo_config]
port = 7890
socks_port = 7891
allow_lan = false
bind_address = "*"
mode = "rule"
log_level = "info"
ipv6 = true
external_controller = "0.0.0.0:9090"
external_ui = "ui"

v0.2.7

08 Feb 09:26
0468e17
Compare
Choose a tag to compare

What's Changed

  • When downloading, URLs are truncated to 64 characters to avoid messy outputs
  • fix: resolve various clippy warnings
  • fix(deps): update rust crate tokio to 1.25 by @renovate in #35
  • fix(deps): update rust crate toml to 0.7.2 by @renovate in #36

Full Changelog: v0.2.6...v0.2.7

v0.2.6

27 Jan 06:02
f82bc8c
Compare
Choose a tag to compare

What's Changed

  • feat: additional proxy export cmds (based on $SHELL) by @spencerwooo in #33

Deps

  • fix(deps): update rust crate serde_yaml to 0.9.17 by @renovate in #27
  • fix(deps): update rust crate clap_complete to 4.1.1 by @renovate in #30
  • fix(deps): update rust crate toml to 0.6.0 by @renovate in #31
  • fix(deps): update rust crate clap to 4.1.4 by @renovate in #32

Full Changelog: v0.2.5...v0.2.6

v0.2.5

13 Jan 03:20
5fa0c72
Compare
Choose a tag to compare

Run clashrup setup again to apply the latest changes to your systemd clash.service file.

[Install]
-WantedBy=multi-user.target"
+WantedBy=default.target"

What's Changed

  • fix: clashrup uninstall will not remove clash binary as of now
  • fix: The clash.service systemd file now uses default.target instead

Full Changelog: v0.2.4...v0.2.5

v0.2.4

11 Jan 12:55
83b40c9
Compare
Choose a tag to compare

You can now use clashrup completions [SHELL] to output up-to-date shell completions for bash, zsh, and fish.

CleanShot 2023-01-11 at 20 51 37@2x

What's Changed

  • Update Rust crate local-ip-address to 0.5.1 by @renovate in #19
  • Generate shell completions by @spencerwooo in #21
  • Removed Reading config from ... from output

Full Changelog: v0.2.3...v0.2.4

v0.2.3

10 Jan 04:25
3ae6b8d
Compare
Choose a tag to compare

Downloading files now print pretty progress bars or spinners (when Content-Length is not available).

CleanShot 2023-01-11 at 20 56 17@2x

What's Changed

  • Progress bars during file download by @spencerwooo in #18
  • When commands are invoked as sub-processes, clashrup waits for the command to finish instead of moving on

Housekeeping

New Contributors

Full Changelog: v0.2.2...v0.2.3

v0.2.2

07 Jan 08:39
6974218
Compare
Choose a tag to compare

What's Changed

  • Fixed various clippy warnings and setup automated clippy and rustfmt checks
  • Support overriding secret in clash's config
  • Add one-liner installation script by @spencerwooo in #13
  • Bug fix: Create config parent if not exists by @spencerwooo in #15

Full Changelog: v0.2.1...v0.2.2

v0.2.1

05 Jan 09:09
Compare
Choose a tag to compare

What's Changed

  • Allow skipping clash binary setup by @spencerwooo in #11
  • Empty-field checks for ~/.config/clashrup.toml
  • Additional builds for aarch64 Linux targets (ARM)

Full Changelog: v0.2.0...v0.2.1

v0.2.0

04 Jan 09:15
8e508ef
Compare
Choose a tag to compare

What's Changed

  • Better ergonomics for reading clashrup config by @spencerwooo in #3
  • Add support for Country.mmdb and partial clash configs by @spencerwooo in #7
  • Support clash config.yaml override by @spencerwooo in #8
  • Support for additional proxy export commands, such as for when allow_lan is enabled

Full Changelog: v0.1.3...v0.2.0