|
1 | 1 | # flowcraft |
2 | 2 |
|
| 3 | +## 2.10.0 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +- Implement queue-native retries and idempotency guards, delegating retries from process nodes to distributed workers where they can be implemented. |
| 8 | + |
3 | 9 | ## 2.9.3 |
4 | 10 |
|
5 | 11 | ### Patch Changes |
|
25 | 31 | - This release introduces convenience methods to simplify workflow execution and improves reliability of sleep/resume functionality. |
26 | 32 | Key improvements: |
27 | 33 |
|
28 | | - Features: |
| 34 | + Features: |
| 35 | + - Added FlowBuilder.run() and FlowBuilder.resume() methods that automatically handle function registry passing, reducing boilerplate code |
| 36 | + - Enhanced WorkflowScheduler to properly store and restore function registries during auto-resume operations |
29 | 37 |
|
30 | | - - Added FlowBuilder.run() and FlowBuilder.resume() methods that automatically handle function registry passing, reducing boilerplate code |
31 | | - - Enhanced WorkflowScheduler to properly store and restore function registries during auto-resume operations |
| 38 | + Fixes: |
| 39 | + - Fixed SleepNode to correctly preserve output passthrough when transitioning between sleep and resume states |
| 40 | + - Removed unused createForSubflow method from FlowRuntime that was causing confusion |
32 | 41 |
|
33 | | - Fixes: |
34 | | - |
35 | | - - Fixed SleepNode to correctly preserve output passthrough when transitioning between sleep and resume states |
36 | | - - Removed unused createForSubflow method from FlowRuntime that was causing confusion |
37 | | - |
38 | | - Docs: |
39 | | - |
40 | | - - Documented FlowBuilder.run/resume and WorkflowScheduler APIs |
| 42 | + Docs: |
| 43 | + - Documented FlowBuilder.run/resume and WorkflowScheduler APIs |
41 | 44 |
|
42 | 45 | ## 2.8.1 |
43 | 46 |
|
|
71 | 74 | ### Patch Changes |
72 | 75 |
|
73 | 76 | - Fix FlowRuntime constructor registry handling for DI containers |
74 | | - |
75 | | - - The container-based FlowRuntime configuration was failing because the node registry from createDefaultContainer was an object, but FlowRuntime expected a Map. |
| 77 | + - The container-based FlowRuntime configuration was failing because the node registry from createDefaultContainer was an object, but FlowRuntime expected a Map. |
76 | 78 |
|
77 | 79 | - Resolve distributed execution bug by properly instantiating WorkflowState |
78 | | - - Modified WorkflowState constructor to accept optional IAsyncContext for distributed contexts |
79 | | - - Updated BaseDistributedAdapter to create WorkflowState |
80 | | - - Handled TrackedAsyncContext deltas for proper persistence in distributed execution |
| 80 | + - Modified WorkflowState constructor to accept optional IAsyncContext for distributed contexts |
| 81 | + - Updated BaseDistributedAdapter to create WorkflowState |
| 82 | + - Handled TrackedAsyncContext deltas for proper persistence in distributed execution |
81 | 83 |
|
82 | 84 | ## 2.7.0 |
83 | 85 |
|
84 | 86 | ### Minor Changes |
85 | 87 |
|
86 | 88 | - Add time-travel debugging with persistent event storage and workflow replay. |
87 | | - - Add `PersistentEventBusAdapter` and `IEventStore` interface for event persistence |
88 | | - - Add `FlowRuntime.replay()` method for reconstructing workflow state from events |
89 | | - - Add new event types: `job:enqueued`, `job:processed`, `job:failed` |
90 | | - - Update context change events to include operation type |
| 89 | + - Add `PersistentEventBusAdapter` and `IEventStore` interface for event persistence |
| 90 | + - Add `FlowRuntime.replay()` method for reconstructing workflow state from events |
| 91 | + - Add new event types: `job:enqueued`, `job:processed`, `job:failed` |
| 92 | + - Update context change events to include operation type |
91 | 93 |
|
92 | 94 | ## 2.6.1 |
93 | 95 |
|
94 | 96 | ### Patch Changes |
95 | 97 |
|
96 | 98 | - feff500: **Test Suite Enhancements:** |
97 | | - |
98 | | - - Comprehensive test coverage improvements across runtime, evaluators, and flow components |
99 | | - - Added fuzz testing and security boundary validation |
100 | | - - Enhanced performance and resource testing capabilities |
101 | | - - Cross-environment compatibility testing |
102 | | - - End-to-end integration test scenarios |
103 | | - |
104 | | - **Runtime Fixes:** |
105 | | - |
106 | | - - Enhanced runtime with configurable scheduler and circular reference handling |
107 | | - - Added null safety checks in runtime components |
108 | | - - Prevented prototype pollution in blueprint sanitizer |
109 | | - - Fixed infinite loop prevention with negative concurrency values |
110 | | - |
111 | | - **Code Quality:** |
112 | | - |
113 | | - - Improved test coverage thresholds and enforcement |
114 | | - - Better error handling and validation throughout the codebase |
| 99 | + - Comprehensive test coverage improvements across runtime, evaluators, and flow components |
| 100 | + - Added fuzz testing and security boundary validation |
| 101 | + - Enhanced performance and resource testing capabilities |
| 102 | + - Cross-environment compatibility testing |
| 103 | + - End-to-end integration test scenarios |
| 104 | + |
| 105 | + **Runtime Fixes:** |
| 106 | + - Enhanced runtime with configurable scheduler and circular reference handling |
| 107 | + - Added null safety checks in runtime components |
| 108 | + - Prevented prototype pollution in blueprint sanitizer |
| 109 | + - Fixed infinite loop prevention with negative concurrency values |
| 110 | + |
| 111 | + **Code Quality:** |
| 112 | + - Improved test coverage thresholds and enforcement |
| 113 | + - Better error handling and validation throughout the codebase |
115 | 114 |
|
116 | 115 | ## 2.6.0 |
117 | 116 |
|
118 | 117 | ### Minor Changes |
119 | 118 |
|
120 | 119 | - **New Features** |
| 120 | + - Added workflow versioning to support distributed systems, enabling better tracking and management of workflow evolution |
| 121 | + - Implemented a heartbeat mechanism for long-running distributed jobs to ensure reliability and monitoring |
| 122 | + - Added `generateMermaidForRun` function for visualizing execution paths in analysis workflows |
121 | 123 |
|
122 | | - - Added workflow versioning to support distributed systems, enabling better tracking and management of workflow evolution |
123 | | - - Implemented a heartbeat mechanism for long-running distributed jobs to ensure reliability and monitoring |
124 | | - - Added `generateMermaidForRun` function for visualizing execution paths in analysis workflows |
125 | | - |
126 | | - **Improvements** |
127 | | - |
128 | | - - Upgraded Vitest coverage configuration for better test reporting |
129 | | - - Refactored code by moving components into the core package for better organization |
| 124 | + **Improvements** |
| 125 | + - Upgraded Vitest coverage configuration for better test reporting |
| 126 | + - Refactored code by moving components into the core package for better organization |
0 commit comments