diff --git a/apps/site/pages/en/blog/release/v25.5.0.md b/apps/site/pages/en/blog/release/v25.5.0.md index 0986d65ac74fa..d9430ca90b64f 100644 --- a/apps/site/pages/en/blog/release/v25.5.0.md +++ b/apps/site/pages/en/blog/release/v25.5.0.md @@ -10,6 +10,28 @@ author: Antoine du Hamel ### Notable Changes +#### Streamlined building process of Single Executable Applications (SEA) + +This release introduces a new `--build-sea` command-line flag that simplifies the process of building [Single Executable Applications (SEA)](https://nodejs.org/api/single-executable-application.html) using Node.js. + +Previously, SEA generation involved copying the executable, generating the preparation blob with `--experimental-sea-config`, and injecting the blob into the copy using [nodejs/postject](https://github.com/nodejs/postject). With the new `--build-sea` flag, these steps are now consolidated into a single step available from Node.js core. + +```console +$ echo 'console.log("Hello")' > hello.js +$ echo '{ "main": "hello.js", "output": "sea" }' > sea-config.json +$ node --build-sea sea-config.json +$ ./sea +Hello +``` + +For the time being, backward compatibility with the postject-based SEA building process as well as the `--experimental-sea-config` will be maintained, until there's motivation to break it (e.g. for optimizations). + +See the [documentation](https://nodejs.org/download/release/v25.5.0/docs/api/single-executable-applications.html#generating-single-executable-applications-with---build-sea) for more details. + +Contributed by Joyee Cheung in [#61167](https://github.com/nodejs/node/pull/61167). + +#### Other Notable Changes + - \[[`99a4e51f93`](https://github.com/nodejs/node/commit/99a4e51f93)] - **crypto**: update root certificates to NSS 3.119 (Node.js GitHub Bot) [#61419](https://github.com/nodejs/node/pull/61419) - \[[`fbe4da5725`](https://github.com/nodejs/node/commit/fbe4da5725)] - **(SEMVER-MINOR)** **deps**: add LIEF as a dependency (Joyee Cheung) [#61167](https://github.com/nodejs/node/pull/61167) - \[[`0feab0f083`](https://github.com/nodejs/node/commit/0feab0f083)] - **(SEMVER-MINOR)** **deps**: add tools and scripts to pull LIEF as a dependency (Joyee Cheung) [#61167](https://github.com/nodejs/node/pull/61167)