Skip to content

Commit 0ebd636

Browse files
Release btc-risk-lab v0.2.0
1 parent 9064e0a commit 0ebd636

12 files changed

Lines changed: 1542 additions & 45 deletions

File tree

.github/workflows/release.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
jobs:
9+
publish:
10+
name: Publish crate
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Install stable Rust
19+
uses: dtolnay/rust-toolchain@stable
20+
with:
21+
components: rustfmt, clippy
22+
23+
- name: Cache cargo
24+
uses: Swatinem/rust-cache@v2
25+
26+
- name: Format
27+
run: cargo fmt --all -- --check
28+
29+
- name: Clippy
30+
run: cargo clippy --all-targets --all-features -- -D warnings
31+
32+
- name: Test
33+
run: cargo test --all-features
34+
35+
- name: Publish to crates.io
36+
run: cargo publish --locked --token "$CRATES_IO_TOKEN"
37+
env:
38+
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Changelog
2+
3+
## v0.2.0 - 2026-06-12
4+
5+
### Added
6+
7+
- Added crates.io-ready package metadata and bumped the crate to `0.2.0`.
8+
- Added `analyze-tx --hex <HEX>` for direct raw transaction analysis without a JSON file.
9+
- Added optional `fetch` feature with `fetch-tx --txid <TXID>` to read public transaction data from mempool.space Esplora over HTTPS and fill prevouts when available.
10+
- Added release automation that publishes to crates.io on `v*` tags using the `CRATES_IO_TOKEN` GitHub secret.
11+
- Added a README demo asset at `docs/assets/demo.svg`.
12+
13+
### Changed
14+
15+
- Transaction analysis continues to report fee unavailable when prevout values are absent instead of inventing a fee.
16+
- `fetch-tx` uses Esplora's public fee field only when prevout data is incomplete, such as the genesis coinbase fallback.
17+
18+
### Security
19+
20+
- The new network path is opt-in behind `--features fetch` and only performs public read-only HTTPS GET requests.
21+
- No signing, key custody, wallet creation, broadcasting, seed phrase handling, or AI artifact upload paths were added.

0 commit comments

Comments
 (0)