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
2 changes: 1 addition & 1 deletion src/source/content/nextjs/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Support for Next.js is available to customers with Gold, Platinum or Diamond Wor
* **Node versions:**
* Pantheon provides the latest 3 LTS versions of Node.js. Pantheon derives which one to use by looking at the engines property in `package.json`, so ensure this is set in your project’s configuration.
* **Package managers:**
* Pantheon will use `npm`, `yarn`, or `pnpm` depending on which lock file you have present in your repository. Having a lock file for more than one package manager can create unpredictable behavior.
* Pantheon will use `npm`, `yarn`, `pnpm`, or `bun` depending on which lock file you have present in your repository. Having a lock file for more than one package manager can create unpredictable behavior.
* **Expected commands in `package.json`:**
* Pantheon assumes that a Next.js site has a `package.json` file with `build` and `start` commands. Sites using `yarn` must have a `gcp-build` script instead of, or in addition to `build`. We consider inconsistency a bug in underlying Google Cloud build processes we leverage and [will update this guidance once it is resolved](https://github.com/pantheon-systems/documentation/issues/9888).

Expand Down
32 changes: 32 additions & 0 deletions src/source/releasenotes/2026-06-22-nextjs-bun-node26.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: Bun package manager and Node.js 26 support for Next.js sites
published_date: "2026-06-22"
published_at: "2026-06-22T19:18:48Z"
categories: [nextjs, new-feature]
---

Pantheon now supports [Bun](https://bun.sh) as a package manager for Next.js sites, alongside npm, yarn, and pnpm. We've also added support for Node.js 26 (LTS).

## Bun support

To use Bun, add a `bun.lock` file to your repository. Pantheon automatically detects the lock file and uses Bun to install your dependencies during the build process.

You can specify a Bun version in the `engines.bun` or `packageManager` field of your `package.json`. If no version is specified, Pantheon defaults to the latest stable release.

## Node.js 26 support

Node.js 26 is now available as an LTS runtime for Next.js sites. Set the `engines.node` field in your `package.json` to use it:

```json
{
"engines": {
"node": "26"
}
}
```

## Node.js 20 removed

Node.js 20 has reached end of life and is no longer available as a runtime. Sites using Node.js 20 must upgrade to Node.js 22 or later.

For more details about Next.js on Pantheon, see our [Next.js documentation](/nextjs).
Loading