diff --git a/CHANGELOG.md b/CHANGELOG.md index f7ea5a0..8fba1c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# Version 0.3.0 (2024-03-08) + +This release contains several bugfixes and improvements: + +- `axoupdater` now compares the path to which the running program was installed to the path it locates in the install receipt, and declines to upgrade if they're not equivalent. This fixes an issue where a user who had installed a copy with an installer which produced an install receipt and a second copy from a package manager would be prompted to upgrade even on the package manager-provided version. +- The `run()` and `run_sync()` methods now provide information on the upgrade that they performed. If the upgrade was performed, it returns the old and new versions and the tag that the new version was built from. +- It's now possible to silence stdout and stderr from the underlying installer when using `axoupdater` as a library. + # Version 0.2.0 (2024-03-06) This release makes a breaking change to the library API. `run()` and `is_update_needed()` are now both async methods; new `run_sync()` and `is_update_needed_sync()` methods have been added which replicate the old behaviour. This should make it easier to incorporate the axoupdater library into asynchronous applications, especially applications which already use tokio. diff --git a/Cargo.lock b/Cargo.lock index 7687d15..8ef5b18 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -116,7 +116,7 @@ dependencies = [ [[package]] name = "axoupdater" -version = "0.2.0" +version = "0.3.0" dependencies = [ "axoasset 0.8.0", "axoprocess", @@ -133,7 +133,7 @@ dependencies = [ [[package]] name = "axoupdater-cli" -version = "0.2.0" +version = "0.3.0" dependencies = [ "axocli", "axoupdater", diff --git a/Cargo.toml b/Cargo.toml index 1871a29..c89762a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["axoupdater", "axoupdater-cli"] resolver = "2" [workspace.package] -version = "0.2.0" +version = "0.3.0" edition = "2021" license = "MIT OR Apache-2.0" homepage = "https://github.com/axodotdev/axoupdater" diff --git a/axoupdater-cli/Cargo.toml b/axoupdater-cli/Cargo.toml index 1e442be..5debf7d 100644 --- a/axoupdater-cli/Cargo.toml +++ b/axoupdater-cli/Cargo.toml @@ -12,7 +12,7 @@ readme = "../README.md" [dependencies] axocli = "0.2.0" -axoupdater = { version = "=0.2.0", path = "../axoupdater", features = ["blocking"] } +axoupdater = { version = "=0.3.0", path = "../axoupdater", features = ["blocking"] } # errors miette = "7.1.0"