Skip to content
Merged
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
14 changes: 14 additions & 0 deletions .changeset/node-20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
ggt: major
---

Require Node.js 20 or later.

Node.js 18 reached End-of-Life (EOL) on 2025-04-30:

- https://github.com/nodejs/release#end-of-life-releases
- https://nodejs.org/en/blog/announcements/node-18-eol-support

This means Node.js 18 no longer receives security updates and bug fixes.

ggt runs on your computer, so it's important to use a supported version of Node to ensure you have the latest security updates. **Your Gadget environment will continue to use the Node version specified in your [Framework version](https://docs.gadget.dev/guides/gadget-framework).**
6 changes: 0 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ updates:
- dependency-name: "@types/node" # manually updated
update-types:
- "version-update:semver-major"
- dependency-name: "cli-spinners" # requires node >= 18.20, but ggt supports >= 18.0
update-types:
- "version-update:semver-major"
- dependency-name: "execa" # requires node >= 18.18, but ggt supports >= 18.0
update-types:
- "version-update:semver-major"

- package-ecosystem: github-actions
directory: /
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: pnpm

- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: pnpm

- name: Install dependencies
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: pnpm

- name: Install dependencies
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: pnpm

- name: Install dependencies
Expand Down
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,6 @@
- c783efa: Fix `TooManySyncAttemptsError` when local directory's permissions don't match Gadget's
- 340a5de: Fix errors serializing `bigint`s when `--json` is passed
- 3de43d1: Logging improvements:

- No longer truncating arrays in logs when `--json` is passed
- Now truncating objects in logs unless log level is trace
- Showing number of truncated elements/properties when arrays/objects are truncated
Expand Down Expand Up @@ -738,7 +737,6 @@
- b110061: Bump @oclif/plugin-warn-if-update-available from 2.0.42 to 2.0.44
- c482369: Bump @oclif/plugin-not-found from 2.3.27 to 2.3.28
- ee23711: Improve sentry integration

- Added sentry breadcrumbs to help debug on-going bugs.
- Added ability to disable sentry via `GGT_SENTRY_ENABLED=false`

Expand Down
12 changes: 6 additions & 6 deletions nix/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nix/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
mkcert = pkgs.mkcert;
nix-direnv = pkgs.nix-direnv;
nixpkgs-fmt = pkgs.nixpkgs-fmt;
nodejs = pkgs.nodejs-18_x;
nodejs = pkgs.nodejs_20;
yarn = pkgs.yarn.override { nodejs = flake.packages.nodejs; };

ggt = pkgs.writeShellScriptBin "ggt" ''
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"release": "pnpm run build && changeset publish",
"test": "vitest --cache",
"test:watch": "pnpm run test --watch",
"version": "changeset version && node --loader=ts-node/esm --no-warnings scripts/generate-readme.ts"
"version": "changeset version && prettier --write CHANGELOG.md && node --loader=ts-node/esm --no-warnings scripts/generate-readme.ts"
},
"devDependencies": {
"@changesets/cli": "^2.29.4",
Expand All @@ -55,7 +55,7 @@
"@types/fast-levenshtein": "^0.0.4",
"@types/fs-extra": "^11.0.4",
"@types/ms": "^2.1.0",
"@types/node": "^18.19.101",
"@types/node": "^20.19.24",
"@types/node-notifier": "^8.0.5",
"@types/normalize-package-data": "^2.4.4",
"@types/normalize-path": "^3.0.2",
Expand Down Expand Up @@ -140,6 +140,6 @@
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
}
}
Loading