Skip to content

Commit d007ee4

Browse files
authored
chore(deps): refresh dependencies and add supply-chain gate (#39)
* chore(deps): refresh dependencies and prepare 0.4.0 Update bdk_chain, bdk_wallet, rand, and toml, and pick up Turso 0.8.4. Keep branches at 0.4.6 so it unifies with Turso's requirement and retains the std-feature workaround. Advance time to 0.3.55 to fix RUSTSEC-2026-0009. * ci: add cargo-deny supply-chain gate Run advisories, licenses, bans, and sources in CI and release verification. Record three time-limited, documented exceptions in deny.toml. * docs: add security policy and release audit steps Document vulnerability reporting, triage, advisory dispositions, and Turso upgrade tracking, and require the audit before every release. * fix(ci): drop unused rsa advisory exception cargo-deny correctly rejects an ignore for an advisory that is not in the resolved graph. rsa remains in Cargo.lock only through an unused sqlx-mysql path. * chore: keep crate version at the last published release Leave Cargo.toml at 0.3.2 and collect the pending work under Unreleased so the changelog never links to a version that does not exist. Rewrite the pending notes in user-facing language.
1 parent 9311162 commit d007ee4

9 files changed

Lines changed: 371 additions & 211 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@ jobs:
2525
- run: cargo test --all-targets --all-features --locked
2626
- run: cargo check --no-default-features --locked
2727

28+
supply-chain:
29+
name: Supply chain
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v4
33+
- uses: EmbarkStudios/cargo-deny-action@v2
34+
with:
35+
command: check
36+
arguments: --all-features
37+
2838
docs:
2939
name: Docs
3040
runs-on: ubuntu-latest

‎.github/workflows/publish.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ jobs:
2626
- run: cargo test --all-targets --all-features --locked
2727
- run: cargo check --no-default-features --locked
2828
- run: RUSTDOCFLAGS="-D warnings" cargo doc --all-features --no-deps --locked
29+
- uses: EmbarkStudios/cargo-deny-action@v2
30+
with:
31+
command: check
32+
arguments: --all-features
2933
- name: Check tag matches Cargo.toml
3034
run: |
3135
tag="${GITHUB_REF_NAME#v}"

‎CHANGELOG.md‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,19 @@ Notable changes to `bdk_turso` are documented here. Released versions are linked
66

77
### Added
88

9-
- `Options::with_busy_timeout` sets how long a connection waits for a contended database lock before returning `Busy`. The default remains five seconds, and `Duration::ZERO` fails immediately on contention.
9+
- **Configurable lock wait.** `Options::with_busy_timeout` sets how long a connection waits for a busy database before returning an error. The default remains 5 seconds, and `Duration::ZERO` fails immediately when the database is locked.
10+
- **Dependency security checks.** Every pull request and release now checks dependencies for known vulnerabilities, disallowed licenses, and untrusted sources. `SECURITY.md` explains how to report a vulnerability and how findings are handled.
1011

1112
### Changed
1213

13-
- **Breaking:** `Options` now exposes only the transaction behavior, local encryption, and remote sync settings. Removed the pass-through engine builders `with_index_method`, `with_vacuum`, `with_attach`, `with_generated_columns`, and `with_without_rowid`, which only affected application SQL, and the engine-tuning builders `with_multiprocess_wal` and `with_mvcc_passive_checkpoint`. The crate now enables the matching Turso engine flags from the transaction behavior: `Concurrent` enables MVCC passive checkpointing, and the other behaviors enable multi-process WAL.
14-
- **Breaking:** Removed the `Error::ConflictingOptions` variant, which only reported combinations of the removed builders.
14+
- **Breaking: smaller `Options`.** Removed the builders that changed raw Turso behavior instead of how `bdk_turso` stores wallet data: `with_index_method`, `with_vacuum`, `with_attach`, `with_generated_columns`, `with_without_rowid`, `with_multiprocess_wal`, and `with_mvcc_passive_checkpoint`. If an application needs those Turso capabilities, open the database directly or run the corresponding SQL. Transaction behavior now enables the required engine flags automatically.
15+
- **Breaking:** Removed `Error::ConflictingOptions`, which only reported combinations of the removed builders.
16+
- **Dependency refresh.** Updated `bdk_wallet`, `bdk_chain`, `rand`, `toml`, and Turso to their latest stable releases. These updates do not change the public API, and the MSRV remains Rust 1.88.0.
17+
18+
### Security
19+
20+
- **`time` vulnerability fixed.** `time` now resolves to 0.3.55, closing RUSTSEC-2026-0009 (`CVE-2026-25727`), a denial-of-service when parsing RFC 2822 timestamps.
21+
- **Dependency gate.** `cargo deny check` now runs in CI and release verification. New advisories, unreviewed licenses, wildcard dependencies, and unknown sources fail the build unless `deny.toml` records an exception with an expiry date.
1522

1623
## [0.3.2](https://crates.io/crates/bdk_turso/0.3.2) - 2026-11-16
1724

0 commit comments

Comments
 (0)