Skip to content

Commit

Permalink
[Release] Airup v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sisungo committed Dec 16, 2023
1 parent 6ec11db commit e5ed638
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion airup-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authors = ["sisungo <[email protected]>"]
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"

Expand Down
10 changes: 0 additions & 10 deletions airup-sdk/src/files/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ pub struct Service {
#[serde(default)]
pub env: Env,

#[serde(default)]
pub helper: Vec<Helper>,

#[serde(default)]
pub retry: Retry,
}
Expand Down Expand Up @@ -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,
}
2 changes: 1 addition & 1 deletion airup/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "airup"
authors = ["sisungo <[email protected]>"]
version = "0.5.0-alpha.1"
version = "0.5.0"
edition = "2021"
license = "MIT"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion airupd/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "airupd"
authors = ["sisungo <[email protected]>"]
version = "0.5.0-alpha.1"
version = "0.5.0"
edition = "2021"
license = "MIT"
publish = false
Expand Down
5 changes: 4 additions & 1 deletion airupd/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down
2 changes: 1 addition & 1 deletion airupfx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "airupfx"
authors = ["sisungo <[email protected]>"]
version = "0.5.0-alpha.1"
version = "0.5.0"
edition = "2021"
license = "MIT"
publish = false
Expand Down

0 comments on commit e5ed638

Please sign in to comment.