@wirecat/cli-base 0.83.0 → 0.83.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/dev/land.js +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,16 @@ Versions before 0.8.0 are in the [git tags](https://github.com/WireCatLabs/cli-b
|
|
|
8
8
|
Every entry says what changed as a caller sees it, why, and what to watch for — the rules are
|
|
9
9
|
[`docs/dev/CONVENTIONS.md`](docs/dev/CONVENTIONS.md#the-changelog).
|
|
10
10
|
|
|
11
|
+
## 0.83.1 — 08.11.2026
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **`cli-dev changelog restore` and the other `--land` steps read an output past 1 MiB.** Their git and gh calls had
|
|
16
|
+
Node's default 1 MiB output limit, so `restore` failed once a released `CHANGELOG.md` passed that size, as
|
|
17
|
+
cli-core's did at 0.607.0, and its error printed the changelog instead of the cause. The limit is now 64 MiB, the
|
|
18
|
+
same as `@wirecat/cli-base/release`, and a call that cannot run says why (`ENOBUFS`, `ENOENT`). A release script
|
|
19
|
+
that pins an older cli-base for `changelog restore` should take this version.
|
|
20
|
+
|
|
11
21
|
## 0.83.0 — 08.11.2026
|
|
12
22
|
|
|
13
23
|
### Added
|
package/dist/dev/land.js
CHANGED
|
@@ -3,7 +3,10 @@ import spawn from "cross-spawn";
|
|
|
3
3
|
import { foldUnreleased, mergeRepeatedHeadings, restoreReleased } from "../release/index.js";
|
|
4
4
|
export const processShell = (cwd) => ({
|
|
5
5
|
run: (command, args) => {
|
|
6
|
-
|
|
6
|
+
// Node's default 1 MiB output limit cut `git show` of a changelog past that size (cli-core 0.607.0).
|
|
7
|
+
const result = spawn.sync(command, [...args], { cwd, encoding: "utf8", maxBuffer: 64 * 1024 * 1024 });
|
|
8
|
+
if (result.error)
|
|
9
|
+
return { ok: false, out: result.error.message };
|
|
7
10
|
return { ok: result.status === 0, out: `${result.stdout ?? ""}${result.stderr ?? ""}`.trim() };
|
|
8
11
|
},
|
|
9
12
|
sleep: (ms) => Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, ms),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/cli-base",
|
|
3
|
-
"version": "0.83.
|
|
3
|
+
"version": "0.83.1",
|
|
4
4
|
"description": "The parts every command line tool needs: output modes, terminal rendering, error model, exit codes, credentials, clocks",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Viacheslav Ptsarev",
|