Releases: 0xMiden/miden-client
Releases · 0xMiden/miden-client
v0.10.1
v0.10.0
Features
- Added support for FPI in Web Client (#958).
- Exposed
bech32
account IDs in Web Client (#978). - Added transaction script argument support to
TransactionRequest
(#1017). - [BREAKING] Added support for timelock P2IDE notes (#1020).
Changes
- Replaced deprecated #[clap(...)] with #[command(...)] and #[arg(...)] (#897).
- [BREAKING] Renamed
miden-cli
crate tomiden-client-cli
, and themiden
executable tomiden-client
(#960). - [BREAKING] Merged
concurrent
feature withstd
(#974). - [BREAKING] Changed
TransactionRequest
to use expected output recipients instead of output notes (#976). - [BREAKING] Removed
TransactionExecutor
fromClient
andNoteScreener
(#998). - Enforced input note order in
TransactionRequest
(#1001). - Added check for duplicate input notes in
TransactionRequest
(#1001). - [BREAKING] Renamed P2IDR to P2IDE (#1016).
- [BREAKING] Removed
with_
prefix from builder functions (#1018). - Added a way to instantiate a
ScriptBuilder
fromClient
(#1022). - [BREAKING] Removed
relevant_notes
fromTransactionResult
(#1030). - Changed sync to store notes regardless of consumption checks if it matched a tracked tag (#1031).
Fixes
v0.9.4
v0.9.3
v0.9.2
v0.9.1
v0.9.0
Features
- Added support for
bech32
account IDs in the CLI (#840). - Added support for MASM account component libraries in Web Client (#900).
- Added support for RPC client/server version matching through HTTP ACCEPT header (#912).
- Added a way to ignore invalid input notes when consuming them in a transaction (#898).
- Added
NoteUpdate
type to the note update tracker to distinguish between different types of updates (#821). - Updated
TonicRpcClient
andStore
traits to be subtraits ofSend
andSync
(#926). - Updated
TonicRpcClient
andStore
trait functions to return futures which areSend
(#926).
Changes
- Updated Web Client README and Documentation (#808).
- [BREAKING] Removed
script_roots
mod in favor ofWellKnownNote
(#834). - Made non-default options lowercase when prompting for transaction confirmation (#843)
- [BREAKING] Updated keystore to accept arbitrarily large public keys (#833).
- Added Examples to Mdbook for Web Client (#850).
- Added account code to
miden account --show
command (#835). - Changed exec's input file format to TOML instead of JSON (#870).
- [BREAKING] Client's methods renamed after
PartialMmr
change toPartialBlockchain
(#894). - [BREAKING] Made the maximum number of blocks the client can be behind the network customizable (#895).
- Improved Web Client Publishing Flow on Next Branch (#906).
- [BREAKING] Refactored
TransactionRequestBuilder
preset builders (#901). - Improved the consumability check of the
NoteScreener
(#898). - Exposed new test utilities in the
testing
feature (#882). - [BREAKING] Added
tx_graceful_blocks
toClient
constructor and refactoredTransactionRecord
(#848). - [BREAKING] Updated the client so that only relevant block headers are stored (#828).
- [BREAKING] Added
DiscardCause
for transactions (#853). - Chained pending transactions get discarded when one of the transactions in the chain is discarded (#889).
- [BREAKING] Renamed
NetworkNote
andAccountDetails
toFetchedNote
andFetchedAccount
respectively (#931).
v0.8.1
Features
- Added wallet generation from seed & import from seed on web SDK (#710).
- [BREAKING] Generalized
miden new-account
CLI command (#728). - Added support to import public accounts to
Client
(#733). - Added import/export for web client db (#740).
- Added
ClientBuilder
for client initialization (#741). - [BREAKING] Merged
TonicRpcClient
withWebTonicRpcClient
and added missing endpoints (#744). - Added support for script execution in the
Client
and CLI (#777). - Added note code to
miden notes --show
command (#790). - Added Delegated Proving Support to All Transaction Types in Web Client (#792).
Changes
- Added check for empty pay to ID notes (#714).
- [BREAKING] Refactored authentication out of the
Client
and added new separate authenticators (#718). - Added
ClientBuilder
for client initialization (#741). - [BREAKING] Removed
KeyStore
trait and added ability to provide signatures toFilesystemKeyStore
andWebKeyStore
(#744). - Moved error handling to the
TransactionRequestBuilder::build()
(#750). - Re-exported
RemoteTransactionProver
inrust-client
(#752). - [BREAKING] Added starting block number parameter to
CheckNullifiersByPrefix
and removed nullifiers fromSyncState
(#758). - Added recency validations for the client (#776).
- [BREAKING] Updated client to Rust 2024 edition (#778).
- [BREAKING] Removed the
TransactionScriptBuilder
and associated errors from therust-client
(#781). - [BREAKING] Renamed "hash" with "commitment" for block headers, note scripts and accounts (#788, #789).
- [BREAKING] Removed
Rng
generic fromClient
and added support for different keystores and RNGs inClientBuilder
(#782). - Web client: Exposed
assets
iterator forAssetVault
(#783) - Updated protobuf bindings generation to use
miden-node-proto-build
crate (#807).
Fixes
v0.7.2
Changes
- [BREAKING] Added initial Web Workers implementation to web client (#720, #743).
- Web client: Exposed
InputNotes
iterator andassets
getter (#757). - Web client: Exported
TransactionResult
in typings (#768). - Implemented serialization and deserialization for
SyncSummary
(#725).
Fixes
- Web client: Fixed submit transaction; Typescript types now match underlying Client call (#760).
v0.7.0
Features
- [BREAKING] Implemented support for overwriting of accounts when importing (#612).
- [BREAKING] Added
AccountRecord
with information about the account's status (#600). - [BREAKING] Added
TransactionRequestBuilder
for buildingTransactionRequest
(#605). - Added caching for foreign account code (#597).
- Added support for unauthenticated notes consumption in the CLI (#609).
- [BREAKING] Added foreign procedure invocation support for private accounts (#619).
- [BREAKING] Added support for specifying map storage slots for FPI (#645)
- Limited the number of decimals that an asset can have (#666).
- [BREAKING] Removed the
testing
feature from the CLI (#670). - Added per transaction prover support to the web client (#674).
- [BREAKING] Added
BlockNumber
structure (#677). - Created functions for creating standard notes and note scripts easily on the web client (#686).
- [BREAKING] Renamed plural modules to singular (#687).
- [BREAKING] Made
idxdb
only usable on WASM targets (#685). - Added fixed seed option for web client generation (#688).
- [BREAKING] Updated
init
command in the CLI to receive a--network
flag (#690). - Improved CLI error messages (#682).
- [BREAKING] Renamed APIs for retrieving account information to use the
try_get_*
naming convention, and added/improved module documentation (#683). - Enabled TLS on tonic client (#697).
- Added account creation from component templates (#680).
- Added serialization for
TransactionResult
(#704).
Fixes
- Print MASM debug logs when executing transactions (#661).
- Web Store Minor Logging and Error Handling Improvements (#656).
- Web Store InsertChainMmrNodes Duplicate Ids Causes Error (#627).
- Fixed client bugs where some note metadata was not being updated (#625).
- Added Sync Loop to Integration Tests for Small Speedup (#590).
- Added Serial Num Parameter to Note Recipient Constructor in the Web Client (#671).
Changes
- [BREAKING] Return
None
instead ofErr
when an entity is not found (#632). - Add support for notes without assets in transaction requests (#654).
- Refactored RPC functions and structs to improve code quality (#616).
- [BREAKING] Added support for new two
Felt
account ID (#639). - [BREAKING] Removed unnecessary methods from
Client
(#631). - [BREAKING] Use
thiserror
2.0 to derive errors (#623). - [BREAKING] Moved structs from
miden-client::rpc
tomiden-client::rpc::domain::*
and changed prost-generated code location (#608, #610, #615). - Refactored
Client::import_note
to return an error when the note is already being processed (#602). - [BREAKING] Added per transaction prover support to the client (#599).
- [BREAKING] Removed unused dependencies (#584).