@pumped-fn/core-next 0.5.80 → 0.5.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +53 -0
- package/dist/index.cjs +397 -133
- package/dist/index.d.cts +166 -46
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +166 -46
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +397 -131
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,58 @@
|
|
|
1
1
|
# @pumped-fn/core-next
|
|
2
2
|
|
|
3
|
+
## 0.5.82
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 40be7e4: Fix unhandled promise rejections in Promised wrapper
|
|
8
|
+
- 596bf02: Add flow execution tracking and extension authoring improvements
|
|
9
|
+
|
|
10
|
+
**Flow Execution Tracking:**
|
|
11
|
+
|
|
12
|
+
- FlowExecution return type with id, status, abort, ctx access
|
|
13
|
+
- Cancellation via AbortController with ctx.signal and ctx.throwIfAborted()
|
|
14
|
+
- Timeout support at scope.exec() and ctx.exec() levels
|
|
15
|
+
- Status tracking with observable status changes
|
|
16
|
+
- Execution registry with auto-cleanup
|
|
17
|
+
|
|
18
|
+
**Extension Authoring:**
|
|
19
|
+
|
|
20
|
+
- Extension authoring documentation and examples
|
|
21
|
+
- Scope capabilities and lifecycle documentation
|
|
22
|
+
- Real-world patterns for extensions
|
|
23
|
+
|
|
24
|
+
**API Changes:**
|
|
25
|
+
|
|
26
|
+
- scope.exec() now uses named parameters: `scope.exec({ flow, input, ...options })`
|
|
27
|
+
- scope.exec() returns FlowExecution<T> (thenable, backward compatible)
|
|
28
|
+
|
|
29
|
+
**Migration:**
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
// Before
|
|
33
|
+
await scope.exec(myFlow, input);
|
|
34
|
+
await scope.exec(myFlow, input, { tags: [tag1] });
|
|
35
|
+
|
|
36
|
+
// After
|
|
37
|
+
await scope.exec({ flow: myFlow, input });
|
|
38
|
+
await scope.exec({ flow: myFlow, input, tags: [tag1] });
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## 0.5.81
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- a1bdb17: Release v0.5.80 - Complete tag API migration and documentation fixes
|
|
46
|
+
|
|
47
|
+
This release completes the meta-to-tag API migration and fixes all documentation references. All tests pass and documentation builds successfully.
|
|
48
|
+
|
|
49
|
+
Key changes:
|
|
50
|
+
|
|
51
|
+
- Complete tag API naming consistency (readFrom, extractFrom, collectFrom, injectTo)
|
|
52
|
+
- Fixed all documentation examples to use new tag API
|
|
53
|
+
- Performance optimizations remain stable
|
|
54
|
+
- All 256 tests passing
|
|
55
|
+
|
|
3
56
|
## 0.5.80
|
|
4
57
|
|
|
5
58
|
### Patch Changes
|