diff --git a/changelog.md b/changelog.md index 91ca6889..d35808a2 100644 --- a/changelog.md +++ b/changelog.md @@ -4,9 +4,33 @@ + +## Version 31.1.0 + +*Date: Wed Apr 08 2026* + +**New Features** + +- **Added CSP nonce support for widget bootstrap scripts and same-origin iframe loading.** The new [`nonce`](https:/www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.ChartingLibraryWidgetOptions#nonce) widget constructor property applies a Content Security Policy (CSP) nonce to TradingView-owned bootstrap scripts and runtime-created style/script tags inside the library iframe. When `nonce` is omitted, the library attempts to infer the nonce from `window.__tvCspNonce` or a host-page ` + - \ No newline at end of file + diff --git a/package.json b/package.json index 9c135f3f..1eb3195b 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,6 @@ }, "homepage": "https://www.tradingview.com/charting-library-docs", "name": "charting_library", - "version": "31.0.0", + "version": "31.1.0", "types": "charting_library.d.ts" } \ No newline at end of file