@neo4j-nvl/react 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  All notable changes to NVL will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
4
4
 
5
+ ## [1.2.2] - 2026-09-07
6
+
7
+ This 1.2.2 patch release adds migration warnings for breaking changes planned for the next major release.
8
+
9
+ ### Added
10
+ * `styling.overlayLineColor` for overlay UI stroke color (e.g. minimap viewport box).
11
+ * Note in documentation on changes to client/screen coordinates on `NVL.getNodes()` and `onLayoutStep` `x`/`y`, moving screen coordinates to `clientPosition`.
12
+
13
+ ### Deprecated
14
+ * `styling.minimapViewportBoxColor` in favour of `styling.overlayLineColor` (old option still works as a fallback).
15
+ * `ForceDirectedOptions.intelWorkaround` (upgrade to WebGL2 in the next major release removes the need for it).
16
+ * Top-level React wrapper `layout` / `layoutOptions` props in favour of `nvlOptions.layout` / `nvlOptions.layoutOptions`.
17
+
5
18
  ## [1.2.1] - 2026-07-28
6
19
 
7
20
  This 1.2.1 patch release contains several fixes and accessibility improvements.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neo4j-nvl/react",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "main": "lib/index.js",
5
5
  "homepage": "https://neo4j.com/docs/nvl/current/",
6
6
  "license": "SEE LICENSE IN 'LICENSE.txt'",
@@ -36,8 +36,8 @@
36
36
  "react-dom": "19.2.1"
37
37
  },
38
38
  "dependencies": {
39
- "@neo4j-nvl/base": "1.2.1",
40
- "@neo4j-nvl/interaction-handlers": "1.2.1",
39
+ "@neo4j-nvl/base": "1.2.2",
40
+ "@neo4j-nvl/interaction-handlers": "1.2.2",
41
41
  "lodash": "4.18.1"
42
42
  },
43
43
  "peerDependencies": {