Skip to content

Latest commit

 

History

History
701 lines (392 loc) · 38.4 KB

CHANGELOG.md

File metadata and controls

701 lines (392 loc) · 38.4 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.27.7 (2025-04-08)

Features

  • discover shared wallet by metadata label (ff3c6d6)

0.27.6 (2025-03-03)

Features

  • sign multi-sig transaction with hw wallet (#1604) (d15a044)

0.27.5 (2025-02-25)

Bug Fixes

  • Added nativescript checks for ownSignatureKeyPaths (255d0d5)

0.27.4 (2025-02-24)

Note: Version bump only for package @cardano-sdk/key-management

0.27.3 (2025-02-19)

Note: Version bump only for package @cardano-sdk/key-management

0.27.2 (2025-02-06)

Note: Version bump only for package @cardano-sdk/key-management

0.27.1 (2025-01-31)

Note: Version bump only for package @cardano-sdk/key-management

0.27.0 (2025-01-20)

⚠ BREAKING CHANGES

  • correct return type of RewardAccount.toHash

Bug Fixes

  • correct return type of RewardAccount.toHash (67765f1)

0.26.0 (2025-01-17)

⚠ BREAKING CHANGES

  • The package now exports an async ready function that must be called before any of crypto related functions can be called
  • Bip32PrivateKe async functions are all now sync
  • Bip32PublicKey class async functions are all now sync
  • Ed25519PrivateKey class async functions are all now sync
  • Ed25519PublicKey class async functions are all now sync
  • Bip32Ed25519 interface async functions are all now sync
  • SodiumBip32Ed25519 cosntructor is now private
  • SodiumBip32Ed25519 now has a new async factory method create

Features

  • remove async from crypto API (91b7fa2)

0.25.1 (2025-01-09)

Note: Version bump only for package @cardano-sdk/key-management

0.25.0 (2025-01-02)

⚠ BREAKING CHANGES

  • SignData type no longer accepts bech32 DRepID

Features

  • implement sign with drep key (44c3716)

Bug Fixes

  • key-management: signData with drep bech32 addr (1363674)

0.24.14 (2024-12-20)

Note: Version bump only for package @cardano-sdk/key-management

0.24.13 (2024-12-05)

Note: Version bump only for package @cardano-sdk/key-management

0.24.12 (2024-12-02)

Note: Version bump only for package @cardano-sdk/key-management

0.24.11 (2024-12-02)

Note: Version bump only for package @cardano-sdk/key-management

0.24.10 (2024-11-23)

Note: Version bump only for package @cardano-sdk/key-management

0.24.9 (2024-11-18)

Note: Version bump only for package @cardano-sdk/key-management

0.24.8 (2024-10-25)

Note: Version bump only for package @cardano-sdk/key-management

0.24.7 (2024-10-11)

Note: Version bump only for package @cardano-sdk/key-management

0.24.6 (2024-10-06)

Note: Version bump only for package @cardano-sdk/key-management

0.24.5 (2024-10-03)

Note: Version bump only for package @cardano-sdk/key-management

0.24.4 (2024-09-27)

Note: Version bump only for package @cardano-sdk/key-management

0.24.3 (2024-09-25)

Note: Version bump only for package @cardano-sdk/key-management

0.24.2 (2024-09-10)

Note: Version bump only for package @cardano-sdk/key-management

0.24.1 (2024-09-06)

Note: Version bump only for package @cardano-sdk/key-management

0.24.0 (2024-09-04)

⚠ BREAKING CHANGES

  • keyAgent signTransaction now takes Serialization.TransactionBody instead of Core.TxBodyWithHash

Code Refactoring

  • keyAgent signTransaction now takes Serialization.TransactionBody (a0fa7c7)

0.23.4 (2024-08-23)

Note: Version bump only for package @cardano-sdk/key-management

0.23.3 (2024-08-22)

Note: Version bump only for package @cardano-sdk/key-management

0.23.2 (2024-08-21)

Note: Version bump only for package @cardano-sdk/key-management

0.23.1 (2024-08-20)

Note: Version bump only for package @cardano-sdk/key-management

0.23.0 (2024-08-07)

⚠ BREAKING CHANGES

  • remove Cardano.TransactionId.fromTxBodyCbor
  • hoist getAssetNameAsText util to Asset.util namespace
  • hoist TxCBOR and TxBodyCBOR under Serialization namespace

Code Refactoring

  • resolve circular references in core package (87aa26f)

0.22.0 (2024-08-01)

⚠ BREAKING CHANGES

  • replace signBlob with signCip8Data in witnesser interface
  • keyAgents are now required to implement the signCip8Data function
  • cip08 message construction hoisted from baseWallet to inMemoryKeyAgent signCip8Data function

Features

  • implement signCip8Data for LedgerKeyAgent and InMemoryKeyAgent (a04cb75)

0.21.2 (2024-07-31)

Note: Version bump only for package @cardano-sdk/key-management

0.21.1 (2024-07-25)

Bug Fixes

  • use drep key hash in stubSignTransaction (af30b6b)

0.21.0 (2024-07-22)

⚠ BREAKING CHANGES

  • hardware-ledger: SignTransactionContext.dRepPublicKey was changed to dRepKeyHashHex of type Crypto.Ed25519KeyHashHex

Code Refactoring

  • hardware-ledger: async not needed for certificate mapping (77d29d7)

0.20.11 (2024-07-11)

Note: Version bump only for package @cardano-sdk/key-management

0.20.10 (2024-07-10)

Note: Version bump only for package @cardano-sdk/key-management

0.20.9 (2024-06-26)

Note: Version bump only for package @cardano-sdk/key-management

0.20.8 (2024-06-20)

Features

0.20.7 (2024-06-14)

Features

  • key agents now can take optional coin purpose (e6861d7)

0.20.6 (2024-06-05)

Note: Version bump only for package @cardano-sdk/key-management

0.20.5 (2024-05-20)

Note: Version bump only for package @cardano-sdk/key-management

0.20.4 (2024-05-02)

Note: Version bump only for package @cardano-sdk/key-management

0.20.3 (2024-04-26)

Note: Version bump only for package @cardano-sdk/key-management

0.20.2 (2024-04-23)

Note: Version bump only for package @cardano-sdk/key-management

0.20.1 (2024-03-26)

Note: Version bump only for package @cardano-sdk/key-management

0.20.0 (2024-03-12)

⚠ BREAKING CHANGES

  • finalizeTx was added to the Witnesser interface
  • the PersonalWallet was renamed BaseWallet
  • all code specific to Bip32 wallet have been abstracted out of the BaseWallet
  • the PersonalWallet must now be constructed with the createPersonalWallet util function
  • the SignedTx type was renamed to WitnessedTx
  • the UnsignedTx type was renamed to UnwitnessedTx
  • the Witness method from the Witnesser interface now returns a WitnessedTx
  • extraSigners was moved from the witness field to the signingOptions in both the wallet FinalizeTxProps and witness signingOptions
  • wallet repository script wallets ownSigners type now includes paymentScriptKeyPath and stakingScriptKeyPath
  • wallet repository script wallets script field replaced by paymentScript and stakingScript
  • stubSignTransaction util function now takes and optional dRepPublicKey as part of the context
  • bip32Account is now an optional TxBuilder dependency

Features

  • added SharedWallet implementation (272f392)
  • finalizeTxDependencies no longer requires a bip32Account, but should provide a dRepPublicKey if available (eaf01dd)

0.19.10 (2024-02-29)

Note: Version bump only for package @cardano-sdk/key-management

0.19.9 (2024-02-28)

Features

  • sign own dRep registration certificate (b384e85)

0.19.8 (2024-02-23)

Note: Version bump only for package @cardano-sdk/key-management

0.19.7 (2024-02-12)

Note: Version bump only for package @cardano-sdk/key-management

0.19.6 (2024-02-08)

Note: Version bump only for package @cardano-sdk/key-management

0.19.5 (2024-02-07)

Features

  • key-management: add payload to SignDataContext when signing cip8 structure (17a82b5)

0.19.4 (2024-02-02)

Note: Version bump only for package @cardano-sdk/key-management

0.19.3 (2024-02-02)

Note: Version bump only for package @cardano-sdk/key-management

0.19.2 (2024-01-31)

Note: Version bump only for package @cardano-sdk/key-management

0.19.1 (2024-01-25)

Note: Version bump only for package @cardano-sdk/key-management

0.19.0 (2024-01-17)

⚠ BREAKING CHANGES

  • added a new type SignDataContext which has two optional fields, sender and address
  • sender field of Witnesser signBlob was replaced by a SignDataContext
  • sender field of SignerManager signData was replaced by a SignDataContext

Features

  • signerManager and Witnesser now propagate signData confirmation address (544cc17)

0.18.1 (2024-01-05)

Note: Version bump only for package @cardano-sdk/key-management

0.18.0 (2023-12-20)

⚠ BREAKING CHANGES

  • Witnesser witness method now takes a complete serializable Transaction

Features

  • witnesser witness method now takes a complete serializable Transaction (07a7305)

0.17.1 (2023-12-14)

Note: Version bump only for package @cardano-sdk/key-management

0.17.0 (2023-12-12)

⚠ BREAKING CHANGES

  • replace authenticator 'origin' argument to 'sender'
  • hoist 'senderOrigin' util to dapp-connector package

Features

  • track cip30 method call origin & update Authenticator api (75c8af6)

0.16.0 (2023-12-07)

⚠ BREAKING CHANGES

  • remove KeyAgent.knownAddresses
  • remove AsyncKeyAgent.knownAddresses$
  • remove LazyWalletUtil and setupWallet utils
  • replace KeyAgent dependency on InputResolver with props passed to sign method
  • re-purpose AddressManager to Bip32Account: addresses are now stored only by the wallet

Code Refactoring

  • remove indirect KeyAgent dependency on ObservableWallet (8dcfbc4)

0.15.1 (2023-12-04)

Features

  • key-management: sign conway stake key registration certificates (63b8a1d)

0.15.0 (2023-11-29)

⚠ BREAKING CHANGES

  • personal wallet now takes a Bip32 address manager and a witnesser instead of key agent
  • stake registration and deregistration certificates now take a Credential instead of key hash

Features

  • personal wallet now takes a Bip32 address manager and a witnesser instead of key agent (8308bf1)
  • stake registration and deregistration certificates now take a Credential instead of key hash (49612f0)

0.14.0 (2023-10-12)

⚠ BREAKING CHANGES

  • the TrezorKeyAgent class was moved from key-management to hardware-trezor package

Features

  • add dedicated Trezor package (2a1b075)

0.13.0 (2023-10-09)

⚠ BREAKING CHANGES

  • core package no longer exports the CML types

Features

  • core package no longer exports the CML types (51545ed)

0.12.0 (2023-09-29)

⚠ BREAKING CHANGES

    • key-management stubSignTransaction positional args were replaced by named args, as defined in StubSignTransactionProps. A new dRepPublicKey named arg is part of StubSignTransactionProps

Features

  • update for Conway transaction fields (c32513b)

0.11.0 (2023-09-20)

⚠ BREAKING CHANGES

  • remove the CML serialization code from core package
  • key-management: remove deprecated trezor hardware wallet implementation

Features

  • add support for signing data with a DRepID in CIP-95 API (3057cce)
  • key-management: remove deprecated trezor hardware wallet implementation (76bed53)
  • remove the CML serialization code from core package (62f4252)

0.10.3 (2023-09-12)

Note: Version bump only for package @cardano-sdk/key-management

0.10.2 (2023-08-29)

Features

  • add getPubDRepKey to PersonalWallet (a482e92)

0.10.1 (2023-08-21)

Note: Version bump only for package @cardano-sdk/key-management

0.10.0 (2023-08-15)

⚠ BREAKING CHANGES

  • updated MIR certificate interface to match the CDDL specification

Features

  • updated MIR certificate interface to match the CDDL specification (03d5079)

0.9.0 (2023-08-11)

⚠ BREAKING CHANGES

  • rename AddressEntity.stakingCredentialHash -> stakeCredentialHash
  • rename BaseAddress.getStakingCredential -> getStakeCredential
  • key-management: communicationType param is the required param for all TrezorKeyAgent methods. By defining communicationType you are able to communicate with proper trezor web or node package

Miscellaneous Chores

  • key-management: replace legacy trezor-connect package with dedicated node and web packages (906c41e)

Code Refactoring

  • rename/replace occurences of 'staking' with 'stake' where appropriate (05fc4c4)

0.8.2 (2023-07-31)

Note: Version bump only for package @cardano-sdk/key-management

0.8.1 (2023-07-13)

Bug Fixes

  • wallet finalizeTx and CIP30 requiresForeignSignatures now wait for at least one known address (b5fde00)

0.8.0 (2023-07-05)

⚠ BREAKING CHANGES

  • key-management: change behavior of ensureStakeKeys to return all reward accounts

Features

  • key-management: change behavior of ensureStakeKeys to return all reward accounts (faaf9b0)

0.7.11 (2023-07-04)

Note: Version bump only for package @cardano-sdk/key-management

0.7.10 (2023-06-29)

Note: Version bump only for package @cardano-sdk/key-management

0.7.9 (2023-06-29)

Note: Version bump only for package @cardano-sdk/key-management

0.7.8 (2023-06-28)

Bug Fixes

  • tx-construction: wait for new stakeKeys in rewardAccounts (a74b665)

0.7.7 (2023-06-23)

Features

  • key-agent: util to derive stake keys (f2691dc)

0.7.6 (2023-06-20)

Note: Version bump only for package @cardano-sdk/key-management

0.7.5 (2023-06-13)

Note: Version bump only for package @cardano-sdk/key-management

0.7.4 (2023-06-12)

Note: Version bump only for package @cardano-sdk/key-management

0.7.3 (2023-06-06)

Note: Version bump only for package @cardano-sdk/key-management

0.7.2 (2023-06-05)

Bug Fixes

  • key-management: the InMemoryKeyAgent now correctly takes into account the requiredSigners field (2071885)

0.7.1 (2023-06-01)

Note: Version bump only for package @cardano-sdk/key-management

0.7.0 (2023-05-24)

⚠ BREAKING CHANGES

  • the single address wallet now takes an additional dependency 'AddressDiscovery'

Features

  • the single address wallet now takes an additional dependency 'AddressDiscovery' (d6d7cff)

0.6.0 (2023-05-22)

⚠ BREAKING CHANGES

  • add ledger package with transformations
    • KeyAgentBase deriveAddress method now requires the caller to specify the skate key index

Features

  • add ledger package with transformations (58f3a22)
  • key agent now takes an additional parameter stakeKeyDerivationIndex (cbfd3c1)

Bug Fixes

  • key-management: fixed ttl (38ca6dd)

0.5.1 (2023-05-02)

Bug Fixes

  • circular deps check in CI (070f5e9)

0.5.0 (2023-03-13)

⚠ BREAKING CHANGES

  • upgrade resolveInputAddress to resolveInput
  • add new Address types that implement CIP-19 natively
  • core type for address string reprensetation 'Address' renamed to PaymentAddress

Features

  • add new Address types that implement CIP-19 natively (a892176)
  • key-management: ownSignatureKeyPaths will now also take into account collateral inputs (991c117)
  • upgrade resolveInputAddress to resolveInput (fcfa035)

Bug Fixes

  • key-management: removed redundant signing for stake key registration certificates (8f2edd0)
  • wallet: cip30 interface now throws ProofGeneration error if it cant sign the tx as specified (81d9c9c)

Code Refactoring

  • core type for address string reprensetation 'Address' renamed to PaymentAddress (4287463)

0.4.1 (2023-03-01)

Bug Fixes

  • key-management: correct logic in mint/burn hardware wallet mapping (674ad20)

0.4.0 (2023-02-17)

⚠ BREAKING CHANGES

  • replaces occurrences of password with passphrase
    • Bip32PublicKey removed from core and replaced by the Bip32PublicKeyHex type from the crypto package.
  • Bip32PrivateKey removed from core and replaced by the Bip32PrivateKeyHex type from the crypto package.
  • Ed25519PublicKey removed from core and replaced by the Ed25519PublicKeyHex type from the crypto package.
  • Ed25519PrivateKey removed from core and replaced by the Ed25519PrivateKeyHex type from the crypto package.
  • Ed25519KeyHash removed from core and replaced by the Ed25519KeyHashHex type from the the crypto package.
  • Ed25519Signature removed from core and replaced by the Ed25519SignatureHex type from the crypto package.
  • Hash32ByteBase16 removed from core and replaced by the Hash32ByteBase16 type from the crypto package.
  • Hash28ByteBase16 removed from core and replaced by the Hash28ByteBase16 type from the crypto package.
  • The KeyAgent interface now has a new field bip32Ed25519.
  • The KeyAgentBase class and all its derived classes (InMemoryKeyAgent, LedgerKeyAgent and TrezorKeyAgent) must now be provided with a Bip32Ed25519 implementation on their constructors.
  • Bip32Path type was removed from the key-management package and replaced by the Bip32Path from the crypto package.
  • hoist Opaque types, hexBlob, Base64Blob and related utils

Bug Fixes

  • key-management: correct ledger tx mapping validityIntervalStart prop name (4627230)

Code Refactoring

  • hoist Opaque types, hexBlob, Base64Blob and related utils (391a8f2)
  • refactor the SDK to use the new crypto package (3b41320)
  • replaces occurrences of password with passphrase (0c0ec5f)

0.3.0 (2022-12-22)

⚠ BREAKING CHANGES

    • replace KeyAgent.networkId with KeyAgent.chainId
  • remove CardanoNetworkId type
  • rename CardanoNetworkMagic->NetworkMagics
  • add 'logger' to KeyAgentDependencies
  • setupWallet now requires a Logger
  • use titlecase for mainnet/testnet in NetworkId
  • rename era-specific types in core

Features

  • key-management: expose extendedAccountPublicKey in AsyncKeyAgent (122b281)
  • key-management: ownSignatureKeyPaths now checks for reward account in certificates (b8ab595)
  • rename era-specific types in core (c4955b1)
  • replace KeyAgent.networkId with KeyAgent.chainId (e44dee0)
  • type GroupedAddress now includes key derivation paths (8ac0125)

Bug Fixes

  • add sideEffects=false to package.json (a1cb8f8)
  • key-management: compile error in test file (aeface7)

Code Refactoring

  • use titlecase for mainnet/testnet in NetworkId (252c589)

0.2.0 (2022-11-04)

⚠ BREAKING CHANGES

  • free CSL resources using freeable util
  • dapp-connector: renamed cip30 package to dapp-connector
  • hoist core Address namespace to Cardano.util
  • rename TxInternals to TxBodyWithHash
  • key-management: deprecate insecure cachedGetPassword
  • lift key management and governance concepts to new packages

Bug Fixes

  • free CSL resources using freeable util (5ce0056)
  • key-management: custom errors no longer hide inner error details (0b80e78)
  • key-management: don't sign withdrawals for non-own reward accounts (fd9b254)
  • key-management: tx that has withdrawals is now signed with stake key (972a064)

Code Refactoring

  • dapp-connector: renamed cip30 package to dapp-connector (cb4411d)
  • hoist core Address namespace to Cardano.util (c0af6c3)
  • key-management: deprecate insecure cachedGetPassword (441842a)
  • lift key management and governance concepts to new packages (15cde5f)
  • rename TxInternals to TxBodyWithHash (77567aa)