Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/drop-node-20-cli-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@elgato/cli": patch
---

Updated the plugin template to use `@tsconfig/node24`.
5 changes: 5 additions & 0 deletions .changeset/drop-node-20-docs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@elgato/streamdeck": patch
---

Removed Node.js 20 from the SDK documentation for Stream Deck 7.1 onwards.
5 changes: 5 additions & 0 deletions .changeset/drop-node-20-schemas.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@elgato/schemas": minor
---

Removed Node.js 20 from the supported `Nodejs.Version` values of plugin manifests targeting Stream Deck 7.1 onwards.
5 changes: 5 additions & 0 deletions .changeset/drop-node-20-tsconfig.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@elgato/tsconfig": minor
---

Removed the `node20` configurations; use `node24` or `node26` instead.
26 changes: 1 addition & 25 deletions config/tsconfig/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ These factors are available in the following combinations:
| ------------ | ----- | -------- | ----- | -------------- |
| `dom` | ✅ | ✅ | ✅ | ✅ |
| `isomorphic` | ❌ | ✅ | ✅ | ✅ |
| `node20` | ✅ | ✅ | ✅ | ✅ |
| `node24` | ✅ | ✅ | ✅ | ✅ |
| `node26` | ✅ | ✅ | ✅ | ✅ |

Expand Down Expand Up @@ -75,23 +74,6 @@ pnpm add -D @types/node@^24
}
```

<h3 id="node20">Node.js 20</h3>

Your code runs in a Node.js 20 or higher environment:

```sh
pnpm add -D @types/node@^20
```

```jsonc
{
"extends": "@elgato/tsconfig/node20/app", // For an app
"extends": "@elgato/tsconfig/node20/bundle", // When using a bundler
"extends": "@elgato/tsconfig/node20/lib", // For a library
"extends": "@elgato/tsconfig/node20/monorepo/lib", // For a library in a monorepo
}
```

<h3 id="node24">Node.js 24</h3>

Your code runs in a Node.js 24 or higher environment:
Expand Down Expand Up @@ -135,20 +117,18 @@ Each configuration provides access to different libraries based on the environme
### Environments

- `dom` — code with access to a DOM, such as browsers.
- `node20`, `node24`, `node26` — code with access to Node.js.
- `node24`, `node26` — code with access to Node.js.
- `isomorphic` — code intended for DOM and Node.js environments.

| | `lib` | `target` | `types` |
| ------------ | -------------------------------------------- | -------- | ------- |
| `dom` | `es2022`, `dom`, `dom.iterable` | `es2022` | - |
| `isomorphic` | `es2022` | `es2022` | `node` |
| `node20` | See [`@tsconfig/node20`][node20] | `es2022` | `node` |
| `node24` | See [`@tsconfig/node24`][node24] | `es2024` | `node` |
| `node26` | See [`@tsconfig/node26`][node26]<sup>1</sup> | `es2025` | `node` |

<sup>1</sup> Requires TypeScript 6.0 or higher for `ESNext.Temporal`.

[node20]: https://www.npmjs.com/package/@tsconfig/node20
[node24]: https://www.npmjs.com/package/@tsconfig/node24
[node26]: https://www.npmjs.com/package/@tsconfig/node26

Expand Down Expand Up @@ -197,9 +177,6 @@ Applies to:
- `@elgato/tsconfig/dom/monorepo/lib`
- `@elgato/tsconfig/isomorphic/lib`
- `@elgato/tsconfig/isomorphic/monorepo/lib`
- `@elgato/tsconfig/node20/app`
- `@elgato/tsconfig/node20/lib`
- `@elgato/tsconfig/node20/monorepo/lib`
- `@elgato/tsconfig/node24/app`
- `@elgato/tsconfig/node24/lib`
- `@elgato/tsconfig/node24/monorepo/lib`
Expand Down Expand Up @@ -239,7 +216,6 @@ When developing in a monorepo, the `.tsbuildinfo` file is saved to `dist/tsconfi

- `@elgato/tsconfig/dom/monorepo/lib`
- `@elgato/tsconfig/isomorphic/monorepo/lib`
- `@elgato/tsconfig/node20/monorepo/lib`
- `@elgato/tsconfig/node24/monorepo/lib`
- `@elgato/tsconfig/node26/monorepo/lib`

Expand Down
11 changes: 0 additions & 11 deletions config/tsconfig/node20/tsconfig.app.json

This file was deleted.

11 changes: 0 additions & 11 deletions config/tsconfig/node20/tsconfig.bundle.json

This file was deleted.

11 changes: 0 additions & 11 deletions config/tsconfig/node20/tsconfig.lib.json

This file was deleted.

11 changes: 0 additions & 11 deletions config/tsconfig/node20/tsconfig.monorepo.lib.json

This file was deleted.

4 changes: 0 additions & 4 deletions config/tsconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@
"./isomorphic/bundle": "./isomorphic/tsconfig.bundle.json",
"./isomorphic/lib": "./isomorphic/tsconfig.lib.json",
"./isomorphic/monorepo/lib": "./isomorphic/tsconfig.monorepo.lib.json",
"./node20/app": "./node20/tsconfig.app.json",
"./node20/bundle": "./node20/tsconfig.bundle.json",
"./node20/lib": "./node20/tsconfig.lib.json",
"./node20/monorepo/lib": "./node20/tsconfig.monorepo.lib.json",
"./node24/app": "./node24/tsconfig.app.json",
"./node24/bundle": "./node24/tsconfig.bundle.json",
"./node24/lib": "./node24/tsconfig.lib.json",
Expand Down
30 changes: 15 additions & 15 deletions docs/sdk/introduction/plugin-environment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@ Similar to a web app, the layers of a plugin use separate JavaScript runtimes.

The JavaScript runtime versions, by Stream Deck version, are:

| Stream Deck | Node.js (application) | Chromium (UI) |
| ----------- | ------------------------------- | ---------------- |
| `7.6` | `20.20.2`, `24.22.1`, `26.12.1` | `140.0.0.0` |
| `7.5` | `20.20.2`, `24.22.1`, `26.12.1` | `130.0.0.0` |
| `7.4` | `20.20.2`, `24.22.1`, `26.12.1` | `130.0.0.0` |
| `7.3` | `20.20.2`, `24.22.1`, `26.12.1` | `130.0.0.0` |
| `7.2` | `20.20.2`, `24.22.1`, `26.12.1` | `130.0.0.0` |
| `7.1` | `20.20.2`, `24.22.1`, `26.12.1` | `130.0.0.0` |
| `7.0` | `20.19.0` | `122.0.6261.171` |
| `6.9` | `20.19.0` | `122.0.6261.171` |
| `6.8` | `20.18.0` | `118.0.5993.220` |
| `6.7` | `20.15.0` | `118.0.5993.220` |
| `6.6` | `20.8.1` | `112.0.5615.213` |
| `6.5` | `20.8.1` | `108.0.5359.220` |
| `6.4` | `20.5.1` | `102.0.5005.177` |
| Stream Deck | Node.js (application) | Chromium (UI) |
| ----------- | --------------------- | ---------------- |
| `7.6` | `24.22.1`, `26.12.1` | `140.0.0.0` |
| `7.5` | `24.22.1`, `26.12.1` | `130.0.0.0` |
| `7.4` | `24.22.1`, `26.12.1` | `130.0.0.0` |
| `7.3` | `24.22.1`, `26.12.1` | `130.0.0.0` |
| `7.2` | `24.22.1`, `26.12.1` | `130.0.0.0` |
| `7.1` | `24.22.1`, `26.12.1` | `130.0.0.0` |
| `7.0` | `20.19.0` | `122.0.6261.171` |
| `6.9` | `20.19.0` | `122.0.6261.171` |
| `6.8` | `20.18.0` | `118.0.5993.220` |
| `6.7` | `20.15.0` | `118.0.5993.220` |
| `6.6` | `20.8.1` | `112.0.5615.213` |
| `6.5` | `20.8.1` | `108.0.5359.220` |
| `6.4` | `20.5.1` | `102.0.5005.177` |

<Tip>
From Stream Deck 7.1, Node.js versions are automatically updated to the latest versions supported by Stream Deck.
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/references/_manifest-declaration.g.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type Manifest = {
Nodejs?: {
Debug?: string;
GenerateProfilerOutput?: boolean;
Version: "20" | "24";
Version: "24" | "26";
};
OS: [
{
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/references/_manifest-definitions.g.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ a set of <a href="https://nodejs.org/api/cli.html">command-line arguments</a>.</
</ObjectMember>

<ObjectMember name="Version" id="nodejs-version" >
<ObjectMember.Type>"20", "24"</ObjectMember.Type>
<ObjectMember.Type>"24", "26"</ObjectMember.Type>
<p>Version of Node.js to use.</p>

</ObjectMember>
Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ In this repository, you can find a number of complete plugins for the Stream Dec

## Prerequisites

To build any of these plugins, you will need to ensure you have [Node.js](https://nodejs.org/en/) (version 20+) and [pnpm](https://pnpm.io/installation) installed on your system; pnpm is required to install the dependencies of the samples. To run them, all provided samples require Stream Deck 7.1 or higher, unless otherwise specified in the readme for a sample.
To build any of these plugins, you will need to ensure you have [Node.js](https://nodejs.org/en/) (version 24+) and [pnpm](https://pnpm.io/installation) installed on your system; pnpm is required to install the dependencies of the samples. To run them, all provided samples require Stream Deck 7.1 or higher, unless otherwise specified in the readme for a sample.

Installing the [Stream Deck CLI](https://github.com/elgatosf/cli) tool is strongly recommended. Once you have Node.js and pnpm installed, install it with:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
}
],
"Nodejs": {
"Version": "20",
"Version": "24",
"Debug": "enabled"
},
"UUID": "com.elgato.cat-keys"
Expand Down
Binary file modified examples/cat-keys/com.elgato.cat-keys.streamDeckPlugin
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/cat-keys/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@tsconfig/node20": "^20.1.4",
"@types/node": "22.13.0",
"@tsconfig/node24": "^24.0.6",
"@types/node": "^24.12.0",
"rollup": "^4.32.1",
"tslib": "^2.8.1",
"typescript": "^5.7.3"
Expand Down
2 changes: 1 addition & 1 deletion examples/cat-keys/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node20/tsconfig.json",
"extends": "@tsconfig/node24/tsconfig.json",
"compilerOptions": {
"customConditions": ["node"],
"noImplicitOverride": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/counter/com.elgato.counter.sdPlugin/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
}
],
"Nodejs": {
"Version": "20",
"Version": "24",
"Debug": "enabled"
},
"UUID": "com.elgato.counter"
Expand Down
4 changes: 2 additions & 2 deletions examples/counter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"devDependencies": {
"@elgato/cli": "^1.10.6",
"@tsconfig/node20": "^20.1.2",
"@types/node": "^20.19.0",
"@tsconfig/node24": "^24.0.6",
"@types/node": "^24.12.0",
"rolldown": "^1.0.0-rc.6",
"typescript": "^5.2.2"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/counter/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node20/tsconfig.json",
"extends": "@tsconfig/node24/tsconfig.json",
"compilerOptions": {
"customConditions": ["node"],
"module": "ES2022",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
}
],
"Nodejs": {
"Version": "20",
"Version": "24",
"Debug": "enabled"
},
"UUID": "com.elgato.hello-world"
Expand Down
Binary file modified examples/hello-world/com.elgato.hello-world.streamDeckPlugin
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@tsconfig/node20": "^20.1.4",
"@types/node": "22.13.0",
"@tsconfig/node24": "^24.0.6",
"@types/node": "^24.12.0",
"rollup": "^4.32.1",
"tslib": "^2.8.1",
"typescript": "^5.7.3"
Expand Down
2 changes: 1 addition & 1 deletion examples/hello-world/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node20/tsconfig.json",
"extends": "@tsconfig/node24/tsconfig.json",
"compilerOptions": {
"customConditions": ["node"],
"noImplicitOverride": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
}
],
"Nodejs": {
"Version": "20",
"Version": "24",
"Debug": "enabled"
},
"UUID": "com.elgato.image-resizer"
Expand Down
4 changes: 2 additions & 2 deletions examples/image-resizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@rollup/plugin-node-resolve": "^15.2.2",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.0",
"@tsconfig/node20": "^20.1.2",
"@types/node": "~20.15.0",
"@tsconfig/node24": "^24.0.6",
"@types/node": "^24.12.0",
"rollup": "^4.0.2",
"tslib": "^2.6.2",
"typescript": "^5.2.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/image-resizer/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node20/tsconfig.json",
"extends": "@tsconfig/node24/tsconfig.json",
"compilerOptions": {
"customConditions": ["node"],
"module": "ES2022",
Expand Down
2 changes: 1 addition & 1 deletion examples/layouts/com.elgato.layouts.sdPlugin/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
}
],
"Nodejs": {
"Version": "20",
"Version": "24",
"Debug": "enabled"
},
"UUID": "com.elgato.layouts"
Expand Down
Binary file modified examples/layouts/com.elgato.layouts.streamDeckPlugin
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/layouts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@tsconfig/node20": "^20.1.4",
"@types/node": "22.13.0",
"@tsconfig/node24": "^24.0.6",
"@types/node": "^24.12.0",
"rollup": "^4.32.1",
"tslib": "^2.8.1",
"typescript": "^5.7.3"
Expand Down
2 changes: 1 addition & 1 deletion examples/layouts/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node20/tsconfig.json",
"extends": "@tsconfig/node24/tsconfig.json",
"compilerOptions": {
"customConditions": ["node"],
"noImplicitOverride": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
}
],
"Nodejs": {
"Version": "20",
"Version": "24",
"Debug": "--inspect=127.0.0.1:12311"
},
"UUID": "com.elgato.lightsout",
Expand Down
Binary file modified examples/lights-out/com.elgato.lightsout.streamDeckPlugin
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/lights-out/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@tsconfig/node20": "^20.1.4",
"@types/node": "22.13.0",
"@tsconfig/node24": "^24.0.6",
"@types/node": "^24.12.0",
"rollup": "^4.32.1",
"tslib": "^2.8.1",
"typescript": "^5.7.3"
Expand Down
2 changes: 1 addition & 1 deletion examples/lights-out/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node20/tsconfig.json",
"extends": "@tsconfig/node24/tsconfig.json",
"compilerOptions": {
"customConditions": ["node"],
"noImplicitOverride": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
}
],
"Nodejs": {
"Version": "20",
"Version": "24",
"Debug": "enabled"
},
"UUID": "com.elgato.product-viewer"
Expand Down
Binary file not shown.
Loading
Loading