Skip to content

Commit bbbd15f

Browse files
chore(release): bump version to 18.0.0 and update CHANGELOG
- Added interactive waypoint editing for connections with drag-and-drop. - Implemented pinch-to-zoom functionality for touch devices. - Improved content projection for Angular Control Flow compatibility. - Enhanced support for custom SVG backgrounds and added examples. - Refactored connection and interaction modules for better maintainability. BREAKING CHANGE: - Updated `IFConnectionBuilderResponse` interface: removed `connectionCenter`, made `points` required, and added `candidates`. - Removed deprecated inputs from `FConnectionComponent` and `FCanvasComponent`. Signed-off-by: Siarhei Huzarevich <shuzarevich@gmail.com>
1 parent 83ac55d commit bbbd15f

File tree

4 files changed

+72
-4
lines changed

4 files changed

+72
-4
lines changed

CHANGELOG.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,74 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [18.0.0](https://github.com/foblex/flow/compare/v17.9.5...v18.0.0) (2026-01-26)
6+
7+
### Highlights
8+
9+
- **Connection Waypoints (new feature)** — interactive waypoint editing for connections with candidate points and drag-and-drop.
10+
- **Pinch-to-zoom (new feature)** — smooth multi-touch zoom for trackpads and touch devices.
11+
- **Control Flow + Content Projection compatibility** — improved support for `@if/@for` rendering by extending projection slots for nodes/connections.
12+
- **Custom Backgrounds** — richer SVG pattern support plus a new example for advanced backgrounds.
13+
14+
### Features
15+
16+
- **zoom:** add pinch-to-zoom support for touch/trackpad gestures ([5dfeeb5](https://github.com/foblex/flow/commit/5dfeeb5f16dcf9dfbcf4ee38dfea22ded1c37f83))
17+
- **connection:** introduce **waypoints** with candidates + drag-to-add / drag-to-move interactions and demo example ([19772df](https://github.com/foblex/flow/commit/19772df7649e66b4115bd6a057613d3fa25faeec), [229d6e3](https://github.com/foblex/flow/commit/229d6e3b773a64a1e55654c373e3b556a8d38c8e))
18+
- **connection:** add anchors utility and refactor connection builders + candidate generation ([3276baf](https://github.com/foblex/flow/commit/3276baf8405eec062022b285524e3c641d901424), [b18109a](https://github.com/foblex/flow/commit/b18109a2c26fdac7aa8e5980fb5bbd791d3a4b42))
19+
- **canvas:** improve content projection for Angular Control Flow usage (`@if/@for`) by supporting grouped slots (`[fNodes]`, `[fConnections]`) ([b18109a](https://github.com/foblex/flow/commit/b18109a2c26fdac7aa8e5980fb5bbd791d3a4b42))
20+
- **background:** support custom/complex SVG patterns + add a dedicated example ([29e28c8](https://github.com/foblex/flow/commit/29e28c81faf9da5189d9bf108323f4f4deb9387d))
21+
- **showcase:** add AI Low Code Platform entry and links ([6013ee7](https://github.com/foblex/flow/commit/6013ee7c23f5d88d8861027b56618b4bffc9fce2), [dd84ae8](https://github.com/foblex/flow/commit/dd84ae8730d8296a56d47ce5fb4966cc4de55e4b))
22+
23+
### Improvements
24+
25+
- Refactored multiple connection/interaction modules to improve readability, maintainability and internal consistency.
26+
- Candidate/waypoint handling is now more predictable across all connection types.
27+
28+
### Documentation
29+
30+
- fix url to custom-connection-type component in guide ([a6421ac](https://github.com/foblex/flow/commit/a6421aca5fd3ba2576a7f155e5ad8b06c5af9ed7))
31+
32+
### ⚠️ Breaking Changes
33+
34+
#### 1) Custom connection builders: `IFConnectionBuilderResponse` updated
35+
36+
If you implemented a custom connection type / builder, the response interface changed:
37+
38+
- `connectionCenter` was **removed**
39+
- `points` is now **required** (was optional)
40+
- `candidates` was **added**
41+
42+
**Note:** you don’t have to calculate or return `points` or `candidates` yourself.
43+
If you don’t support them, return empty arrays.
44+
45+
```ts
46+
export interface IFConnectionBuilderResponse {
47+
path: string;
48+
penultimatePoint: IPoint;
49+
secondPoint: IPoint;
50+
points: IPoint[]; // can be []
51+
candidates: IPoint[]; // can be []
52+
}
53+
```
54+
55+
#### 2) FConnection API cleanup: removed deprecated inputs
56+
57+
Deprecated connection inputs were removed from FConnectionComponent:
58+
59+
- `fText` - removed (use FConnectionContent instead)
60+
- `fTextStartOffset` - removed (use FConnectionContent instead)
61+
62+
Removed legacy directive:
63+
64+
- [fConnectionCenter] - removed (use FConnectionContent instead)
65+
66+
#### 3) FCanvas API cleanup
67+
68+
Removed deprecated zoom aliases from FCanvasComponent:
69+
70+
- setZoom(...) - removed → use setScale(...)
71+
- resetZoom() - removed → use resetScale()
72+
573
### [17.9.5](https://github.com/foblex/flow/compare/v17.8.0...v17.9.5) (2025-10-27)
674

775
### Features

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "17.9.5",
2+
"version": "18.0.0",
33
"description": "An Angular library designed to simplify the creation and manipulation of dynamic flow. Provides components for flows, nodes, and connections, automating node manipulation and inter-node connections.",
44
"author": "Siarhei Huzarevich",
55
"homepage": "https://flow.foblex.com",

projects/f-flow/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@foblex/flow",
3-
"version": "17.9.81",
3+
"version": "18.0.0",
44
"description": "An Angular library designed to simplify the creation and manipulation of dynamic flow. Provides components for flows, nodes, and connections, automating node manipulation and inter-node connections.",
55
"main": "index.js",
66
"types": "index.d.ts",

0 commit comments

Comments
 (0)