From a047a34b5474e5f7f42af977dfa4035f9430a3aa Mon Sep 17 00:00:00 2001 From: Xiaolong Fu <522023330025@smail.nju.edu.cn> Date: Wed, 31 Dec 2025 10:52:11 +0800 Subject: [PATCH] v0.5.2 --- Cargo.toml | 2 +- README.md | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 88a828c..2f52720 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ authors = [ "Xiaolong Fu ", "Zhilei Qiu ", ] -version = "0.5.1" +version = "0.5.2" edition = "2021" license = "MIT OR Apache-2.0" description = "Dagrs follows the concept of Flow-based Programming and is suitable for the execution of multiple tasks with graph-like dependencies. Dagrs has the characteristics of high performance and asynchronous execution. It provides users with a convenient programming interface." diff --git a/README.md b/README.md index eb2871c..9ae8595 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,18 @@ Each stage is defined as a task with its dependencies and execution command. The For more detailed info about this example, please see the [notebook.ipynb](examples/dagrs-sklearn/examples/notebook.ipynb) jupyter notebook file. +## Changelog + +### v0.5.2 + +#### 🚀 New Features + +- **Async Execution Interface**: Added `run_async()` method to `Graph`, providing an async API that allows using dagrs within existing Tokio runtime environments. `start()` method now serves as a synchronous wrapper around the async API, maintaining backward compatibility while providing better async support + +#### 💡 Usage Recommendations + +- In environments with an existing Tokio runtime (e.g., async main functions, web services), use `run_async().await` instead of `start()` +- In simple standalone applications or testing scenarios, you can continue using the `start()` method ## Contribution