Skip to content

πŸ“ˆ Get real-time stocks from TradingView

Release 4.0.1

Mathieu Colmon1ace6ab5b4b9
diff --git a/docs/release-4.0.1.md b/docs/release-4.0.1.md
new file mode 100644
index 0000000..cc208b9
--- /dev/null
+++ b/docs/release-4.0.1.md
@@ -0,0 +1,13 @@
+# 4.0.1
+
+Release channel: `latest`. Patch release; no API changes.
+
+## Changes
+
+- The `npx @mathieuc/tradingview` quick-start opens the TradingView agent page on molted.studio directly (the previous `market-watch-alerts` URL redirected there), with `utm_medium=cli` tracking.
+- README (EN/FR/ES/PT) opens with the product film; the film files are excluded from the npm tarball to keep installs small.
+- The Bun proxy test accepts newer Bun wording for HTTP 407 WebSocket errors. Client behavior is unchanged.
+
+## Deprecation
+
+npm versions below 4 are now marked as deprecated, pointing to the [migration guide](migration-v4.md).
diff --git a/package-lock.json b/package-lock.json
index ccdc87c..1a9ff9e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,16 +1,19 @@
{
"name": "@mathieuc/tradingview",
- "version": "4.0.0",
+ "version": "4.0.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@mathieuc/tradingview",
- "version": "4.0.0",
+ "version": "4.0.1",
"license": "ISC",
"dependencies": {
"ws": "^8.18.0"
},
+ "bin": {
+ "tradingview": "bin/tradingview.mjs"
+ },
"devDependencies": {
"@eslint/js": "^9.39.0",
"@types/node": "^22.20.5",
@@ -23,9 +26,6 @@
},
"engines": {
"node": ">=20.0.0"
- },
- "bin": {
- "tradingview": "bin/tradingview.mjs"
}
},
"node_modules/@babel/helper-string-parser": {
diff --git a/package.json b/package.json
index be71b59..610f0cd 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@mathieuc/tradingview",
- "version": "4.0.0",
+ "version": "4.0.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",
@@ -25,6 +25,7 @@
"scripts/endurance.mjs",
"scripts/probe-account.mjs",
"assets",
+ "!assets/readme-film*.webp",
"llms.txt",
"examples",
"scripts/parity.mjs",