Skip to content

Commit 24b73e8

Browse files
authored
Merge pull request #292 from eccenca/maintain/mergeReleaseTag-v24.3.0
Release process changes from v24.3.0
2 parents e2aa6db + 4060831 commit 24b73e8

File tree

6 files changed

+21
-5
lines changed

6 files changed

+21
-5
lines changed

CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [24.3.0] - 2025-06-05
10+
911
### Added
1012

11-
- added support for `react-flow` v12 for `NodeContent` component, added v12-related components: `EdgeDefaultV12`, `NodeDefaultV12`, `EdgeDefs`
13+
- added support for React Flow v12
14+
- `<NodeContent />` can used with `flowVersion="v12"`
15+
- more v12-only components: `EdgeDefaultV12`, `NodeDefaultV12`, `EdgeDefs`
16+
- they may be removed in future version when v12 elements are available direcly via `<EdgeDefault />` and `<NodeDefault />`
17+
18+
### Deprecated
19+
20+
- `<EdgeDefaultV12 />` and `<NodeDefaultV12 />` will be removed when React Flow v12 is supported directly by `<EdgeDefault />` and `<NodeDefault />`
21+
- `flowVersion` property: `legacy` and `next` will be removed/replaced by `v##` values
1222

1323
## [24.2.0] - 2025-06-04
1424

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@eccenca/gui-elements",
33
"description": "GUI elements based on other libraries, usable in React application, written in Typescript.",
4-
"version": "24.2.0",
4+
"version": "24.3.0",
55
"license": "Apache-2.0",
66
"homepage": "https://github.com/eccenca/gui-elements",
77
"bugs": "https://github.com/eccenca/gui-elements/issues",

src/extensions/react-flow/edges/EdgeDefaultV12.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ export type EdgeDefaultV12DataProps = Record<string, unknown> & {
4141
edgeSvgProps?: React.SVGProps<SVGGElement>;
4242
};
4343

44+
/**
45+
* This element cannot be used directly, it must be connected via a `edgeTypes` definition.
46+
* @see https://reactflow.dev/docs/api/nodes/
47+
* @deprecated (v26) will be removed when `EdgeDefault` supports v12 directly
48+
*/
4449
export const EdgeDefaultV12 = memo(
4550
({
4651
id,

src/extensions/react-flow/nodes/NodeContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export interface NodeContentProps<NODE_DATA, NODE_CONTENT_PROPS = any>
156156
* Array of property definition objects for `Handle` components that need to be created for the node.
157157
* @see https://reactflow.dev/docs/api/handle/
158158
*/
159-
handles?: NodeContentHandleLegacyProps[] | NodeContentHandleNextProps[] | NodeContentHandleV12Props[];
159+
handles?: NodeContentHandleProps[];
160160
/**
161161
* Set the minimal number of handles on left or right side of the node to activate the recalculation of the minimal height of the node.
162162
*/

src/extensions/react-flow/nodes/NodeDefaultV12.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ export interface NodeDefaultProps<NODE_DATA, NODE_CONTENT_PROPS = any> extends R
1414
}
1515

1616
/**
17-
* The `NodeDefault` element manages the display of React-Flow nodes.
18-
* This element cannot be used directly, it must be connected via a `nodeTypes` definition and all properties need to be routed through the `elements` property items inside the `ReactFlow` container.
17+
* This element cannot be used directly, it must be connected via a `nodeTypes` definition.
1918
* @see https://reactflow.dev/docs/api/nodes/
19+
* @deprecated (v26) will be removed when `NodeDefault` supports v12 directly
2020
*/
2121
export const NodeDefaultV12 = memo((node: NodeDefaultProps<any>) => {
2222
const {

src/extensions/react-flow/versionsupport.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { useStore as useStoreFlowV12 } from "@xyflow/react";
55
export interface ReacFlowVersionSupportProps {
66
/**
77
* Spevifies the context of the react flow renderer version that is used for the component.
8+
* @deprecated (v25) `legacy` and `next` will be removed/replaced by `v##` values in future versions
89
*/
910
flowVersion?: "v12" | "legacy" | "next" | "none";
1011
}

0 commit comments

Comments
 (0)