Skip to content

Commit d577521

Browse files
Version Packages (#1219)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 608893e commit d577521

5 files changed

Lines changed: 28 additions & 33 deletions

File tree

.changeset/dry-forks-melt.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/every-animals-poke.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/fix-non-tty-config-prompts.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

packages/cloudflare/CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# @opennextjs/cloudflare
22

3+
## 1.19.3
4+
5+
### Patch Changes
6+
7+
- [#1215](https://github.com/opennextjs/opennextjs-cloudflare/pull/1215) [`608893e`](https://github.com/opennextjs/opennextjs-cloudflare/commit/608893e63e1ee16d07c7ec42da979657cf2a62bd) Thanks [@vicb](https://github.com/vicb)! - Factor large repeated values in manifests
8+
9+
This reduce the size of the generated code.
10+
11+
- [#1218](https://github.com/opennextjs/opennextjs-cloudflare/pull/1218) [`f0d0226`](https://github.com/opennextjs/opennextjs-cloudflare/commit/f0d022685b24881a142bb01005ff78089be8c8d3) Thanks [@314systems](https://github.com/314systems)! - remove `process.version` override
12+
13+
Remove process.version / process.versions.node overrides now that [unjs/unenv#493](https://github.com/unjs/unenv/pull/493) is merged and shipped in [[email protected]](https://github.com/unjs/unenv/releases/tag/v2.0.0-rc.16) (project uses 2.0.0-rc.24)
14+
15+
- [#1199](https://github.com/opennextjs/opennextjs-cloudflare/pull/1199) [`32594d6`](https://github.com/opennextjs/opennextjs-cloudflare/commit/32594d6a921c5ebdbe25f38635bb2c9dabdcbff1) Thanks [@SdSadat](https://github.com/SdSadat)! - fix(cli): fail fast in non-TTY environments instead of hanging on config-creation prompts
16+
17+
When `open-next.config.ts` (or `wrangler.(toml|json|jsonc)`) is missing, the CLI
18+
prompts the user to auto-create it. In non-TTY environments (Cloudflare Workers
19+
Builds, Docker, CI) the Enquirer prompt can't read stdin, so the build hangs or
20+
fails with a truncated prompt and a cryptic exit code — the user sees
21+
`? Missing required open-next.config.ts file, do you want to create one? (Y/n)`
22+
and then ` ELIFECYCLE Command failed with exit code 13`, with no hint at what
23+
to do next.
24+
25+
Now, in non-interactive environments, both prompts throw an actionable error
26+
with the exact template to paste (for `open-next.config.ts`) or point at the
27+
existing `--skipWranglerConfigCheck` / `SKIP_WRANGLER_CONFIG_CHECK` escape
28+
hatch (for the wrangler config). Interactive behavior is unchanged.
29+
330
## 1.19.2
431

532
### Patch Changes

packages/cloudflare/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@opennextjs/cloudflare",
33
"description": "Cloudflare builder for next apps",
4-
"version": "1.19.2",
4+
"version": "1.19.3",
55
"type": "module",
66
"scripts": {
77
"clean": "rimraf dist",

0 commit comments

Comments
 (0)