Skip to content

Commit

Permalink
[Release] Airup v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sisungo committed Mar 3, 2024
1 parent f6f3d87 commit ce2d38f
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Changes in v0.9.0-alpha.1:
* \[Feature\] Refactored event system. Now it allows you to send and receive payload on events.
* \[Feature\] A new (optional) daemon is introduced, called `airup-eventsourced`. It is an Airup client built on the event system that automatically collects system or user-defined events and send them to the Airup event bus.
* \[Feature\] `airup-eventsourced` now supports user-defined scheduled tasks (a.k.a, "timers") as an event source.
* \[Fix\] "Welcome to ...!" is incorrectly displayed. It should only be printed when we are `pid == 1`.
* \[Fix\] Line Pipers are never closed
* \[Developer\] C SDK: Add `airup_server_version` API.

Changes in v0.8.1:
* \[Feature\] Custom build manifest overriding
* \[Feature\] Service Event Handlers
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ supervisor or the `init` daemon (`pid == 1`).

## Project Status
Maintained Versions:
- Current Mainline Version: `0.9.0-alpha.1`
- Current Release Version: `0.8.1`
- Current Mainline Version: `0.9.0`
- Current Release Version: `0.9.0`

⚠️ **WARNING**: The project is not widely tested yet 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-eventsourced/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "airup-eventsourced"
authors = ["sisungo <sisungo@icloud.com>"]
version = "0.9.0-alpha.1"
version = "0.9.0"
edition = "2021"
license = "MIT"
publish = false
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 <sisungo@icloud.com>"]
description = "SDK library of Airup"
documentation = "https://docs.rs/airup-sdk"
repository = "https://github.com/sisungo/airup"
version = "0.9.0-alpha.1"
version = "0.9.0"
edition = "2021"
license = "MIT"

Expand Down
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 <sisungo@icloud.com>"]
version = "0.9.0-alpha.1"
version = "0.9.0"
edition = "2021"
license = "MIT"
publish = false
Expand Down
7 changes: 6 additions & 1 deletion airup/src/edit.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use airup_sdk::{
blocking::{files, fs::DirChain},
files::Service,
files::{timer::Timer, Service},
};
use anyhow::anyhow;
use clap::Parser;
Expand All @@ -27,6 +27,11 @@ pub fn main(cmdline: Cmdline) -> anyhow::Result<()> {
files::read_merge::<Service>(vec![service, s.into()])?;
Ok(())
})
} else if cmdline.file.strip_suffix(".airt").is_some() {
do_edit(&editor, &find_or_create_service(&cmdline.file)?, |s| {
files::read_merge::<Timer>(vec![s.into()])?;
Ok(())
})
} else {
let (n, name) = cmdline.file.split('.').enumerate().last().unwrap();
if n > 0 {
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 <sisungo@icloud.com>"]
version = "0.9.0-alpha.1"
version = "0.9.0"
edition = "2021"
license = "MIT"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion airupfx/airupfx-io/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "airupfx-io"
authors = ["sisungo <sisungo@icloud.com>"]
version = "0.8.1"
version = "0.8.2"
edition = "2021"
license = "MIT"
publish = false
Expand Down

0 comments on commit ce2d38f

Please sign in to comment.