From bb0a934ba0b9e3f11f70e4c0736081ca47aeab73 Mon Sep 17 00:00:00 2001 From: Mathieu Colmon Date: Tue, 3 Nov 2026 15:48:28 +0100 Subject: [PATCH] Release 4.1.1 Patch release: the "Can't parse pine" fix (#355) moves from the beta tag to latest. Same code as 4.1.1-beta.0. --- docs/release-4.1.1.md | 15 +++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 docs/release-4.1.1.md diff --git a/docs/release-4.1.1.md b/docs/release-4.1.1.md new file mode 100644 index 0000000..97bf004 --- /dev/null +++ b/docs/release-4.1.1.md @@ -0,0 +1,15 @@ +# 4.1.1 + +Release channel: `latest`. Patch release: no API change for 4.1.0 users. + +## Pine studies: "Can't parse pine" + +Since 27 Oct 2026, every Pine study failed on the chart with `study_error` "Can't parse pine": built-in (`STD;`), public (`PUB;`) and private (`USER;`) scripts alike, on 3.5.x and 4.x (#354). + +TradingView moved the compiled script out of `pine-facade/translate`'s `result.ilTemplate`: first to the hidden `text` input, then to `result.metaInfo.defaults.inputs.text`. `getIndicator()` now reads all three locations, so a rollback on TradingView's side keeps working, and throws a clear `PARSE_ERROR` when none holds a compiled script (#355). + +Verified live with an authenticated session: `STD;RSI` and a private `USER;` indicator return data again. + +Still on 3.5.x: see the patch for `getIndicator` in `src/miscRequests.js` in #354. + +Pre-release 4.1.1-beta.0 was published under the `beta` tag on 30 Oct 2026. 4.1.1 has the same code; only the version and these notes change. diff --git a/package-lock.json b/package-lock.json index 66f3f0a..2c2687a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mathieuc/tradingview", - "version": "4.1.0", + "version": "4.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@mathieuc/tradingview", - "version": "4.1.0", + "version": "4.1.1", "license": "ISC", "dependencies": { "ws": "^8.18.0" diff --git a/package.json b/package.json index 6df5271..d3d1776 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mathieuc/tradingview", - "version": "4.1.0", + "version": "4.1.1", "description": "TradingView market data for JavaScript and TypeScript: candles, quotes, indicators and strategies, with a simple data API and full low-level access.", "type": "module", "main": "./dist/index.js",