diff --git a/website/docs/release-notes.md b/website/docs/release-notes.md index 2f219775a1..b9b1e6937d 100644 --- a/website/docs/release-notes.md +++ b/website/docs/release-notes.md @@ -14,6 +14,18 @@ sidebar_position: 8 +## 4.2.2 + +**Minor Improvements** + +- Improved price scale width calculation by not allocating space for crosshair labels when the crosshair is disabled. (PR [#1743](https://github.com/tradingview/lightweight-charts/issues/1743)) + +**Bug Fixes** + +- Fixed calculations for `fixLeftEdge` and `fixRightEdge` on the first render when both are true and data is added to an initially empty chart. Fixes issue [#1356](https://github.com/tradingview/lightweight-charts/issues/1356). (PR [#1741](https://github.com/tradingview/lightweight-charts/issues/1741)) + +[Changes since the last published version](https://github.com/tradingview/lightweight-charts/compare/v4.2.1..v4.2.2). + ## 4.2.1 **Bug Fixes** diff --git a/website/package.json b/website/package.json index 2ef82bc43b..95e443cc6c 100644 --- a/website/package.json +++ b/website/package.json @@ -20,12 +20,12 @@ "@types/react": "^17.0", "cross-env": "~7.0.3", "docusaurus-plugin-typedoc": "0.18.0", - "lightweight-charts": "~4.2.1", + "lightweight-charts": "~4.2.2", "lightweight-charts-local": "file:..", "lightweight-charts-3.8": "npm:lightweight-charts@~3.8.0", "lightweight-charts-4.0": "npm:lightweight-charts@~4.0.1", "lightweight-charts-4.1": "npm:lightweight-charts@~4.1.7", - "lightweight-charts-4.2": "npm:lightweight-charts@~4.2.1", + "lightweight-charts-4.2": "npm:lightweight-charts@~4.2.2", "prism-react-renderer": "~1.3.5", "raw-loader": "~4.0.2", "react": "^17.0", diff --git a/website/versioned_docs/version-4.2/release-notes.md b/website/versioned_docs/version-4.2/release-notes.md index 2f219775a1..b9b1e6937d 100644 --- a/website/versioned_docs/version-4.2/release-notes.md +++ b/website/versioned_docs/version-4.2/release-notes.md @@ -14,6 +14,18 @@ sidebar_position: 8 +## 4.2.2 + +**Minor Improvements** + +- Improved price scale width calculation by not allocating space for crosshair labels when the crosshair is disabled. (PR [#1743](https://github.com/tradingview/lightweight-charts/issues/1743)) + +**Bug Fixes** + +- Fixed calculations for `fixLeftEdge` and `fixRightEdge` on the first render when both are true and data is added to an initially empty chart. Fixes issue [#1356](https://github.com/tradingview/lightweight-charts/issues/1356). (PR [#1741](https://github.com/tradingview/lightweight-charts/issues/1741)) + +[Changes since the last published version](https://github.com/tradingview/lightweight-charts/compare/v4.2.1..v4.2.2). + ## 4.2.1 **Bug Fixes**