@critical-path/svelte 0.9.5 → 0.10.0
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 +24 -0
- package/package.json +3 -3
- package/src/index.test.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @critical-path/svelte
|
|
2
2
|
|
|
3
|
+
## 0.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 21eb85c: Implement Universal Semantic Statuses & System-Derived Implied Statuses (3-Tier Status Architecture)
|
|
8
|
+
|
|
9
|
+
- **Tier 1 (Universal Semantic Statuses)**: Defined canonical status enum `SemanticStatus = 'not_started' | 'in_progress' | 'completed' | 'canceled'` providing universal semantic meaning across any industry domain.
|
|
10
|
+
- **Tier 2 (Workflow-Defined Statuses)**: Updated `StatusDefinition` to map domain-specific statuses to a semantic `category`. Updated built-in workflows (Software, Creative, VFX, Simple) to classify statuses by category.
|
|
11
|
+
- **Tier 3 (System-Derived Implied Statuses)**: Added `deriveTaskLifecycleState` and `engine.getTaskLifecycleState(taskId)` returning dynamic indicators:
|
|
12
|
+
- Dependency: `isReady`, `isBlocked`, `blockingTaskIds`
|
|
13
|
+
- Schedule: `isOverdue`, `isUpcoming`, `isUnplanned`
|
|
14
|
+
- Ownership: `isUnassigned`, `isStalled`
|
|
15
|
+
- Estimate/Pace: `isOverEstimate`, `isPaceWarning`
|
|
16
|
+
- Convenience flags: `isDone`, `isActive`, `isCancelled`
|
|
17
|
+
- **Domain Entities & Engine**: Added automatic timestamp progression (`actualStartDate`, `actualEndDate`), progress completion, and event emission driven by semantic status categories.
|
|
18
|
+
- **React UI Hooks**: Updated `useKanban` to support dynamic custom workflow columns without dropping tasks, plus added `groupBy: 'semantic' | 'workflow'` option.
|
|
19
|
+
- **Client SDK**: Added `client.getTaskLifecycleState(taskId)`.
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [21eb85c]
|
|
24
|
+
- @critical-path/core@0.15.0
|
|
25
|
+
- @critical-path/client@0.9.0
|
|
26
|
+
|
|
3
27
|
## 0.9.5
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@critical-path/svelte",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Svelte 5 Runes state and reactive integrations for Critical Path headless project management framework",
|
|
5
5
|
"author": "Jack James",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@critical-path/client": "0.
|
|
22
|
-
"@critical-path/core": "0.
|
|
21
|
+
"@critical-path/client": "0.9.0",
|
|
22
|
+
"@critical-path/core": "0.15.0"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"svelte": "^5.0.0"
|
package/src/index.test.ts
CHANGED
|
@@ -45,7 +45,7 @@ describe('@critical-path/svelte Svelte 5 Runes Test Suite', () => {
|
|
|
45
45
|
name: 'Svelte Workflow',
|
|
46
46
|
isDefault: true,
|
|
47
47
|
defaultStatusKey: 'todo',
|
|
48
|
-
statuses: [{ key: 'todo', label: 'To Do',
|
|
48
|
+
statuses: [{ key: 'todo', label: 'To Do', category: 'not_started' }],
|
|
49
49
|
transitions: [],
|
|
50
50
|
createdAt: '2026-01-01',
|
|
51
51
|
updatedAt: '2026-01-01'
|