bdo-cli 0.46.0 → 0.47.0

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +10 -1
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -5,6 +5,50 @@ All notable changes to Bushido (bdo) will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.47.0] (2026-10-17)
9
+
10
+ ### Features
11
+
12
+ - **`BDO_QUIET=1` silences bdo's advisory notes on stderr** — the
13
+ reduced-view hint after `bdo read`, the daily "no hook installed / hook
14
+ outdated" reminder, and the "--raw has no effect" note. Output, errors, the
15
+ wrapped command's stderr, warnings that bdo misbehaved and the
16
+ `[full output: …]` pointer are unaffected. A suppressed hook reminder is not
17
+ spent: it still shows on the next run without `BDO_QUIET`.
18
+
19
+ ### Fixed
20
+
21
+ - **Unit tests no longer race on, or write to, the real tracking DB.** A test
22
+ rewrote the process-wide `BDO_DB_PATH` while other tests opened trackers in
23
+ parallel, and several tests recorded rows into the user's own `history.db`
24
+ (visible in `bdo gain`). Each test thread now gets a throwaway DB.
25
+
26
+ ### Security
27
+
28
+ - **npm publishing moved to Trusted Publishing (OIDC).** The release
29
+ workflow no longer uses a long-lived `NPM_TOKEN` secret: npm verifies a
30
+ short-lived token GitHub issues to the `publish-npm` job, and the package
31
+ gets npm provenance. The hardening check fails if a stored npm token comes
32
+ back (e.g. after `dist generate`).
33
+
34
+ ## [0.46.1] (2026-10-17)
35
+
36
+ ### Security
37
+
38
+ - **rustls 0.23.45 → 0.23.46** (via `ureq`), fixing RUSTSEC-2026-0346
39
+ (`Debug` impls for client session values expose TLS secrets, medium),
40
+ RUSTSEC-2026-0347, RUSTSEC-2026-0348 and RUSTSEC-2026-0349 (including an
41
+ unauthenticated ServerHello downgrading later connections to classical key
42
+ exchange, low). Caught by the daily scheduled `cargo audit` run. No code
43
+ changes.
44
+
45
+ - **CI actions pinned to commit SHAs.** `ci.yml` used mutable refs
46
+ (`actions/checkout@v6`, `dtolnay/rust-toolchain@1.91`), so whoever controls
47
+ those tags or branches could change what runs on every PR. They are now
48
+ pinned like `release.yml`, every checkout drops its credentials
49
+ (`persist-credentials: false`), and the hardening check runs against
50
+ `ci.yml` too, so an unpinned action fails CI.
51
+
8
52
  ## [0.46.0] (2026-10-04)
9
53
 
10
54
  ### Features
package/README.md CHANGED
@@ -97,7 +97,7 @@ Each has a `.sha256` sidecar — verify before extracting.
97
97
  ### Verify Installation
98
98
 
99
99
  ```bash
100
- bdo --version # Should show "bdo 0.46.0"
100
+ bdo --version # Should show "bdo 0.47.0"
101
101
  bdo gain # Should show token savings stats
102
102
  ```
103
103
 
@@ -427,6 +427,15 @@ just runs raw. Raw runs are still tracked, at 0% savings.
427
427
  The older per-command switches — `bdo read -l none`, `BDO_NO_TOML=1`,
428
428
  `bdo proxy <cmd>` — keep working.
429
429
 
430
+ ### Quiet mode (`BDO_QUIET=1`)
431
+
432
+ `BDO_QUIET=1` silences bdo's own advisory notes on stderr: the
433
+ "reduced view — full raw content: …" hint after `bdo read`, the daily
434
+ "no hook installed / hook outdated" reminder, and the "--raw has no effect"
435
+ note. Command output, errors, the wrapped command's own stderr, warnings that
436
+ bdo itself misbehaved (a filter panic, a failed hook integrity check) and the
437
+ `[full output: …]` pointer are unaffected.
438
+
430
439
  ## Examples
431
440
 
432
441
  **Directory listing:**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/tedorigawa001/TokenReductionTool-BDO/releases/download/v0.46.0"
3
+ "https://github.com/tedorigawa001/TokenReductionTool-BDO/releases/download/v0.47.0"
4
4
  ],
5
5
  "author": "Patrick Szymkowiak",
6
6
  "bin": {
@@ -91,7 +91,7 @@
91
91
  "zipExt": ".tar.xz"
92
92
  }
93
93
  },
94
- "version": "0.46.0",
94
+ "version": "0.47.0",
95
95
  "volta": {
96
96
  "node": "18.14.1",
97
97
  "npm": "9.5.0"