Skip to content

Releases

Zally v0.3.0

Choose a tag to compare

@gustavovalverde gustavovalverde released this 28 Nov 17:19
v0.3.0
620f6de

Zally uses the Zinder 0.29.0 native WalletQuery SDK. Hosts that construct an
EndpointBackedIndex for ZinderChainSource::from_chain_index or
ZinderSubmitter::from_chain_index must use zinder-client = "=0.29.0".
Align zinder-core to 0.29.0 wherever you exchange its types with Zally.
To connect by URL, use the same endpoint and network with
ZinderChainSource::connect_remote. Use Rust 1.100 or later and a Zinder
endpoint that supports native contract revision 8 or later. Move all Zally
Git dependencies to tag = "v0.3.0" together.

After restarting on a quiet chain, the sync driver can confirm an already
caught-up wallet by checking its stored tip against the chain. Faucet and
other hosts that gate payouts on a fresh sync observation can resume at the
verified tip without waiting for a new block.

SQLite security

The bundled SQLite remains affected by RUSTSEC-2026-0459. A wallet process can
disclose memory when it opens a database and write-ahead log that an
untrusted party could write. Keep both files in a directory writable only
by the wallet operator and avoid opening untrusted copies.
RustSec advisory

The owner approved a one-release exception for Zally v0.3.0 and the locked
libsqlite3-sys 0.35.0. Run python3 scripts/check-dependencies.py from a
full checkout to report the standard result and recheck all policies with
that advisory excepted. The exception expires when the checkout contains
the v0.3.0 tag or a workspace crate changes version.

Zally 0.2.3

Choose a tag to compare

@gustavovalverde gustavovalverde released this 23 Nov 21:35
v0.2.3
a362885

Zally now uses the Zinder 0.23.0 native WalletQuery SDK. Use Rust 1.100 or later
and a Zinder endpoint that supports native contract revision 8 or later.
The wallet database schema is unchanged. Move every Zally Git dependency to
tag = "v0.2.3" together.

If your application pins librustzcash crates directly, align
zcash_primitives with 0.31.1 and zcash_transparent with 0.11.1 before
updating the tag.

Hosts using ZinderChainSource::connect_remote can keep their existing
endpoint and network configuration. If your host passes an existing
EndpointBackedIndex to ZinderChainSource::from_chain_index or
ZinderSubmitter::from_chain_index, build the handle with
zinder-client = "=0.23.0". Rust treats a handle from an earlier SDK as a
different type. Align zinder-core to 0.23.0 wherever you exchange its types
with Zally.

The dependency refresh also updates rustix to 1.1.6, which fixes an
uninitialized-memory issue in extended attribute reads.
RustSec advisory

The Regtest lifecycle procedure
covers wallet creation, restore, persisted state across process restarts, and
the same shielding transaction through submission, mining, and scanning.
The public Testnet probe
checks connectivity, wallet synchronization, and settled tree state.
The separate Zspend walkthrough uses its locked Zally v0.2.0 host to follow
one Testnet payment through settlement.
Zspend walkthrough

Bundled SQLite advisory

The wallet still bundles libsqlite3-sys 0.35.0 through the
zcash_client_sqlite 0.23.0 dependency cohort. SQLite can disclose local
process memory when opening a database and its WAL that an untrusted party
could write. Keep wallet databases and WAL files in directories writable only
by the wallet operator and avoid opening untrusted copies. The bundled copy
remains affected. RUSTSEC-2026-0459

For the v0.2.3 release work, run python3 scripts/check-dependencies.py.
It reports the original policy result, then rechecks all dependency policies
with only this advisory excepted for the locked libsqlite3-sys 0.35.0.
The exception is inactive once the full checkout contains the v0.2.3 tag or
any workspace crate changes version. A compatible published release of the
wallet SQLite cohort is needed to remove the exception code.
Upstream coordination

Zally 0.2.2

Choose a tag to compare

@gustavovalverde gustavovalverde released this 14 Nov 21:24
v0.2.2
cf3f370

Zally 0.2.2 stops shielding transparent outputs that a reorg removed, stops reporting sends the node only queued as broadcast, and keeps a caught-up wallet's spendable balance steady while it scans new blocks. Consumers pin it as a Git dependency with tag = "v0.2.2"; the crates are not published to crates.io.

Changes

  • Reorged transparent outputs leave the wallet. Wallet::refresh_transparent_utxos now reconciles each receiver with its complete unspent set. A recorded output the set omits is retired when it is mined at or below the serving epoch's visible tip, no mined or unexpired transaction spends any output of its transaction, and that transaction carries nothing else of the wallet's. A reorg that replaced the output's block leaves exactly that, even below the wallet's scanned height. Retired outputs leave every balance and proposal, so shieldings stop failing with a missing input; a later walk that sees one again restores it. TransparentUtxoRefreshOutcome::utxos_retired counts them, and each is logged as wallet_transparent_utxo_retired (#31).
  • Queued broadcasts are confirmed. A node that answers a submission as queued for verification has not accepted it and drops it silently if verification fails. send_payment, shield_transparent_funds, and extract_and_submit_pczt now submit the same bytes again about once a second until the node answers accepted or duplicate, for at most WalletOptions::queued_broadcast_confirmation_ms (5 seconds by default) after the first queued answer. A transaction still queued fails the call with the new WalletError::BroadcastUnconfirmed (retryable), and the send's idempotency key stays bound to it (#31).
  • Steady balance while scanning. Recording a new chain tip before scanning its blocks made zcash_client_sqlite treat every note in the tip's commitment-tree shard as lacking a witness, so balances and proposals briefly left those notes out. A caught-up wallet now records the tip in the same storage step as the scan that reaches it (WalletStorage::scan_blocks_to_tip) (#31).

Upgrade notes

  • Handle unconfirmed sends. A send that used to return success after a queued answer now returns WalletError::BroadcastUnconfirmed. Do not pay again under another key: retry the same key, which submits the same transaction, or wait for WalletEvent::PendingBroadcastUnmineable. WalletError is #[non_exhaustive], so existing builds still compile.
  • Custom storage backends. WalletStorage gains the required methods record_transparent_unspent_set and scan_blocks_to_tip. Sqlite implements both.
  • No database migration. The wallet database schema is unchanged; 0.2.1 and 0.2.2 open the same wallet.db. Retiring an output only clears its transaction's mined height, which a later walk restores if the output returns.
  • Version requirements. Every Zally crate is now 0.2.2, so move every Zally Git pin to tag = "v0.2.2" together. No Zinder server change is required.

Known issue

cargo deny reports RUSTSEC-2026-0459 (bundled SQLite in libsqlite3-sys 0.35). It is pinned by zcash_client_sqlite 0.23's rusqlite 0.37, which has no patched release.

Zally 0.2.1

Choose a tag to compare

@gustavovalverde gustavovalverde released this 14 Nov 11:06
v0.2.1
04be67e

Zally 0.2.1 keeps the transparent UTXO refresh working through brief Zinder readiness gaps and epoch rotations. Consumers pin it as a Git dependency with tag = "v0.2.1"; the crates are not published to crates.io.

Changes

  • Refresh retries within one walk. Wallet::refresh_transparent_utxos now retries a source that answers ServiceNotReady and a lost chain epoch pin under its own retry policy: 8 attempts, with backoff from 250 milliseconds doubling to 8 seconds by default. Each retry re-pins the epoch and the scanned frontier and resumes at the receiver that failed, so a source that rotates its epoch during a long walk no longer forces the walk to start over. Wallet::transparent_utxo_refresh_retry_policy and Wallet::set_transparent_utxo_refresh_retry_policy read and replace the policy (#28).
  • Typed incomplete refresh. A walk that still stops early returns the new WalletError::TransparentUtxoRefreshIncomplete. It reports the receivers refreshed, the receivers in the walk, the attempts spent, and the failure that ended the walk, and inherits that failure's posture (#28).

Upgrade notes

  • Refresh errors arrive wrapped. Every refresh_transparent_utxos failure except CircuitBroken is now TransparentUtxoRefreshIncomplete. A caller that matched a bare WalletError::ChainSource(..) from this method should match on its source instead. WalletError is #[non_exhaustive], so existing builds still compile.
  • Driver timeout bounds the retries. SyncDriverOptions::transparent_utxo_refresh_timeout_seconds (120 by default) bounds each refresh call, retries included.
  • Version requirements. Every Zally crate is now 0.2.1, so move every Zally Git pin to tag = "v0.2.1" together. No Zinder server change is required.

Known issue

cargo deny reports RUSTSEC-2026-0459 (bundled SQLite in libsqlite3-sys 0.35). It is pinned by zcash_client_sqlite 0.23's rusqlite 0.37, which has no patched release.

Zally 0.2.0

Choose a tag to compare

@gustavovalverde gustavovalverde released this 13 Nov 10:44
v0.2.0
2e4ad39

Zally 0.2.0 moves the optional zinder backend to the Zinder 0.10.0 releases, which require a Zinder server at native contract revision 8. Consumers pin it as a Git dependency with tag = "v0.2.0"; the crates are not published to crates.io.

Changes

  • Zinder 0.10.0. zinder-client and zinder-core now resolve from their 0.10.0 crates.io releases. They share Zally's zcash_protocol, zcash_address, and zcash_encoding releases, so the duplicate copies of those crates leave the dependency graph (#26).
  • Unprovable transaction absence. When a Zinder server cannot prove a transaction absent, because its history starts after genesis or because it gave no typed absence signal, transaction_status returns the new ChainSourceError::TransactionAbsenceUnprovable with the requires_operator posture. It never reports NotFound in that case. Pending-broadcast retirement withholds its unmineable verdict and keeps the idempotency key bound, so only a source with complete history can free the key (#26).
  • Typed broadcast rejections. RejectionReason gains UnsupportedTransactionVersion and ExceedsBlockActionLimit, which earlier releases reported as Unknown (#26).

Upgrade notes

  • Cut over with your Zinder servers. This release refuses Zinder servers below contract revision 8 with ContractRevisionUnsupported. Zally 0.1.x fails against a revision 8 server. No upgrade order is safe: stop the wallet runtime, upgrade zinder-ingest, zinder-query, and zinder-compat-lightwalletd to v0.10.0 together, then start the wallet on Zally 0.2.0.
  • New error variant. ChainSourceError::TransactionAbsenceUnprovable and the two new RejectionReason variants are additions to #[non_exhaustive] enums. Callers that act on a specific ChainSourceError should treat the new variant as "status unknown", never as absence.
  • Version requirements. Every Zally crate is now 0.2.0, so move every Zally Git pin to tag = "v0.2.0" together.

Known issue

cargo deny reports RUSTSEC-2026-0459 (bundled SQLite in libsqlite3-sys 0.35). It is pinned by zcash_client_sqlite 0.23's rusqlite 0.37, which has no patched release.

Zally 0.1.1

Choose a tag to compare

@gustavovalverde gustavovalverde released this 11 Nov 19:38
v0.1.1
f4401af

Zally 0.1.1 moves the optional zinder backend to the Zinder 0.8.0 releases. Consumers pin it as a Git dependency with tag = "v0.1.1"; the crates are not published to crates.io.

Changes

  • Zinder 0.8.0 from crates.io. zinder-client and zinder-core now resolve from their 0.8.0 crates.io releases instead of a Git commit, so the zinder feature no longer needs a Git source in a consumer's dependency policy (#24).
  • Indexer reads outside retained history. Zinder 0.8.0 reports compact-block range and subtree-root reads outside an indexer's retained history as ArtifactUnavailable instead of ServiceUnavailable. Both carry the RetryWithBackoff policy, so Zally's sync behaves the same way.

There are no Zally API changes. The upgrade notes from 0.1.0 still apply to wallets moving from earlier revisions.

Known issue

cargo deny reports RUSTSEC-2026-0459 (bundled SQLite in libsqlite3-sys 0.35). It is pinned by zcash_client_sqlite 0.23's rusqlite 0.37, which has no patched release.

Zally 0.1.0

Choose a tag to compare

@gustavovalverde gustavovalverde released this 10 Nov 16:29
v0.1.0
3ec1255

First tagged Zally release. Consumers pin it as a Git dependency with tag = "v0.1.0"; the crates are not published to crates.io.

Highlights

  • Final NU7 librustzcash releases. Moves to the 2026-10-21 releases: zcash_client_backend 0.25.0, zcash_client_sqlite 0.23.0, zcash_primitives 0.31.0, zcash_protocol 0.11.0, and the rest of that family (#17, #18).
  • Transactions that can never be mined. Refuses transactions that cannot be mined after NU7. Settles pending broadcasts by chain state and frees their keys (#19).
  • Fork-point rewind. Rewinds to the fork point on reorgs, and pays each idempotency key once across wallet rebuilds (#20).
  • Sync liveness. The sync driver republishes its snapshot on every polling wakeup, and every wait on the chain source is bounded by sync_timeout_seconds (#22).
  • Shielding maturity. Shielding judges coinbase maturity at the lower of the wallet tip and the chain source's tip (#22).
  • Zinder 0.7.0. Zinder client crates come from the 0.7.0 release commit on ZcashFoundation/zinder (#23).

Upgrade notes

  • Wallet database. The first open migrates the wallet database one way. Back it up first; docs/runbooks describes the procedure.
  • Reorg window. Spends are refused while the chain source's reorg window is below WalletOptions::minimum_source_reorg_window_blocks, which defaults to 1,000 blocks.
  • API changes. Breaking API changes are listed in #18, #19, #20, and #22. ShieldTransparentRequest gains source_tip_height. ChainSource gains reorg_window_blocks, and transaction_status now takes a ChainEpoch.

Known issue

cargo deny reports RUSTSEC-2026-0459 (bundled SQLite in libsqlite3-sys 0.35). It is pinned by zcash_client_sqlite 0.23's rusqlite 0.37, which has no patched release.