Feat v0.3.5 settings icd clone (#19)
All checks were successful
All checks were successful
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #19.
This commit is contained in:
29
CHANGELOG.md
29
CHANGELOG.md
@@ -2,6 +2,35 @@
|
||||
|
||||
All notable changes to Switchboard Core are documented here.
|
||||
|
||||
## v0.3.5 — Settings Audit + ICD + Tests + Clone
|
||||
|
||||
### Added
|
||||
|
||||
- **Clone endpoint**: `POST /api/v1/workflows/:id/clone` deep-copies a workflow
|
||||
and all its stages. Creates an inactive draft with "Copy of" prefix. Handles
|
||||
slug collisions with auto-suffix. Team-scoped mirror at
|
||||
`/api/v1/teams/:teamId/workflows/:id/clone`.
|
||||
- **Integration tests**: 7 new engine-level tests in `workflow_engine_test.go`
|
||||
covering full lifecycle, branch routing, public entry, signoff validation gate,
|
||||
signoff rejection, cancel-clears-assignments, and error cases. Total: 28 tests.
|
||||
- **Staleness timeout UI**: `staleness_timeout_hours` input added to workflow
|
||||
editor in team-admin settings (was backend-only since v0.3.3).
|
||||
- **Branch rules UI**: Collapsible JSON textarea in stage form for configuring
|
||||
conditional routing rules (was backend-only since v0.3.2).
|
||||
|
||||
### Changed
|
||||
|
||||
- **ICD (OpenAPI spec)**: Fixed stale `Workflow` schema (added `description`,
|
||||
`branding`, `is_active`, `on_complete`, `retention`, `staleness_timeout_hours`).
|
||||
Fixed stale `Stage` schema (removed `history_mode`/`transition_rules`, updated
|
||||
`stage_mode` enum to `[form, review, delegated, automated]`, added `audience`,
|
||||
`stage_type`, `starlark_hook`, `branch_rules`, `stage_config`, `sla_seconds`,
|
||||
`auto_transition`, `assignment_team_id`, `surface_pkg_id`).
|
||||
Added `WorkflowInstance`, `WorkflowAssignment`, `WorkflowSignoff` schemas.
|
||||
Added ~20 new endpoint paths: instances, assignments, signoffs, public entry,
|
||||
clone, and team roles. Added tags: Workflow Instances, Workflow Assignments,
|
||||
Workflow Signoffs, Public Workflows.
|
||||
|
||||
## v0.3.4 — Team Roles + Multi-party Validation
|
||||
|
||||
### Added
|
||||
|
||||
Reference in New Issue
Block a user