Skip to content

Commit c503e38

Browse files
Merge pull request #277 from eccenca/feature/supportReactFlow-v9-v10-v12-CMEM-4900-CMEM-6506
Support React Flow v12 (CMEM-4900 & CMEM-6506)
2 parents d667c94 + 97f701e commit c503e38

31 files changed

Lines changed: 1775 additions & 641 deletions

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
66

77
## [Unreleased]
88

9+
This is a major release, and it might be not compatible with your current usage of our library. Please read about the necessary changes in the section about how to migrate.
10+
911
### Added
1012

1113
- Extended existing height and readOnly props from `CodeEditorProps` to `AutoSuggestionProps` & `ExtendedCodeEditorProps` to be configurable from `<CodeAutocompleteField />`
@@ -58,6 +60,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
5860

5961
### Changed
6062

63+
- `eslint` libraries were upgraded to v9, so `node` v18.18 or higher is required
64+
- react flow integration by renaming their resources from `legacy` and `next` to more precise `v9` and `v10`:
65+
- `HandleProps`: renamed to `HandleV9Props`
66+
- `HandleNextProps`: renamed to `HandleV10Props`
67+
- if provided then the `flowVersion` property do not accept `legacy` and `next` as values anymore, use `v9` and `v10`
6168
- some more interfaces are exposed:
6269
- `IntentBlueprint`: BlueprintJS intent types, also available by `DefinitionsBlueprint`
6370
- `TableDataContainerProps`, `TableSimpleContainerProps`, `TableHeadProps`, `TableBodyProps`, `TableExpandedRowProps`, `TableHeaderProps` and `DataTableRenderProps` as interfaces for diverse table components
@@ -80,6 +87,18 @@ Old bundlers like webpack4 do not support the `exports` field from `package.json
8087

8188
If you use Jest then you can use the same aliases for the `moduleNameMapper` config, if necessary.
8289

90+
### Deprecated
91+
92+
- `HandleV9Props` and `HandleV10Props` export will be removed, use only `HandleDefaultProps`
93+
- `<NodeContent />`
94+
- `businessDate`: will be removed because it is already not used
95+
- `<ReactFlow />`: use `<ReactFlowExtended />`
96+
97+
### Migration from v24 to v25
98+
99+
- remove deprecated components, properties and imports from your project, if the info cannot be found here then it was already mentioned in **Deprecated** sections of the v24.* changelogs.
100+
- we changed the integration of the supported react flow versions, formerly names `legacy` and `next` resources were renamed to more precise `v9` and `v10`, please see all info in the section about changes
101+
83102
## [24.1.0] - 2025-04-16
84103

85104
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ After you tested the GUI elements package locally you can Clean up your applicat
125125
3. Pull request from release branch into `main` need to be approved
126126
- then ["Publish: final release "](https://github.com/eccenca/gui-elements/actions/workflows/publish-final-release.yml) can be used on `main` (or `next` and `legacy`) to publish final release packages
127127
- another PR is automatically created for changes done during publishing process
128-
128+
129129
## License
130130

131131
Apache License, Version 2.0, January 2004

0 commit comments

Comments
 (0)