@critical-path/svelte 0.18.0 → 0.18.1

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 DELETED
@@ -1,730 +0,0 @@
1
- # @critical-path/svelte
2
-
3
- ## 0.18.0
4
-
5
- ### Minor Changes
6
-
7
- - dbe7073: Cancel stale requests in UI data hooks.
8
-
9
- - **@critical-path/react:** data hooks abort their in-flight request when inputs change or the component unmounts, and ignore any response that arrives afterwards. Previously, switching from project A to project B could show A's tasks if A's request finished last. The package now ships with a `'use client'` directive, for Next.js App Router.
10
- - **@critical-path/svelte:** state classes abort the previous request when a fetch method is called again, and gain `destroy()` to cancel in-flight requests (call it from `onDestroy`). Duck-typed clients without `with()` keep working; their requests just aren't cancelled.
11
-
12
- ### Patch Changes
13
-
14
- - Updated dependencies [810d8d1]
15
- - @critical-path/core@0.36.0
16
- - @critical-path/client@0.20.5
17
- - @critical-path/mcp@0.11.7
18
-
19
- ## 0.17.11
20
-
21
- ### Patch Changes
22
-
23
- - Updated dependencies [b13f7c4]
24
- - @critical-path/core@0.35.0
25
- - @critical-path/client@0.20.4
26
- - @critical-path/mcp@0.11.6
27
-
28
- ## 0.17.10
29
-
30
- ### Patch Changes
31
-
32
- - Updated dependencies [1cc0d4c]
33
- - @critical-path/core@0.34.0
34
- - @critical-path/client@0.20.3
35
- - @critical-path/mcp@0.11.5
36
-
37
- ## 0.17.9
38
-
39
- ### Patch Changes
40
-
41
- - Updated dependencies [aa94129]
42
- - @critical-path/core@0.33.0
43
- - @critical-path/client@0.20.2
44
- - @critical-path/mcp@0.11.4
45
-
46
- ## 0.17.8
47
-
48
- ### Patch Changes
49
-
50
- - Updated dependencies [a3fe03d]
51
- - @critical-path/core@0.32.0
52
- - @critical-path/client@0.20.1
53
- - @critical-path/mcp@0.11.3
54
-
55
- ## 0.17.7
56
-
57
- ### Patch Changes
58
-
59
- - Updated dependencies [40e5958]
60
- - @critical-path/core@0.31.0
61
- - @critical-path/client@0.20.0
62
- - @critical-path/mcp@0.11.2
63
-
64
- ## 0.17.6
65
-
66
- ### Patch Changes
67
-
68
- - Updated dependencies [b453472]
69
- - @critical-path/client@0.19.0
70
- - @critical-path/mcp@0.11.1
71
-
72
- ## 0.17.5
73
-
74
- ### Patch Changes
75
-
76
- - cdb300a: Task filtering and pagination.
77
-
78
- **@critical-path/core**
79
- - New `engine.queryTasks(query)` and `engine.queryActivities(query)` return `Page<T>` (`{ items, nextCursor }`).
80
- - Tasks are ordered oldest first, activities newest first, using keyset cursors on `createdAt` then `id`.
81
- - Task filters: `status[]`, `priority[]`, `assigneeId` (also matches `assignees`), `iterationId`, `deliverableId`, `containerId`, `parentId` (`null` means top-level), `projectIds`.
82
- - Results are limited to projects the actor can read.
83
- - **BREAKING (storage adapters):** `queryTasks` and `queryActivities` are required. `SQLiteStore` filters and pages in SQL and adds indexes for tasks, activities, comments and dependencies. Helpers (`paginate`, `matchesTaskQuery`, cursors, `DEFAULT_PAGE_SIZE` / `MAX_PAGE_SIZE`) are exported for custom adapters.
84
-
85
- **@critical-path/server**
86
- - **BREAKING:** `GET /tasks` and `GET /activities` are paginated (default 100, max 500) and return `nextCursor`. `GET /tasks` accepts the filters above as query parameters. Unknown parameters return `400`.
87
-
88
- **@critical-path/client**
89
- - `getTasks` and `getActivities` follow pagination and still return everything. New `queryTasks` and `queryActivities` return single pages.
90
-
91
- **@critical-path/mcp**
92
- - **BREAKING:** `list_tasks` returns `{ tasks, nextCursor }` and accepts `iterationId`, `limit` and `cursor`. It now filters in the store instead of loading every task.
93
- - Updated dependencies [cdb300a]
94
- - @critical-path/core@0.30.0
95
- - @critical-path/client@0.18.0
96
- - @critical-path/mcp@0.11.0
97
-
98
- ## 0.17.4
99
-
100
- ### Patch Changes
101
-
102
- - Updated dependencies [a019d37]
103
- - @critical-path/core@0.29.0
104
- - @critical-path/client@0.17.0
105
- - @critical-path/mcp@0.10.4
106
-
107
- ## 0.17.3
108
-
109
- ### Patch Changes
110
-
111
- - Updated dependencies [4fbbc40]
112
- - @critical-path/core@0.28.0
113
- - @critical-path/mcp@0.10.3
114
- - @critical-path/client@0.16.1
115
-
116
- ## 0.17.2
117
-
118
- ### Patch Changes
119
-
120
- - Updated dependencies [1a516bd]
121
- - @critical-path/core@0.27.0
122
- - @critical-path/client@0.16.0
123
- - @critical-path/mcp@0.10.2
124
-
125
- ## 0.17.1
126
-
127
- ### Patch Changes
128
-
129
- - Updated dependencies [719e844]
130
- - @critical-path/core@0.26.0
131
- - @critical-path/client@0.15.1
132
- - @critical-path/mcp@0.10.1
133
-
134
- ## 0.17.0
135
-
136
- ### Minor Changes
137
-
138
- - fd79762: **BREAKING:** strict request bodies, no identity in payloads, and CORS off by default.
139
-
140
- **@critical-path/core**
141
- - Request schemas are strict: unknown keys, server-assigned fields and identity fields are rejected instead of stripped.
142
- - Identity is never read from payloads. `updateTask` no longer reads `actorId`/`actorName`/`actorType`/`actor` from the update object; pass them as the third `options` argument or use `withActor`. `addComment`, `addCommentReaction`, `removeCommentReaction` and `createAttachment` take the actor from `withActor`, falling back to an optional `authorId`/`userId`/`uploaderId`, then `'system'`.
143
- - Schemas export request body types (`CreateTaskBody`, `UpdateTaskBody`, ...).
144
-
145
- **@critical-path/server**
146
- - Bodies containing unknown, server-assigned or identity fields return `400`.
147
- - Every request runs as the `getContext` user, or `ANONYMOUS_ACTOR` (`anonymous`). Authors of comments, reactions, attachments and time entries are no longer accepted from bodies.
148
- - `DELETE /comments/:id/reactions` takes `?emoji=` only.
149
- - CORS is off by default (`cors: false`). Pass `cors: { origins: [...] }` to allow cross-origin browsers.
150
-
151
- **@critical-path/client**
152
- - Method parameters use the server's body types, so identity fields no longer type-check. `addCommentReaction`/`removeCommentReaction` take `{ emoji }`; `addTodo`/`toggleTodo` drop the actor options argument.
153
- - New `updateProject`, `deleteProject` and `addDependency`. `uploadAttachmentFile` base64-encodes binary data (previously it sent unusable JSON for `Uint8Array`/`ArrayBuffer`).
154
- - CLI: `--author`, `--actor-id`, `--actor-name`, `--agent-name` and `CRITICAL_PATH_AUTHOR_ID`/`ACTOR_ID`/`AGENT_NAME` are removed; identity comes from the `--key` token via the server's `getContext`.
155
-
156
- **@critical-path/mcp**
157
- - Tool arguments are strict: undeclared arguments return an `isError` result.
158
- - `add_comment` no longer takes `authorId`. With an `engine`, writes are attributed to the new `actor` server option (default `DEFAULT_MCP_ACTOR`).
159
-
160
- **@critical-path/react / @critical-path/svelte**
161
- - `addReaction`/`removeReaction` take `(commentId, emoji)`; comment and attachment inputs no longer accept `authorId`/`uploaderId`. Task, comment and deliverable update parameters use the schema body types.
162
-
163
- ### Patch Changes
164
-
165
- - Updated dependencies [fd79762]
166
- - @critical-path/core@0.25.0
167
- - @critical-path/client@0.15.0
168
- - @critical-path/mcp@0.10.0
169
-
170
- ## 0.16.3
171
-
172
- ### Patch Changes
173
-
174
- - b54e22c: Validate request bodies with shared zod schemas and publish an OpenAPI document.
175
-
176
- **@critical-path/core**
177
- - New `@critical-path/core/schemas` subpath with create/update schemas for every resource and `parsePayload(schema, data)`. Kept off the package root so browser bundles do not include zod. `zod` is now a dependency of core.
178
- - `ValidationError` carries an optional `issues: { path, message }[]`.
179
-
180
- **@critical-path/server**
181
- - All request bodies are validated. Invalid bodies return `400` with `issues`. Server-assigned fields (`id`, `createdAt`, `updatedAt`, task `key`, owning `projectId` on updates) and unknown keys are stripped, so a `PATCH` can no longer move a task to another project.
182
- - Comments, reactions and attachments require an author unless `getContext` resolves the caller. Attachment `mimeType` and `sizeBytes` default to `application/octet-stream` and `0` for linked files.
183
- - New `GET /openapi.json` and `buildOpenApiDocument()` (OpenAPI 3.1, request bodies generated from the validation schemas).
184
-
185
- **@critical-path/mcp**
186
- - Tool `inputSchema`s are generated from their zod schemas via the new `defineTool`, removing the hand-written JSON copies.
187
-
188
- **@critical-path/svelte**
189
- - Rebuilt with the bundled `@critical-path/mcp` changes.
190
- - Updated dependencies [b54e22c]
191
- - @critical-path/core@0.24.0
192
- - @critical-path/mcp@0.9.0
193
- - @critical-path/client@0.14.9
194
-
195
- ## 0.16.2
196
-
197
- ### Patch Changes
198
-
199
- - Updated dependencies [6dd5529]
200
- - @critical-path/core@0.23.0
201
- - @critical-path/mcp@0.8.0
202
- - @critical-path/client@0.14.8
203
-
204
- ## 0.16.1
205
-
206
- ### Patch Changes
207
-
208
- - b243a37: Fix correctness and safety issues found in a code audit.
209
-
210
- **@critical-path/core**
211
- - `SQLiteStore` now loads `node:sqlite` via `process.getBuiltinModule`, fixing `require is not defined` when constructed from a filename in plain Node ESM.
212
- - Removed the unused `better-sqlite3` runtime dependency.
213
- - `engine.addDependency` now detects indirect cycles (e.g. A → B → C → D → A), not just cycles between direct neighbours.
214
- - Fixed `generateKeyBetween` returning out-of-range, duplicate keys after repeated inserts after the same item. It now throws a `RangeError` when `a >= b`.
215
- - Added `engine.deleteProject(id)`, which deletes a project's tasks through `deleteTask` and publishes a new `project.deleted` event and webhook.
216
- - Added exported `ValidationError` and `NotFoundError` classes. `logTime` now rejects non-numeric hours.
217
-
218
- **@critical-path/server**
219
- - `DELETE /projects/:id`, `POST /tasks/:id/dependencies` and `POST /time-entries` now go through the engine, so cycle checks, hour validation, roll-ups, events and webhooks apply.
220
- - Added `PATCH /projects/:id`.
221
- - `DELETE` on a resource that does not exist now returns `404` instead of `200 { success: false }`.
222
- - Malformed JSON returns `400`, validation errors `400`, `NotFoundError` `404`, and dependency cycles `409`. Unexpected errors return a generic `500` message outside development.
223
- - `OPTIONS` preflight requests return `204` with CORS headers.
224
- - New router/adapter options: `onError(error, request)` to report unexpected errors or return a custom response, and `exposeErrors` to include real messages in 500 responses (defaults to on only when `NODE_ENV === 'development'`).
225
- - `createNextHandler` returns a callable handler that also exposes per-method properties, so `export { handler as GET }` works as documented.
226
-
227
- **@critical-path/mcp**
228
- - Tools excluded via the `tools` option can no longer be called by name.
229
- - Tool arguments are validated with each tool's zod schema; undeclared fields are stripped.
230
- - Tool listings include `title` and MCP `readOnlyHint` / `destructiveHint` annotations.
231
-
232
- **@critical-path/svelte**
233
- - Rebuilt with the bundled `@critical-path/mcp` WebMCP argument validation.
234
-
235
- **@critical-path/client**
236
- - Delete methods resolve to `false` when the server returns `404`, keeping their boolean contract with the new server behaviour.
237
- - Updated dependencies [b243a37]
238
- - @critical-path/core@0.22.0
239
- - @critical-path/mcp@0.7.0
240
- - @critical-path/client@0.14.7
241
-
242
- ## 0.16.0
243
-
244
- ### Minor Changes
245
-
246
- - f3301bf: - Added comprehensive task lifecycle and semantic status predicates (`isDraftTask`, `isArchivedTask`, `isTrashedTask`, `isTrashedOrArchivedTask`, `isWorkflowTask`, `getTaskSemanticStatus`, `isTaskCompleted`, `isTaskInProgress`, `isTaskNotStarted`, `isTaskCanceled`, `isTaskActive`, `isTaskUnassigned`).
247
- - Hardened mention extraction with markdown code suppression (`stripMarkdownCode`) to prevent code blocks, inline code, HTML elements, and URLs from triggering false positive mentions while preserving rich-text mention nodes.
248
- - Added Base-62 fractional indexing utilities (`generateKeyBetween`, `generateNKeysBetween`) for zero-cost lexical task/item reordering without array shifting or bulk database rewrites.
249
- - Added `completedAt` lifecycle timestamp tracking alongside `actualEndDate`, automatic timestamp assignment upon entering `completed` or `canceled`, and timestamp + progress reset upon reopening to `not_started` or `in_progress`.
250
- - Added `isTempTaskId` utility and hardened optimistic temporary task handling in `@critical-path/svelte` (`TaskState`) and `@critical-path/react` (`useTasks`) with in-flight creation resolution and ID mapping to prevent 404 errors during rapid optimistic updates and deletions.
251
-
252
- ### Patch Changes
253
-
254
- - Updated dependencies [f3301bf]
255
- - @critical-path/core@0.21.0
256
- - @critical-path/client@0.14.6
257
- - @critical-path/mcp@0.6.9
258
-
259
- ## 0.15.9
260
-
261
- ### Patch Changes
262
-
263
- - Updated dependencies [8acf018]
264
- - @critical-path/client@0.14.5
265
- - @critical-path/mcp@0.6.8
266
-
267
- ## 0.15.8
268
-
269
- ### Patch Changes
270
-
271
- - Updated dependencies [b8a68dd]
272
- - @critical-path/core@0.20.2
273
- - @critical-path/client@0.14.4
274
- - @critical-path/mcp@0.6.7
275
-
276
- ## 0.15.7
277
-
278
- ### Patch Changes
279
-
280
- - Updated dependencies [500b353]
281
- - @critical-path/core@0.20.1
282
- - @critical-path/client@0.14.3
283
- - @critical-path/mcp@0.6.6
284
-
285
- ## 0.15.6
286
-
287
- ### Patch Changes
288
-
289
- - Updated dependencies [c83235b]
290
- - @critical-path/core@0.20.0
291
- - @critical-path/client@0.14.2
292
- - @critical-path/mcp@0.6.5
293
-
294
- ## 0.15.5
295
-
296
- ### Patch Changes
297
-
298
- - Updated dependencies [f816145]
299
- - @critical-path/core@0.19.1
300
- - @critical-path/client@0.14.1
301
- - @critical-path/mcp@0.6.4
302
-
303
- ## 0.15.4
304
-
305
- ### Patch Changes
306
-
307
- - Updated dependencies [f539a11]
308
- - @critical-path/client@0.14.0
309
- - @critical-path/mcp@0.6.3
310
-
311
- ## 0.15.3
312
-
313
- ### Patch Changes
314
-
315
- - Updated dependencies [1c85472]
316
- - @critical-path/client@0.13.1
317
- - @critical-path/mcp@0.6.2
318
-
319
- ## 0.15.2
320
-
321
- ### Patch Changes
322
-
323
- - Updated dependencies [b86b6fc]
324
- - @critical-path/client@0.13.0
325
- - @critical-path/mcp@0.6.1
326
-
327
- ## 0.15.1
328
-
329
- ### Patch Changes
330
-
331
- - Updated dependencies [31a6dde]
332
- - Updated dependencies [31a6dde]
333
- - @critical-path/core@0.19.0
334
- - @critical-path/mcp@0.6.0
335
- - @critical-path/client@0.12.1
336
-
337
- ## 0.15.0
338
-
339
- ### Minor Changes
340
-
341
- - adf44f6: Add headless workload and capacity distribution engine for streamgraphs, stacked area charts, and team capacity planning. Features include contiguous calendar bucketing (`day`, `week`, `month`), multi-dimension grouping (`assignee`, `team`, `taskType`, `priority`, `status`), effort metric distribution (`scheduled`, `logged`, `remaining`, `blended`), tabular zero-filled series matrix for D3 stack layouts, and capacity/utilization thresholds.
342
-
343
- ### Patch Changes
344
-
345
- - Updated dependencies [adf44f6]
346
- - @critical-path/core@0.18.0
347
- - @critical-path/client@0.12.0
348
- - @critical-path/mcp@0.5.0
349
-
350
- ## 0.14.0
351
-
352
- ### Minor Changes
353
-
354
- - 9c31e8d: Introduce comprehensive Task Metrics, Inferred Actuals, Progress Inference, Earned Value Management (EVM), and Time-Series Progress History Curve Profiling.
355
- - **Inferred Actuals**: Automatic start/completion auto-stamping on workflow transitions with fallback inference from activity logs, plus automatic completion timestamp clearing on task re-open.
356
- - **Reality Delta**: Multi-dimensional variance analysis comparing planned estimates to logged hours (`effortVarianceHours`, `durationVarianceHours`, `accuracyRatio`, `isOverdue`, `isOverEstimate`).
357
- - **Progress Inference**: Deterministic priority waterfall resolving completion progress across explicit values, checklist/todo completion ratios, logged effort, and elapsed schedule time.
358
- - **Earned Value Management (EVM)**: Task-level PV, EV, AC, CV, SV, CPI, and SPI calculations.
359
- - **Time-Series History & Curve Shapes**: Historical timeline reconstruction from activity logs with piecewise interpolation curve classification (`linear`, `s_curve`, `early_surge`, `late_rush`, `stalled`).
360
- - **Full-Stack Integration**: REST endpoints (`/tasks/:id/metrics`, `/tasks/:id/progress-history`), Client SDK methods, React `useTaskMetrics` hook, Svelte 5 `TaskMetricsState`, and MCP tools (`get_task_metrics`, `get_task_progress_history`).
361
-
362
- ### Patch Changes
363
-
364
- - Updated dependencies [9c31e8d]
365
- - @critical-path/core@0.17.0
366
- - @critical-path/client@0.11.0
367
- - @critical-path/mcp@0.4.0
368
-
369
- ## 0.13.1
370
-
371
- ### Patch Changes
372
-
373
- - Updated dependencies [b4b2c98]
374
- - @critical-path/mcp@0.3.1
375
-
376
- ## 0.13.0
377
-
378
- ### Minor Changes
379
-
380
- - e2a7eef: Introduce Ladder of Abstraction and Critical Path Method (CPM) timeline synthesis to the framework data model:
381
- - **Core Domain**: Multi-scale timeline synthesis model across Macro phase rollups, Standard CPM Gantt schedule (early/late bounds, float/slack calculation, bottleneck identification), and Concrete grounding (deliverables, file attachments, daily effort distribution, and reality deltas). Added `calculateCriticalPath`, `getTimelineLadder`, and `getTaskLadder` to `CriticalPathEngine`.
382
- - **Server Router**: HTTP endpoints `GET /projects/:id/critical-path`, `GET /projects/:id/ladder`, and `GET /tasks/:id/ladder`.
383
- - **Client SDK**: `CriticalPathClient` methods `calculateCriticalPath`, `getTimelineLadder`, and `getTaskLadder`.
384
- - **MCP**: New AI tools `calculate_critical_path`, `get_timeline_ladder`, and `get_task_ladder`.
385
- - **React**: Custom hooks `useTimelineLadder`, `useCriticalPath`, and `useTaskLadder`.
386
- - **Svelte 5**: Svelte 5 Runes state classes `TimelineLadderState` and `CriticalPathState`.
387
-
388
- ### Patch Changes
389
-
390
- - Updated dependencies [e2a7eef]
391
- - @critical-path/core@0.16.0
392
- - @critical-path/client@0.10.0
393
- - @critical-path/mcp@0.3.0
394
-
395
- ## 0.12.0
396
-
397
- ### Minor Changes
398
-
399
- - 105f3d3: Synchronize feature parity between `@critical-path/react` and `@critical-path/svelte`:
400
- - `@critical-path/react`: Added `updateTask` with optimistic updates and rollback to `useTasks`, and introduced `useTaskActivity` hook for unified threaded discussions and attachments.
401
- - `@critical-path/svelte`: Added `KanbanState` (`createKanbanState`), `TaskTransitionsState` (`createTaskTransitionsState`), and `DeliverableSummaryState` (`createDeliverableSummaryState`) using native Svelte 5 runes.
402
-
403
- ## 0.11.0
404
-
405
- ### Minor Changes
406
-
407
- - ed51060: Add Model Context Protocol (MCP) server and client-side WebMCP support:
408
- - New `@critical-path/mcp` package providing standard MCP server (`createCriticalPathMcpServer`, stdio transport, resources, prompts) and CLI (`npx @critical-path/mcp`).
409
- - Client-side WebMCP browser integration (`registerWebMcpTools`) adhering to W3C WebML CG specification with ambient project scoping.
410
- - First-class React hook `useWebMCP` in `@critical-path/react`.
411
- - First-class Svelte 5 runes state `WebMcpState` and `createWebMcpState` in `@critical-path/svelte`.
412
-
413
- ### Patch Changes
414
-
415
- - Updated dependencies [ed51060]
416
- - @critical-path/mcp@0.2.0
417
-
418
- ## 0.10.2
419
-
420
- ### Patch Changes
421
-
422
- - Updated dependencies [dbd2072]
423
- - @critical-path/core@0.15.2
424
- - @critical-path/client@0.9.2
425
-
426
- ## 0.10.1
427
-
428
- ### Patch Changes
429
-
430
- - Updated dependencies [f53afab]
431
- - @critical-path/core@0.15.1
432
- - @critical-path/client@0.9.1
433
-
434
- ## 0.10.0
435
-
436
- ### Minor Changes
437
-
438
- - 21eb85c: Implement Universal Semantic Statuses & System-Derived Implied Statuses (3-Tier Status Architecture)
439
-
440
- - **Tier 1 (Universal Semantic Statuses)**: Defined canonical status enum `SemanticStatus = 'not_started' | 'in_progress' | 'completed' | 'canceled'` providing universal semantic meaning across any industry domain.
441
- - **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.
442
- - **Tier 3 (System-Derived Implied Statuses)**: Added `deriveTaskLifecycleState` and `engine.getTaskLifecycleState(taskId)` returning dynamic indicators:
443
- - Dependency: `isReady`, `isBlocked`, `blockingTaskIds`
444
- - Schedule: `isOverdue`, `isUpcoming`, `isUnplanned`
445
- - Ownership: `isUnassigned`, `isStalled`
446
- - Estimate/Pace: `isOverEstimate`, `isPaceWarning`
447
- - Convenience flags: `isDone`, `isActive`, `isCancelled`
448
- - **Domain Entities & Engine**: Added automatic timestamp progression (`actualStartDate`, `actualEndDate`), progress completion, and event emission driven by semantic status categories.
449
- - **React UI Hooks**: Updated `useKanban` to support dynamic custom workflow columns without dropping tasks, plus added `groupBy: 'semantic' | 'workflow'` option.
450
- - **Client SDK**: Added `client.getTaskLifecycleState(taskId)`.
451
-
452
- ### Patch Changes
453
-
454
- - Updated dependencies [21eb85c]
455
- - @critical-path/core@0.15.0
456
- - @critical-path/client@0.9.0
457
-
458
- ## 0.9.5
459
-
460
- ### Patch Changes
461
-
462
- - Updated dependencies [3dc2798]
463
- - @critical-path/core@0.14.0
464
- - @critical-path/client@0.8.4
465
-
466
- ## 0.9.4
467
-
468
- ### Patch Changes
469
-
470
- - Updated dependencies [573a4fa]
471
- - @critical-path/core@0.13.3
472
- - @critical-path/client@0.8.3
473
-
474
- ## 0.9.3
475
-
476
- ### Patch Changes
477
-
478
- - Updated dependencies [03d269c]
479
- - @critical-path/core@0.13.2
480
- - @critical-path/client@0.8.2
481
-
482
- ## 0.9.2
483
-
484
- ### Patch Changes
485
-
486
- - Updated dependencies [a7d17c0]
487
- - @critical-path/core@0.13.1
488
- - @critical-path/client@0.8.1
489
-
490
- ## 0.9.1
491
-
492
- ### Patch Changes
493
-
494
- - Updated dependencies [a4a464b]
495
- - @critical-path/core@0.13.0
496
- - @critical-path/client@0.8.0
497
-
498
- ## 0.9.0
499
-
500
- ### Minor Changes
501
-
502
- - 5a5930f: Add first-class Deliverable entity, Creative Workflow presets, and reactive UI bindings:
503
- - `@critical-path/core`: Added `Deliverable` entity, `DeliverableSummary` rollup computation, `DEFAULT_CREATIVE_WORKFLOW` preset, `deliverableId` on tasks, store implementations (InMemory, SQLite, Firebase), domain events, and webhook integration.
504
- - `@critical-path/server`: Added RESTful API endpoints for `/deliverables` and `/deliverables/:id/summary`.
505
- - `@critical-path/client`: Added deliverable management and summary methods to `CriticalPathClient`.
506
- - `@critical-path/react`: Added `useDeliverables` and `useDeliverableSummary` React hooks.
507
- - `@critical-path/svelte`: Added `DeliverableState` and `createDeliverableState` Svelte 5 Runes state management.
508
-
509
- ### Patch Changes
510
-
511
- - Updated dependencies [5a5930f]
512
- - @critical-path/core@0.12.0
513
- - @critical-path/client@0.7.0
514
-
515
- ## 0.8.0
516
-
517
- ### Minor Changes
518
-
519
- - 55549e9: Support @mentions in comments with extraction and segmentation utilities
520
-
521
- - Add `mentions?: string[]` to `Comment` interface
522
- - Add `extractMentions` and `parseMentionSegments` utilities for mention parsing and UI rendering
523
- - Auto-extract and populate mentions during `addComment` and `updateComment` in the engine
524
- - Update SQLite comments schema with `mentions` column and migration
525
- - Preserve and pass through mentions in server routes, client SDK, and Svelte bindings
526
-
527
- ### Patch Changes
528
-
529
- - Updated dependencies [55549e9]
530
- - @critical-path/core@0.11.0
531
- - @critical-path/client@0.6.0
532
-
533
- ## 0.7.0
534
-
535
- ### Minor Changes
536
-
537
- - e9003d3: Add emoji reactions support for comment conversations with domain events, deduplication, REST endpoints, client SDK, and React/Svelte state integrations.
538
-
539
- ### Patch Changes
540
-
541
- - Updated dependencies [e9003d3]
542
- - @critical-path/core@0.10.0
543
- - @critical-path/client@0.5.0
544
-
545
- ## 0.6.0
546
-
547
- ### Minor Changes
548
-
549
- - e983557: Add first-class optional todo list (checklist) support to Task model and TaskEntity with helper methods (addTodo, toggleTodo, removeTodo) and updateTask helper in @critical-path/svelte.
550
-
551
- ### Patch Changes
552
-
553
- - Updated dependencies [e983557]
554
- - @critical-path/core@0.9.0
555
- - @critical-path/client@0.4.4
556
-
557
- ## 0.5.4
558
-
559
- ### Patch Changes
560
-
561
- - 9aa53f7: Optimistically remove comments and attachments upon delete with automatic rollback on network failure
562
-
563
- ## 0.5.3
564
-
565
- ### Patch Changes
566
-
567
- - 2d5ff04: fix(core): decode base64 strings and data URIs into binary Uint8Array in storage adapters
568
- - Updated dependencies [2d5ff04]
569
- - @critical-path/core@0.8.3
570
- - @critical-path/client@0.4.3
571
-
572
- ## 0.5.2
573
-
574
- ### Patch Changes
575
-
576
- - fix(core): decode base64 strings and data URIs into binary Uint8Array in storage adapters
577
- - Updated dependencies
578
- - @critical-path/core@0.8.2
579
- - @critical-path/client@0.4.2
580
-
581
- ## 0.5.1
582
-
583
- ### Patch Changes
584
-
585
- - 315425c: fix(core): generate Firebase Storage download tokens and construct valid public URLs
586
- - Updated dependencies [315425c]
587
- - @critical-path/core@0.8.1
588
- - @critical-path/client@0.4.1
589
-
590
- ## 0.5.0
591
-
592
- ### Minor Changes
593
-
594
- - 1811922: Add attachment URL validation against large data URIs, sanitize undefined properties in FirebaseStore, provide direct attachment upload routes & SDK methods, and introduce TaskActivityState for combined comment & attachment threads.
595
-
596
- ### Patch Changes
597
-
598
- - Updated dependencies [1811922]
599
- - @critical-path/core@0.8.0
600
- - @critical-path/client@0.4.0
601
-
602
- ## 0.4.0
603
-
604
- ### Minor Changes
605
-
606
- - a48a04a: Add threaded conversations, attachment metadata management, and storage adapters (S3 & Firebase Storage):
607
-
608
- - **`@critical-path/core`**:
609
- - Added `Attachment` entity, `CreateAttachmentInput`, `UploadFileInput`, and `FileStorageAdapter` contracts.
610
- - Added `InMemoryFileStore`, duck-typed `S3StorageAdapter` (compatible with AWS SDK v3, v2, MinIO, and Cloudflare R2), and `FirebaseStorageAdapter` (compatible with Google Cloud Storage and Firebase Admin SDK).
611
- - Extended `Comment` with `authorType` (`user`, `agent`, `system`) and `parentId` for threaded discussions.
612
- - Implemented full comment and attachment repository methods across `InMemoryStore`, `SQLiteStore`, and `FirebaseStore`.
613
- - Added engine operations for upload, presigning, and deleting attachments with domain events (`comment.*`, `attachment.*`) and webhooks.
614
-
615
- - **`@critical-path/server`**:
616
- - Added RESTful routes for comments (`GET/POST /tasks/:taskId/comments`, `GET/POST /comments`, `GET/PATCH/DELETE /comments/:id`).
617
- - Added RESTful routes for attachments (`GET/POST /tasks/:taskId/attachments`, `GET/POST /attachments`, `GET/DELETE /attachments/:id`, `POST /attachments/presign`).
618
-
619
- - **`@critical-path/client`**:
620
- - Added SDK methods `getComments`, `getComment`, `addComment`, `updateComment`, `deleteComment`.
621
- - Added SDK methods `getAttachments`, `getAttachment`, `createAttachment`, `deleteAttachment`, and `getPresignedAttachmentUploadUrl`.
622
-
623
- - **`@critical-path/react`**:
624
- - Added `useComments(taskId)` with reactive thread tree derivation (`threads` containing nested `replies`) and comment mutations.
625
- - Added `useAttachments(filter)` with attachment creation and deletion.
626
-
627
- - **`@critical-path/svelte`**:
628
- - Added Svelte 5 Rune-based `CommentState` / `createCommentState(client, taskId)` with derived threaded hierarchy.
629
- - Added Svelte 5 Rune-based `AttachmentState` / `createAttachmentState(client, filter)`.
630
-
631
- ### Patch Changes
632
-
633
- - Updated dependencies [a48a04a]
634
- - @critical-path/core@0.7.0
635
- - @critical-path/client@0.3.0
636
-
637
- ## 0.3.4
638
-
639
- ### Patch Changes
640
-
641
- - Updated dependencies [6e9dece]
642
- - @critical-path/core@0.6.0
643
- - @critical-path/client@0.2.4
644
-
645
- ## 0.3.3
646
-
647
- ### Patch Changes
648
-
649
- - Updated dependencies [c24b76c]
650
- - @critical-path/core@0.5.2
651
- - @critical-path/client@0.2.3
652
-
653
- ## 0.3.2
654
-
655
- ### Patch Changes
656
-
657
- - Updated dependencies [34067fd]
658
- - @critical-path/core@0.5.1
659
- - @critical-path/client@0.2.2
660
-
661
- ## 0.3.1
662
-
663
- ### Patch Changes
664
-
665
- - Updated dependencies [83a5c17]
666
- - @critical-path/core@0.5.0
667
- - @critical-path/client@0.2.1
668
-
669
- ## 0.3.0
670
-
671
- ### Minor Changes
672
-
673
- - 35576a6: Introduce Workflow concept to the project management model with status definitions, allowed transition validation, task types, webhook events (workflow.created, workflow.updated, workflow.deleted), server routes, SDK methods, and React/Svelte state hooks.
674
-
675
- ### Patch Changes
676
-
677
- - Updated dependencies [35576a6]
678
- - @critical-path/core@0.4.0
679
- - @critical-path/client@0.2.0
680
-
681
- ## 0.2.4
682
-
683
- ### Patch Changes
684
-
685
- - Updated dependencies [4b92228]
686
- - @critical-path/core@0.3.0
687
- - @critical-path/client@0.1.5
688
-
689
- ## 0.2.3
690
-
691
- ### Patch Changes
692
-
693
- - 3470b61: add optimistic updates with error rollback to Svelte state classes and React hooks
694
-
695
- ## 0.2.2
696
-
697
- ### Patch Changes
698
-
699
- - Updated dependencies [df22aad]
700
- - @critical-path/core@0.2.1
701
- - @critical-path/client@0.1.4
702
-
703
- ## 0.2.1
704
-
705
- ### Patch Changes
706
-
707
- - 5160802: Publish Svelte 5 Runes state classes on 0.2.x prerelease line.
708
-
709
- ## 1.0.0
710
-
711
- ### Major Changes
712
-
713
- - 283e450: Modernize `@critical-path/svelte` for Svelte 5 Runes:
714
- - Replaced Svelte 4 legacy stores (`createProjectStore`, `createTaskStore`) with Svelte 5 Runes state classes and factories (`ProjectState`, `createProjectState`, `TaskState`, `createTaskState`).
715
- - Updated peer dependency requirement to `svelte: ^5.0.0`.
716
- - Components now access reactive state properties directly (e.g. `taskState.data`, `projectState.loading`) without `$` store auto-subscriptions.
717
-
718
- ## 0.1.3
719
-
720
- ### Patch Changes
721
-
722
- - Updated dependencies [755286a]
723
- - @critical-path/core@0.2.0
724
- - @critical-path/client@0.1.3
725
-
726
- ## 0.1.2
727
-
728
- ### Patch Changes
729
-
730
- - Initial open-source release of Svelte reactive store factories (`createProjectStore`, `createTaskStore`).