diff --git a/CHANGELOG b/CHANGELOG index 196a283..1259b01 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,10 @@ +Changes in v0.5.0: + * [Feature] Gracefully reboot + * [Feature] Support of recording of service logs + * [Feature] Support of separated configuration files + * [BREAKING] New `retry` manifest format + * [Developer] Upload `airup_sdk` to `crates.io` + Changes in v0.4.0: * [Feature] Command-line: `airup start --cache` and `airup stop --uncache` * [Feature] `airup self-reload` CLI utility diff --git a/README.md b/README.md index 28a7f23..dd50e53 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ Airup is a modern, portable and fast implementation of daemon supervisors and th ## Project Status Maintained Versions: - - Current Mainline Version: `0.5.0-alpha.1` - - Current Release Version: `0.4.0` + - Current Mainline Version: `0.5.0` + - Current Release Version: `0.5.0` ⚠️ **WARNING**: The project is currently in **unstable** stage and should **NOT** be used in production environments. It may contain errors, bugs or quality issues. Welcome to open an issue to report bugs. diff --git a/airup-sdk/Cargo.toml b/airup-sdk/Cargo.toml index 78550f7..1e96838 100644 --- a/airup-sdk/Cargo.toml +++ b/airup-sdk/Cargo.toml @@ -4,7 +4,7 @@ authors = ["sisungo "] description = "SDK library of Airup" documentation = "https://docs.rs/airup-sdk" repository = "https://github.com/sisungo/airup" -version = "0.5.0-alpha.1" +version = "0.5.0" edition = "2021" license = "MIT" diff --git a/airup-sdk/src/files/service.rs b/airup-sdk/src/files/service.rs index d044689..63723d5 100644 --- a/airup-sdk/src/files/service.rs +++ b/airup-sdk/src/files/service.rs @@ -26,9 +26,6 @@ pub struct Service { #[serde(default)] pub env: Env, - #[serde(default)] - pub helper: Vec, - #[serde(default)] pub retry: Retry, } @@ -269,10 +266,3 @@ pub struct Retry { #[serde(default)] pub delay: u64, } - -/// Represents to `[[helper]]` section in a service TOML file. -#[derive(Debug, Clone, Default, Serialize, Deserialize)] -#[serde(rename_all = "kebab-case")] -pub struct Helper { - pub name: String, -} diff --git a/airup/Cargo.toml b/airup/Cargo.toml index def407b..67c4acd 100644 --- a/airup/Cargo.toml +++ b/airup/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "airup" authors = ["sisungo "] -version = "0.5.0-alpha.1" +version = "0.5.0" edition = "2021" license = "MIT" publish = false diff --git a/airupd/Cargo.toml b/airupd/Cargo.toml index e94ab88..3f04072 100644 --- a/airupd/Cargo.toml +++ b/airupd/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "airupd" authors = ["sisungo "] -version = "0.5.0-alpha.1" +version = "0.5.0" edition = "2021" license = "MIT" publish = false diff --git a/airupd/src/app.rs b/airupd/src/app.rs index b75371a..6387177 100644 --- a/airupd/src/app.rs +++ b/airupd/src/app.rs @@ -70,7 +70,10 @@ impl Airupd { ignore_all([ SIGHUP, SIGPIPE, SIGTTIN, SIGTTOU, SIGQUIT, SIGTERM, SIGUSR1, SIGUSR2, ]); - signal(SIGINT, |_| async { self.lifetime.reboot() }).ok(); + signal(SIGINT, |_| async { + self.enter_milestone("ctrlaltdel".into()).await.ok(); + }) + .ok(); } } diff --git a/airupfx/Cargo.toml b/airupfx/Cargo.toml index 5e4bf73..2d32fb9 100644 --- a/airupfx/Cargo.toml +++ b/airupfx/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "airupfx" authors = ["sisungo "] -version = "0.5.0-alpha.1" +version = "0.5.0" edition = "2021" license = "MIT" publish = false