Releases: mark3labs/flyt
Releases · mark3labs/flyt
Release v0.10.2
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
Full Changelog: v0.10.0...v0.10.1
Release v0.10.0
Full Changelog: v0.9.0...v0.10.0
Release v0.9.0
Full Changelog: v0.8.0...v0.9.0
Release v0.8.0
Full Changelog: v0.7.0...v0.8.0
Release v0.7.0
Release v0.6.0
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
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
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
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