Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion cosmoflow/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cosmoflow"
version = "0.5.0"
version = "0.5.1"
edition = "2024"
authors = ["echozyr2001 <echo.zyr.2001@gmail.com>"]
description = "CosmoFlow - A type-safe workflow engine for Rust, inspired by PocketFlow and optimized for LLM applications"
Expand Down
2 changes: 1 addition & 1 deletion cosmoflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
18 changes: 9 additions & 9 deletions docs/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
```

Expand Down