Skip to content

Releases: 0xMiden/miden-client

v0.10.1

26 Jul 21:40
c107cbe
Compare
Choose a tag to compare
  • Avoid passing unneeded nodes to PartialMmr::from_parts (#1081).

v0.10.0

12 Jul 18:58
a39349a
Compare
Choose a tag to compare

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 to miden-client-cli, and the miden executable to miden-client (#960).
  • [BREAKING] Merged concurrent feature with std (#974).
  • [BREAKING] Changed TransactionRequest to use expected output recipients instead of output notes (#976).
  • [BREAKING] Removed TransactionExecutor from Client and NoteScreener (#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 from Client (#1022).
  • [BREAKING] Removed relevant_notes from TransactionResult (#1030).
  • Changed sync to store notes regardless of consumption checks if it matched a tracked tag (#1031).

Fixes

  • Fixed Intermittent Block Header Error During Sync in Web Client (#997).
  • Fixed Swap Transaction Request in Web Client (#1002)

v0.9.4

03 Jul 06:29
0bec255
Compare
Choose a tag to compare
  • Support Operations From Counter Contract FPI Example in Web Client (#958).

v0.9.3

28 Jun 18:33
a1b79c1
Compare
Choose a tag to compare
  • Fixed a bug where some partial MMR nodes were missing and causing problems with note consumption (#995).

v0.9.2

12 Jun 00:54
6f6a8e4
Compare
Choose a tag to compare
  • Refresh dependencies in Cargo.toml (#972).

v0.9.1

11 Jun 19:23
02dff39
Compare
Choose a tag to compare
  • Fixed wasm-opt options to improve performance of generated wasm (#961).
  • Enabled concurrent feature by default for the CLI.
  • Refreshed Cargo.lock file.

v0.9.0

31 May 08:47
b351dd3
Compare
Choose a tag to compare

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 and Store traits to be subtraits of Send and Sync (#926).
  • Updated TonicRpcClient and Store trait functions to return futures which are Send (#926).

Changes

  • Updated Web Client README and Documentation (#808).
  • [BREAKING] Removed script_roots mod in favor of WellKnownNote (#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 to PartialBlockchain (#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 to Client constructor and refactored TransactionRecord (#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 and AccountDetails to FetchedNote and FetchedAccount respectively (#931).

v0.8.1

29 Mar 03:14
6fdd2bc
Compare
Choose a tag to compare

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 with WebTonicRpcClient 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 to FilesystemKeyStore and WebKeyStore (#744).
  • Moved error handling to the TransactionRequestBuilder::build() (#750).
  • Re-exported RemoteTransactionProver in rust-client (#752).
  • [BREAKING] Added starting block number parameter to CheckNullifiersByPrefix and removed nullifiers from SyncState (#758).
  • Added recency validations for the client (#776).
  • [BREAKING] Updated client to Rust 2024 edition (#778).
  • [BREAKING] Removed the TransactionScriptBuilder and associated errors from the rust-client (#781).
  • [BREAKING] Renamed "hash" with "commitment" for block headers, note scripts and accounts (#788, #789).
  • [BREAKING] Removed Rng generic from Client and added support for different keystores and RNGs in ClientBuilder (#782).
  • Web client: Exposed assets iterator for AssetVault (#783)
  • Updated protobuf bindings generation to use miden-node-proto-build crate (#807).

Fixes

  • [BREAKING] Changed Snake Case Variables to Camel Case in JS/TS Files (#767).
  • Fixed Web Keystore (#779).
  • Fixed case where the CheckNullifiersByPrefix response contained nullifiers after the client's sync height (#784).

v0.7.2

05 Mar 19:00
f99b7e0
Compare
Choose a tag to compare

Changes

  • [BREAKING] Added initial Web Workers implementation to web client (#720, #743).
  • Web client: Exposed InputNotes iterator and assets 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

28 Jan 23:52
b8be277
Compare
Choose a tag to compare

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 building TransactionRequest (#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 of Err 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 to miden-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).