Skip to content

Releases: hiero-ledger/hiero-sdk-swift

v0.10.0

29 Nov 12:30
683d94e

Choose a tag to compare

v0.10.0 Pre-release
Pre-release

Added

  • Add validateStatus to TransactionResponse
  • Add getRecord to TransactionResponse
  • Add getRecordQuery and getReceiptQuery to TransactionResponse
  • Add an optional timeout parameter to execute in XTransaction and XQuery
  • Add an optional timeout parameter to getReceipt in TransactionResponse
  • Add fromSolidityAddress and fromEvmAddress to ContractId
  • Add toSolidityAddress to ContractId
  • Add fromMnemonic (without passphrase) to PrivateKey
  • Add getHbarApprovals, getTokenApprovals, and getNftApprovals to AccountAllowanceApproveTransaction
  • Add getTokenNftAllowanceDeletions to AccountAllowanceDeleteTransaction
  • Add proxyAccountId to ContractUpdateTransaction
  • Add transferAccountId and transferContractId to ContractDeleteTransaction
  • Add addSerial to TokenWipeTransaction
  • Add CreateFileExample, CreateTopicExample, and GenerateKeyWithMnemonicExample to examples/

Changed

  • Change initialTransactionId on TopicMessage to TransactionId instead of String
  • Rename name and symbol to tokenName and tokenSymbol on TokenUpdateTransaction

v0.9.0

18 Nov 09:24
68c4994

Choose a tag to compare

v0.9.0 Pre-release
Pre-release

Added

  • Add Transaction.sign
  • Add Transaction.signWith
  • Add PrivateKey.sign
  • Add PublicKey.verify
  • Add TransactionRecord.contractFunctionResult
  • Add TransactionRecord.assessedCustomFees
  • Add AssessedCustomFee
  • Add TransactionRecord.transfers
  • Add Transfer
  • Add TransactionRecord.tokenTransfers
  • Add TransactionRecord.tokenNftTransfers
  • Add TokenNftTransfer
  • Add ContractUpdateTransaction.clearMemo
  • Add ContractUpdateTransaction.clearAutoRenewAccountId
  • Add ContractUpdateTransaction.clearStakedAccountId
  • Add ContractUpdateTransaction.clearStakedNodeId
  • Add ContractUpdateTransaction.clearDeclineStakingReward
  • Add ScheduleSignTransaction.clearScheduleId
  • Add TokenUpdateTransaction.clearMemo
  • Add Status
  • Add TransactionReceipt.transactionId
  • Add Timestamp (to replace use of Swift Date to support nanoseconds)
  • Add Duration (to replace use of Swift TimeInterval)
  • Add fromBytes, toBytes, toString to AccountBalance
  • Add TopicMessageQuery

Changed

  • Rename TransactionReceipt.newTotalSupply to totalSupply
  • Use Hedera.Timestamp where Foundation.Date was used
  • Use Hedera.Duration where Foundation.TimeInterval was used
  • Rename AccountBalanceResponse to AccountBalance

v0.8.0

02 Nov 17:04
525d87a

Choose a tag to compare

v0.8.0 Pre-release
Pre-release

Added

  • Add fromBytes and toBytes to AccountId
  • Add fromBytes and toBytes to AccountInfo
  • Add evmAddress to ContractFunctionResult
  • Add ledgerId, stakingInfo, fromBytes and toBytes to ContractInfo
  • Add fromBytes and toBytes to FileId, ContractId, TopicId, TokenId, and ScheduleId
  • Add ledgerId, fromBytes and toBytes to FileInfo
  • Add Mnemonic
  • Add NetworkVersionInfo
  • Add NodeAddress
  • Add NodeAddressBookQuery
  • Add isDerivable and fromMnemonic to PrivateKey
  • Add getCost to Query
  • Add ledgerId, fromBytes and toBytes to ScheduleInfo
  • Add prerelease, build, fromBytes and toBytes to SemanticVersion
  • Add fromBytes and toBytes to StakingInfo
  • Add fromBytes and toBytes to TokenAssociation
  • Add fromBytes and toBytes to TransactionReceipt

Changed

  • Rename expiresAt to expirationTime in FileCreateTransaction
  • Rename expiresAt to expirationTime in FileUpdateTransaction
  • Rename expiresAt to expirationTime in TokenCreateTransaction
  • Rename expiresAt to expirationTime in TokenUpdateTransaction
  • Rename expiresAt to expirationTime in TopicUpdateTransaction

v0.7.0

18 Oct 11:38
53754f5

Choose a tag to compare

v0.7.0 Pre-release
Pre-release

Added

  • Add Client.forMainnet()
  • Add Client.forPreviewnet()
  • Add fromBytes and fromString to LedgerId
  • Add fromBytes and fromString to NftId
  • Extend PrivateKey with fromPem, derive, legacyDerive, toString, toAccountId, and fromBytes
  • Extend PublicKey with fromBytes, fromString, and toAccountId

Fixed

  • Build for both M1 and Intel mac iOS Simulator and iOS Device should be working

Changed

  • In AccountAllowanceApproveTransaction, rename serialNumbers to serials
  • In AccountAllowanceDeleteTransaction, rename serialNumbers to serials
  • In TokenBurnTransaction, rename serialNumbers to serials
  • In TokenWipeTransaction, rename serialNumbers to serials
  • Update to/from string conversions for Hbar to match other SDKs

v0.6.0

13 Sep 16:56
8c28e71

Choose a tag to compare

v0.6.0 Pre-release
Pre-release

Added

  • Add Hbar type. Anywhere Hbar is expected, you can write an integer/decimal/float literal or use the Hbar type.
  • Add LedgerId
  • Add StakingInfo
  • Add EthereumTransaction

Changed

  • In AccountDeleteTransaction, rename deleteAccountId to accountId
  • Rename alias to aliasKey in AccountInfo and properly decode in AccountInfo
  • Rename expiresAt in AccountUpdateTransaction to expirationTime
  • Move swift-tools-version to top of Package.swift file

v0.5.0

02 Aug 02:36

Choose a tag to compare

v0.5.0 Pre-release
Pre-release

Added

  • AccountAllowanceApproveTransaction
  • AccountAllowanceDeleteTransaction
  • AccountRecordsQuery
  • AccountStakersQuery
  • ContractBytecodeQuery
  • ContractCallQuery
  • ContractExecuteTransaction
  • ContractUpdateTransaction
  • ContractFunctionResult
  • ContractInfoQuery
  • FileInfoQuery
  • NetworkVersionInfoQuery
  • ScheduleCreateTransaction
  • TransactionRecordQuery

Changed

  • Remove AccountAddress and AccountAlias. Merged into AccountId.
  • Where possible, all classes are now final.

v0.4.0

19 Jul 15:43

Choose a tag to compare

v0.4.0 Pre-release
Pre-release

Added

  • FreezeTransaction
  • ScheduleDeleteTransaction
  • ScheduleSignTransaction
  • ScheduleInfoQuery
  • SystemDeleteTransaction
  • SystemUndeleteTransaction
  • TokenCreateTransaction
  • TokenFeeScheduleUpdateTransaction
  • TokenInfoQuery
  • TokenNftInfoQuery
  • TokenUpdateTransaction
  • TopicInfoQuery
  • TransferTransaction (add NFTs and Tokens)

Changed

  • Replace setPayerAccountId and addDefaultSigner with setOperator
  • Remove getSuccessfulReceipt and waitForConsensus

v0.3.0

22 Jun 08:46

Choose a tag to compare

v0.3.0 Pre-release
Pre-release

Added

  • ContractCreateTransaction
  • ContractDeleteTransaction
  • EntityId
  • TokenAssociateTransaction
  • TokenBurnTransaction
  • TokenCreateTransaction
  • CustomFee
  • TokenUpdateTransaction
  • TokenDeleteTransaction
  • TokenDissociateTransaction
  • TokenFreezeTransaction
  • TokenUnfreezeTransaction
  • TokenPauseTransaction
  • TokenUnpauseTransaction
  • TokenGrantKycTransaction
  • TokenRevokeKycTransaction
  • TokenWipeTransaction

v0.2.0

04 Jun 00:52

Choose a tag to compare

v0.2.0 Pre-release
Pre-release

Added

  • AccountCreateTransaction
  • AccountDeleteTransaction
  • AccountUpdateTransaction
  • FileAppendTransaction
  • FileContentsQuery
  • FileCreateTransaction
  • FileDeleteTransaction
  • FileUpdateTransaction
  • TopicCreateTransaction
  • TopicDeleteTransaction
  • TopicMessageSubmitTransaction
  • TopicUpdateTransaction
  • TransactionReceipt
  • TransactionReceiptQuery
  • TransactionReceiptResponse
  • TransactionResponse
  • TransferTransaction

v0.1.1

26 May 13:13

Choose a tag to compare

v0.1.1 Pre-release
Pre-release
0.1.1