From 1999bb4e49e6e6636f4a5fe13305c108ee21ea72 Mon Sep 17 00:00:00 2001 From: echozyr2001 Date: Thu, 26 Jun 2025 12:04:16 +0800 Subject: [PATCH] hotfix: prepare v0.5.1 hotfix --- CHANGELOG.md | 10 ++++++++++ Cargo.lock | 2 +- README.md | 2 +- cosmoflow/Cargo.toml | 2 +- cosmoflow/README.md | 2 +- docs/features.md | 18 +++++++++--------- docs/getting-started.md | 2 +- 7 files changed, 24 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c6bcc5..ce70d72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.5.1] - 2025-06-26 + +### Added +- New `async_flow!` macro for creating async workflows with cleaner syntax +- Comprehensive test coverage for `async_flow!` macro functionality + +### Fixed +- Fixed compiler warnings when using `flow!` macro in sync-only configurations +- Resolved conditional compilation issues with flow macros in different feature combinations + ## [0.5.0] - 2025-06-24 ### Added diff --git a/Cargo.lock b/Cargo.lock index 0d40170..ca6f2f5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -169,7 +169,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "cosmoflow" -version = "0.5.0" +version = "0.5.1" dependencies = [ "async-trait", "redis", diff --git a/README.md b/README.md index ba464d5..29a38d2 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Add to your `Cargo.toml`: ```toml [dependencies] -cosmoflow = { version = "0.5.0", features = ["storage-memory"] } +cosmoflow = { version = "0.5.1", features = ["storage-memory"] } ``` Create your first workflow: diff --git a/cosmoflow/Cargo.toml b/cosmoflow/Cargo.toml index 41552c3..698bdeb 100644 --- a/cosmoflow/Cargo.toml +++ b/cosmoflow/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cosmoflow" -version = "0.5.0" +version = "0.5.1" edition = "2024" authors = ["echozyr2001 "] description = "CosmoFlow - A type-safe workflow engine for Rust, inspired by PocketFlow and optimized for LLM applications" diff --git a/cosmoflow/README.md b/cosmoflow/README.md index ba464d5..29a38d2 100644 --- a/cosmoflow/README.md +++ b/cosmoflow/README.md @@ -49,7 +49,7 @@ Add to your `Cargo.toml`: ```toml [dependencies] -cosmoflow = { version = "0.5.0", features = ["storage-memory"] } +cosmoflow = { version = "0.5.1", features = ["storage-memory"] } ``` Create your first workflow: diff --git a/docs/features.md b/docs/features.md index 93a2090..14b0771 100644 --- a/docs/features.md +++ b/docs/features.md @@ -7,7 +7,7 @@ This guide covers CosmoFlow's feature system and configuration options. ### Minimal Configuration ```toml [dependencies] -cosmoflow = { version = "0.5.0", default-features = false, features = ["minimal"] } +cosmoflow = { version = "0.5.1", default-features = false, features = ["minimal"] } ``` - **Features**: Core engine only - **Storage**: No storage backends enabled @@ -17,9 +17,9 @@ cosmoflow = { version = "0.5.0", default-features = false, features = ["minimal" ### Basic Configuration (Default) ```toml [dependencies] -cosmoflow = { version = "0.5.0", features = ["basic"] } +cosmoflow = { version = "0.5.1", features = ["basic"] } # or simply -cosmoflow = "0.5.0" +cosmoflow = "0.5.1" ``` - **Features**: Memory storage only - **Storage**: In-memory storage backend @@ -29,7 +29,7 @@ cosmoflow = "0.5.0" ### Standard Configuration (Recommended) ```toml [dependencies] -cosmoflow = { version = "0.5.0", features = ["standard"] } +cosmoflow = { version = "0.5.1", features = ["standard"] } ``` - **Features**: Memory storage + async support - **Storage**: In-memory storage backend @@ -39,7 +39,7 @@ cosmoflow = { version = "0.5.0", features = ["standard"] } ### Full Configuration ```toml [dependencies] -cosmoflow = { version = "0.5.0", features = ["full"] } +cosmoflow = { version = "0.5.1", features = ["full"] } ``` - **Features**: All storage backends + async support - **Storage**: Memory, file, and Redis storage @@ -63,16 +63,16 @@ You can mix and match features for your specific needs: ```toml # Memory storage + async -cosmoflow = { version = "0.5.0", default-features = false, features = ["storage-memory", "async"] } +cosmoflow = { version = "0.5.1", default-features = false, features = ["storage-memory", "async"] } # File storage only -cosmoflow = { version = "0.5.0", default-features = false, features = ["storage-file"] } +cosmoflow = { version = "0.5.1", default-features = false, features = ["storage-file"] } # All storage backends with async -cosmoflow = { version = "0.5.0", default-features = false, features = ["storage-full", "async"] } +cosmoflow = { version = "0.5.1", default-features = false, features = ["storage-full", "async"] } # Redis storage with async -cosmoflow = { version = "0.5.0", default-features = false, features = ["storage-redis", "async"] } +cosmoflow = { version = "0.5.1", default-features = false, features = ["storage-redis", "async"] } ``` ## 📊 Feature Comparison diff --git a/docs/getting-started.md b/docs/getting-started.md index 63f371a..a17f54e 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -8,7 +8,7 @@ Add CosmoFlow to your `Cargo.toml`: ```toml [dependencies] -cosmoflow = { version = "0.5.0", features = ["standard"] } +cosmoflow = { version = "0.5.1", features = ["standard"] } tokio = { version = "1.0", features = ["full"] } ```