Skip to content

Releases: mark3labs/flyt

Release v0.10.2

30 Sep 13:16

Choose a tag to compare

Fix Result double-wrapping bug in CustomNode.Exec

When using NewNode with WithExecFunc and WithPostFunc, Result.Bind() was
failing silently because execResult was being double-wrapped. The user's
execFunc returns a Result, but CustomNode.Exec was returning that Result
directly (as any), then CustomNode.Post was wrapping it again with
NewResult(), causing Result{value: Result{value: actualData}}.

This fix unwraps the Result in CustomNode.Exec before returning (similar
to how Prep already unwraps). Error Results are preserved to maintain
batch processing behavior.

- Modified CustomNode.Exec to unwrap Result.Value() before returning
- Special handling for error Results to preserve batch error tracking
- Added tests to verify Result.Bind() works in ExecFunc and PostFunc
- Updated builder tests to reflect new behavior

Release v0.10.1

25 Sep 14:32

Choose a tag to compare

Release v0.10.0

25 Sep 14:18

Choose a tag to compare

Release v0.9.0

25 Sep 12:02

Choose a tag to compare

Release v0.8.0

23 Sep 18:51

Choose a tag to compare

Release v0.7.0

19 Sep 19:13
1816c26

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.7.0

Release v0.6.0

19 Sep 15:11

Choose a tag to compare

Major Features:

  • Type-safe getters for common types (String, Int, Float64, Bool, Slice, Map)
  • Custom default values with GetXxxOr methods
  • Bind/MustBind for complex type binding (similar to Echo framework)
  • Utility methods for store management (Has, Delete, Clear, Keys, Len)
  • Automatic numeric type conversions

Improvements:

  • Zero-panic access patterns
  • Cleaner, more readable code
  • Full backward compatibility
  • Comprehensive test coverage
  • Updated documentation and examples

This release makes working with SharedStore significantly safer and more ergonomic.

Full Changelog: v0.5.0...v0.6.0

Release v0.5.0

06 Aug 04:02

Choose a tag to compare

What's New in v0.5.0

✨ New Features

  • WithExecFallbackFunc: Added support for custom fallback handling when Exec fails after all retries are exhausted. This allows for graceful error handling and default value returns.
  • SST Integration Example: Added a complete example showing how to integrate Flyt with SST (Serverless Stack) applications.
  • LLM Streaming Example: New cookbook example demonstrating streaming responses from LLM integrations.
  • Langfuse Tracing Example: Added comprehensive tracing example using Langfuse for observability.

📚 Documentation

  • Significantly updated and improved documentation
  • Fixed table of contents navigation
  • Enhanced README with better examples and clearer explanations
  • Added documentation for all new cookbook examples

🔧 Improvements

  • Refactored cookbook examples for better clarity and organization
  • Updated tracing implementation for better performance
  • Improved agent example with enhanced flow control

🌐 Website

  • Set up GitHub Pages deployment for documentation site
  • Fixed base URL and path configuration issues
  • Added custom domain support

Full Changelog: v0.4.1...v0.5.0

Release v0.4.1

02 Aug 07:42

Choose a tag to compare

What's New in v0.4.1

✨ New Features

  • MCP (Model Context Protocol) Example: Added comprehensive example showing integration with OpenAI function calling
  • Chat Example: New cookbook example demonstrating chat functionality
  • Summarize Example: Added text summarization example

📚 Documentation

  • Updated godoc documentation for better clarity
  • Enhanced README with improved examples

🔧 Improvements

  • Code refactoring for better maintainability
  • General cleanup and optimization

Full Changelog: v0.4.0...v0.4.1

Release v0.4.0

31 Jul 16:33

Choose a tag to compare

What's New in v0.4.0

🐛 Bug Fixes

  • BatchFlow Sequential Execution: Fixed critical issue with sequential execution in BatchFlow to ensure proper ordering and execution flow

🔧 Improvements

  • Improved clarity in batch processing implementation
  • Enhanced batch flow tests for better coverage
  • Updated agent cookbook example with improved prompts

Full Changelog: v0.3.0...v0.4.0