Skip to content

Commit 37801d6

Browse files
Version Packages (#1711)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent fba1136 commit 37801d6

File tree

10 files changed

+71
-30
lines changed

10 files changed

+71
-30
lines changed

workspaces/orchestrator/.changeset/disable-next-during-fetch.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

workspaces/orchestrator/.changeset/prune-obsolete-form-properties.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

workspaces/orchestrator/plugins/orchestrator-form-api/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @red-hat-developer-hub/backstage-plugin-orchestrator-form-api
22

3+
## 2.2.0
4+
5+
### Minor Changes
6+
7+
- 149804f: Disable Next button when active widgets are fetching and processing data
8+
- Add isFetching state tracking to StepperContext using a counter to monitor multiple concurrent async operations
9+
- Update OrchestratorFormToolbar to disable Next button when isFetching is true (in addition to existing isValidating check)
10+
- Add handleFetchStarted and handleFetchEnded callbacks to OrchestratorFormContextProps to allow widgets to report their loading status
11+
- Update useFetchAndEvaluate to track complete loading state (fetch + template evaluation) and notify context
12+
- Create useProcessingState custom hook to reduce code duplication across widgets, providing a reusable pattern for tracking both fetch and processing states
13+
- Refactor SchemaUpdater, ActiveTextInput, ActiveDropdown, and ActiveMultiSelect to use useProcessingState hook
14+
- Track the complete loading lifecycle: fetch → process → ready, ensuring Next button is disabled until all async work completes
15+
- Prevents race conditions where Next button becomes enabled before widgets finish processing data
16+
317
## 2.1.0
418

519
### Minor Changes

workspaces/orchestrator/plugins/orchestrator-form-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@red-hat-developer-hub/backstage-plugin-orchestrator-form-api",
33
"description": "library for orchestrator form api, enabling creating a factory to extend the workflow execution form",
4-
"version": "2.1.0",
4+
"version": "2.2.0",
55
"main": "src/index.ts",
66
"types": "src/index.ts",
77
"license": "Apache-2.0",

workspaces/orchestrator/plugins/orchestrator-form-react/CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
### Dependencies
22

3+
## 2.2.0
4+
5+
### Minor Changes
6+
7+
- 149804f: Disable Next button when active widgets are fetching and processing data
8+
- Add isFetching state tracking to StepperContext using a counter to monitor multiple concurrent async operations
9+
- Update OrchestratorFormToolbar to disable Next button when isFetching is true (in addition to existing isValidating check)
10+
- Add handleFetchStarted and handleFetchEnded callbacks to OrchestratorFormContextProps to allow widgets to report their loading status
11+
- Update useFetchAndEvaluate to track complete loading state (fetch + template evaluation) and notify context
12+
- Create useProcessingState custom hook to reduce code duplication across widgets, providing a reusable pattern for tracking both fetch and processing states
13+
- Refactor SchemaUpdater, ActiveTextInput, ActiveDropdown, and ActiveMultiSelect to use useProcessingState hook
14+
- Track the complete loading lifecycle: fetch → process → ready, ensuring Next button is disabled until all async work completes
15+
- Prevents race conditions where Next button becomes enabled before widgets finish processing data
16+
17+
- 8b1ce63: Prune obsolete properties from form data before Review and Submit
18+
- Update `OrchestratorForm` to prune form data before passing to Review step and execution
19+
- Fixes issue where SchemaUpdater dynamically adds/removes fields but old values remain in form state
20+
- Ensures only properties that exist in the final schema version are displayed on Review page and submitted
21+
- Prevents stale data from previous schema versions from being included in workflow execution
22+
23+
### Patch Changes
24+
25+
- Updated dependencies [149804f]
26+
- @red-hat-developer-hub/backstage-plugin-orchestrator-form-api@2.2.0
27+
328
## 2.1.0
429

530
### Minor Changes

workspaces/orchestrator/plugins/orchestrator-form-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@red-hat-developer-hub/backstage-plugin-orchestrator-form-react",
33
"description": "Web library for the orchestrator-form plugin",
4-
"version": "2.1.0",
4+
"version": "2.2.0",
55
"main": "src/index.ts",
66
"types": "src/index.ts",
77
"license": "Apache-2.0",

workspaces/orchestrator/plugins/orchestrator-form-widgets/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# @red-hat-developer-hub/backstage-plugin-orchestrator-form-widgets
22

3+
## 1.3.0
4+
5+
### Minor Changes
6+
7+
- 149804f: Disable Next button when active widgets are fetching and processing data
8+
- Add isFetching state tracking to StepperContext using a counter to monitor multiple concurrent async operations
9+
- Update OrchestratorFormToolbar to disable Next button when isFetching is true (in addition to existing isValidating check)
10+
- Add handleFetchStarted and handleFetchEnded callbacks to OrchestratorFormContextProps to allow widgets to report their loading status
11+
- Update useFetchAndEvaluate to track complete loading state (fetch + template evaluation) and notify context
12+
- Create useProcessingState custom hook to reduce code duplication across widgets, providing a reusable pattern for tracking both fetch and processing states
13+
- Refactor SchemaUpdater, ActiveTextInput, ActiveDropdown, and ActiveMultiSelect to use useProcessingState hook
14+
- Track the complete loading lifecycle: fetch → process → ready, ensuring Next button is disabled until all async work completes
15+
- Prevents race conditions where Next button becomes enabled before widgets finish processing data
16+
17+
### Patch Changes
18+
19+
- Updated dependencies [149804f]
20+
- @red-hat-developer-hub/backstage-plugin-orchestrator-form-api@2.2.0
21+
322
## 1.2.0
423

524
### Minor Changes

workspaces/orchestrator/plugins/orchestrator-form-widgets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@red-hat-developer-hub/backstage-plugin-orchestrator-form-widgets",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"license": "Apache-2.0",
55
"main": "src/index.ts",
66
"types": "src/index.ts",

workspaces/orchestrator/plugins/orchestrator/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
### Dependencies
22

3+
## 5.1.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [149804f]
8+
- Updated dependencies [8b1ce63]
9+
- @red-hat-developer-hub/backstage-plugin-orchestrator-form-react@2.2.0
10+
- @red-hat-developer-hub/backstage-plugin-orchestrator-form-api@2.2.0
11+
312
## 5.1.0
413

514
### Minor Changes

workspaces/orchestrator/plugins/orchestrator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@red-hat-developer-hub/backstage-plugin-orchestrator",
3-
"version": "5.1.0",
3+
"version": "5.1.1",
44
"license": "Apache-2.0",
55
"main": "src/index.ts",
66
"types": "src/index.ts",

0 commit comments

Comments
 (0)