bdo-cli 0.45.0 → 0.45.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 +27 -0
- package/README.md +7 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,33 @@ 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.45.1] (2026-09-05)
|
|
9
|
+
|
|
10
|
+
The `bdo` binary is unchanged from 0.45.0 — this release fixes the installer
|
|
11
|
+
and the CI guard around it.
|
|
12
|
+
|
|
13
|
+
### Fixes
|
|
14
|
+
|
|
15
|
+
- **`install.sh` could never install anything.** It requested
|
|
16
|
+
`bdo-<target>.tar.gz`, but releases publish `bushido-<target>.tar.xz` — the
|
|
17
|
+
archive is named after the crate, not the binary, and compressed with xz, so
|
|
18
|
+
every download 404'd. Adding checksum verification in 0.45.0 didn't reveal
|
|
19
|
+
this because the failure happens a step earlier. Alongside the name: the
|
|
20
|
+
explicit `-z` is gone (GNU tar applies a compression flag literally and fails
|
|
21
|
+
on a valid archive; both tars auto-detect), and the binary is now taken from
|
|
22
|
+
the `<crate>-<target>/` directory the archive actually contains rather than
|
|
23
|
+
the archive root.
|
|
24
|
+
- **The installer reported the wrong binary.** `verify()` resolved `bdo`
|
|
25
|
+
through `PATH`, so another copy shadowing the install directory printed its
|
|
26
|
+
version — making a good install read as a failed upgrade. It now reports the
|
|
27
|
+
binary it just installed, by path, and warns when something else on `PATH`
|
|
28
|
+
will run instead.
|
|
29
|
+
- **`scripts/check-release-hardening.sh` passed mutable action refs.** It
|
|
30
|
+
blocklisted `@v<digit>` instead of requiring a 40-char commit SHA, so
|
|
31
|
+
`@main`, `@latest` and `@1.2.3` all reported "hardening intact" — false
|
|
32
|
+
assurance about the workflow that holds the publish tokens. It now asserts
|
|
33
|
+
the allowed shape.
|
|
34
|
+
|
|
8
35
|
## [0.45.0] (2026-08-16)
|
|
9
36
|
|
|
10
37
|
A security release. Two changes alter behavior you may notice — see
|
package/README.md
CHANGED
|
@@ -76,16 +76,19 @@ cargo install --git https://github.com/tedorigawa001/TokenReductionTool
|
|
|
76
76
|
### Pre-built Binaries
|
|
77
77
|
|
|
78
78
|
Download from [releases](https://github.com/tedorigawa001/TokenReductionTool/releases):
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
Archives are named after the crate (`bushido`); the binary inside is `bdo`.
|
|
80
|
+
Each has a `.sha256` sidecar — verify before extracting.
|
|
81
|
+
|
|
82
|
+
- macOS: `bushido-x86_64-apple-darwin.tar.xz` / `bushido-aarch64-apple-darwin.tar.xz`
|
|
83
|
+
- Linux: `bushido-x86_64-unknown-linux-gnu.tar.xz` / `bushido-aarch64-unknown-linux-gnu.tar.xz`
|
|
84
|
+
- Windows: `bushido-x86_64-pc-windows-msvc.zip`
|
|
82
85
|
|
|
83
86
|
> **Windows users**: Extract the zip and place `bdo.exe` somewhere in your PATH (e.g. `C:\Users\<you>\.local\bin`). Run Bushido from **Command Prompt**, **PowerShell**, or **Windows Terminal** — do not double-click the `.exe` (it will flash and close). For the best experience, use [WSL](https://learn.microsoft.com/en-us/windows/wsl/install) where the full hook system works natively. See [Windows setup](#windows) below for details.
|
|
84
87
|
|
|
85
88
|
### Verify Installation
|
|
86
89
|
|
|
87
90
|
```bash
|
|
88
|
-
bdo --version # Should show "bdo 0.45.
|
|
91
|
+
bdo --version # Should show "bdo 0.45.1"
|
|
89
92
|
bdo gain # Should show token savings stats
|
|
90
93
|
```
|
|
91
94
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"artifactDownloadUrls": [
|
|
3
|
-
"https://github.com/tedorigawa001/TokenReductionTool-BDO/releases/download/v0.45.
|
|
3
|
+
"https://github.com/tedorigawa001/TokenReductionTool-BDO/releases/download/v0.45.1"
|
|
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.45.
|
|
94
|
+
"version": "0.45.1",
|
|
95
95
|
"volta": {
|
|
96
96
|
"node": "18.14.1",
|
|
97
97
|
"npm": "9.5.0"
|