|
2 | 2 |
|
3 | 3 | 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. |
4 | 4 |
|
| 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 | + |
5 | 73 | ### [17.9.5](https://github.com/foblex/flow/compare/v17.8.0...v17.9.5) (2025-10-27) |
6 | 74 |
|
7 | 75 | ### Features |
|
0 commit comments