All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
This is a maintenance release that updates our dependencies.
- Rename git default branch
master
->main
clap
3.2.22 -> 4.1.1console
0.15.1 -> 0.15.4serde_json
1.0.85 -> 1.0.91ureq
2.5.0 -> 2.6.1serial_test
0.9.0 -> 0.10.0predicates
2.1.1 -> 2.1.5assert_cmd
2.0.4 -> 2.0.8
ansi_term
is unmaintained, so we switched to the console
crate to color text for the terminal.
serde_json
1.0.81 -> 1.0.85ureq
2.4.0 -> 2.5.0clap
3.1.18 -> 3.2.22
CVE-2022-24713 - Updated regex
crate to 1.5.6 (#4)
- Update Rust edition to 2021
- Migration to
clap
as CLI argument parser instead ofstructopt
serde_json
1.0.59 -> 1.0.81serial_test
0.5.0 -> 0.7.0url
2.1.1 -> 2.2.2assert_cmd
1.0.1 -> 2.0.4predicates
1.0.5 -> 2.1.1ureq
1.5.1 -> 2.4.0
This release improves pihole-switch
by polishing existing features.
- Automatic installation script from latest github release
- Pihole api token must be specified using a global option
phs --token <token> <SUBCOMMAND>
instead of argument in enable/disable commands - Improved CLI command handling (#3)
- Restructured project folders
Initial release of pihole-switch
.
- Enable pihole
- Disable pihole
- Disable pihole for custom time (in seconds)
- Specify pihole host (as an IpV4) when it's not the dns server of the device