Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Releases: klaytn/caver-java

Release v1.5.6-rc.4

17 Dec 00:44
ce3ee04
Compare
Choose a tag to compare
Release v1.5.6-rc.4 Pre-release
Pre-release

v1.5.6-rc.4 Release Notes(#192)

Breaking Changes

  • Remove Public EN url.(#182)
  • changes the default value of the address(#190)
    changes the default value of the address from 0x to 0x0000000000000000000000000000000000000000 in 20 bytes. Since Klaytn's address has a fixed length of 20 bytes, it cannot have 0x as a default.

New features

  • Introduced a IWallet interface(#181, #185)
    • IWallet interface defines a method for signing a transaction.
    • KeyringContainer class corresponding to caver.wallet implements this interface.
    • sign using the IWallet interface in the KIP7, KIP17, and Contract classes that sign the transaction internally.

Improvement

  • add encodeABI, estimateGas in Contract class(#180)
  • Define throw exception class in IWallet interface's method.(#187)
    • generate()
    • isExisted()
  • Clarify the exception class thrown by the method in IWallet interface(#189)

Others

  • Add more time waiting for Circle CI to prepare to build test network for testing caver-java.(#192)

Release v1.5.6-rc.3

11 Dec 08:11
c472d37
Compare
Choose a tag to compare
Release v1.5.6-rc.3 Pre-release
Pre-release

v1.5.6-rc.3 Release Notes(#189, #190)

Breaking Changes

  • Remove Public EN url.(#182)
  • changes the default value of the address(#190)
    changes the default value of the address from 0x to 0x0000000000000000000000000000000000000000 in 20 bytes. Since Klaytn's address has a fixed length of 20 bytes, it cannot have 0x as a default.

New features

  • Introduced a IWallet interface(#181, #185)
    • IWallet interface defines a method for signing a transaction.
    • KeyringContainer class corresponding to caver.wallet implements this interface.
    • sign using the IWallet interface in the KIP7, KIP17, and Contract classes that sign the transaction internally.

Improvement

  • add encodeABI, estimateGas in Contract class(#180)
  • Define throw exception class in IWallet interface's method.(#187)
    • generate()
    • isExisted()
  • Clarify the exception class thrown by the method in IWallet interface(#189)

Release v1.5.6-rc.2

11 Dec 08:07
351fa7d
Compare
Choose a tag to compare
Release v1.5.6-rc.2 Pre-release
Pre-release

v1.5.6-rc.2 Release Notes(#187)

Breaking change

  • Remove Public EN url.(#182)

New features

  • Introduced a IWallet interface(#181, #185)
    • IWallet interface defines a method for signing a transaction.
    • KeyringContainer class corresponding to caver.wallet implements this interface.
    • sign using the IWallet interface in the KIP7, KIP17, and Contract classes that sign the transaction internally.

Improvement

  • add encodeABI, estimateGas in Contract class(#180)
  • Define throw exception class in IWallet interface's method.(#187)
    • generate()
    • isExisted()

Release v1.5.6-rc.1

11 Dec 07:24
5f7af96
Compare
Choose a tag to compare
Release v1.5.6-rc.1 Pre-release
Pre-release

v1.5.6-rc1 Release Notes

Breaking change

  • Remove Public EN url.(#182)

New features

  • Introduced a IWallet interface(#181, #185)
    • IWallet interface defines a method for signing a transaction.
    • KeyringContainer class corresponding to caver.wallet implements this interface.
    • sign using the IWallet interface in the KIP7, KIP17, and Contract classes that sign the transaction internally.

Improvements

  • add encodeABI, estimateGas in Contract class(#180)

Release v1.5.5

25 Nov 00:09
1ab56b6
Compare
Choose a tag to compare

v1.5.5 Release Notes

Improvements

  • Improved the IPFS upload method to receive a byte array. (#173)
    • caver.ipfs.add(byte[]) uploads a byte array to IPFS.
  • Improved a function usability in Contract class. (#175, #180)
    • Smart Contract functions can be called directly from the Contract class.
    • Able to pass function parameters of smart contracts as varargs type when executing a smart contract method in Contract class.
      • deploy(SendOptions sendOptions, String contractBinaryData, Object... constructorParams)
      • deploy(SendOptions sendOptions, TransactionReceiptProcessor receiptProcessor, String contractBinaryData, Object... constructorParams)
      • send(String methodName, Object... methodArguments)
      • send(SendOptions options, String methodName, Object... methodArguments)
      • send(SendOptions options, TransactionReceiptProcessor receiptProcessor, String methodName, Object... methodArguments)
      • sendWithSolidityType(String methodName, Type... methodArguments)
      • sendWithSolidityType(SendOptions options, String methodName, Type... methodArguments)
      • sendWithSolidityType(SendOptions options, TransactionReceiptProcessor receiptProcessor, String methodName, Type... methodArguments)
      • call(String methodName, Object... methodArguments)
      • call(CallObject callObject, String methodName, Object... methodArguments)
      • callWithSolidityType(String methodName, Type... methodArguments)
      • callWithSolidityType(CallObject callObject, String methodName, Type... methodArguments)
      • encodeABI(String methodName, Object... methodArguments)
      • encodeABIWithSolidityType(String methodName, Type... methodArguments)
      • estimateGas(CallObject callObject, String methodName, Object... methodArguments)
      • estimateGasWithSolidityType(CallObject callObject, String methodName, Type... methodArguments)
    • Added new DeployContractParams constructors.
      • A constructor with variable parameters.
      • A constructor with contract's binary data only.
    • Added a new deploy function in KIP7 (in caver.kct.kip7) and KIP17 (in caver.kct.kip17).
      • deploy(Caver caver, String deployer, String name, String symbol, int decimals, BigInteger initialSupply) in KIP7 class.
      • deploy(Caver caver, String deployer, String name, String symbol) in KIP17 class.
  • Improved the address validation logic in Utils.isAddress(). (#178)
    • Added validation logic through checksum encoding address (EIP-55).

Release v1.5.5-rc.3

25 Nov 00:11
0685a85
Compare
Choose a tag to compare
Release v1.5.5-rc.3 Pre-release
Pre-release

v1.5.5 Release Notes

Improvements

  • Improved a function usability in Contract class.(#180)
    • Smart Contract functions can be called directly from the Contract class.
    • Able to pass function parameters of smart contracts as varargs type when executing a smart contract method in Contract class.
      • encodeABI(String methodName, Object... methodArguments)
      • encodeABIWithSolidityType(String methodName, Type... methodArguments)
      • estimateGas(CallObject callObject, String methodName, Object... methodArguments)
      • estimateGasWithSolidityType(CallObject callObject, String methodName, Type... methodArguments)

Release v1.5.5-rc.1

19 Nov 09:06
709dcf7
Compare
Choose a tag to compare
Release v1.5.5-rc.1 Pre-release
Pre-release

v1.5.5-rc.1 Release Notes

Improvements

  • Add a overloaded function in IPFS class(#173)
    • `add(byte[])
  • Add a condition check in Utils.isAddress(#178)
    • add logic to check checksum encoded address.
  • Improvements executing smart contract method(#175)
    • Contract instance can execute contract method directly.
    • It is no longer necessary to send a list object by applying a variable parameter of Object type to the smart contract function parameter.
      • contract.deploy(SendOptions, contract method arguments.....)
      • contract.deploy(SendOptions, TransactionReceiptProcessor, contract method arguments.....)
      • contract.send("methodName", contract method arguments.....)
      • contract.send(SendOptions, "methodName", contract method arguments.....)
      • contract.send(SendOptions, TransactionReceiptProcessor, "methodName", contract method arguments)
      • contract.sendWithTypeReference("methodName", contract method arguments.....)
      • contract.sendWithTypeReference(SendOptions, "methodName", contract method arguments.....)
      • contract.sendWithTypeReference(SendOptions, TransactionReceiptProcessor,, "methodName", contract method arguments)
      • contract.call("methodName", contract method arguments....)
      • contract.call(CallObject, "methodName", contract method arguments....)
      • contract.callWithSolidityTypeReference("methodName", contract method arguments....)
      • contract.callWithSolidityTypeReference(CallObject, "methodName", contract method arguments....)
    • Also, add newly DeployContractParams constructor
      • constructor with variable parameters applied.
      • constructor with contract's binary data only.

Release v1.5.4

29 Oct 01:58
1f35155
Compare
Choose a tag to compare

v1.5.4 Release Notes

New Features

  • com.klaytn.caver.ipfs.IPFS class (#168)
    • A function to upload/download a file via IPFS (InterPlanetary File System).
      • caver.ipfs.setIPFSNode initializes to connect with an IPFS Node.
      • caver.ipfs.add uploads a file to IPFS.
      • caver.ipfs.get fetches a file from IPFS.
      • caver.ipfs.toHex converts an IPFS hash to a hex formatted hash string.
      • caver.ipfs.fromHex converts a hex formatted hash string to an IPFS hash.
    • You can use ipfs as a member of Caver instance.
    • To upload and download files through IPFS, you can use caver.ipfs. How to use caver.ipfs is described in detail in API Docs.

Improvements

  • Updated TERMS_OF_USE.md. (#170)
  • Reduced caver-java test time. (#169)

Release v1.5.4-rc.1

29 Oct 01:59
f3e9e58
Compare
Choose a tag to compare
Release v1.5.4-rc.1 Pre-release
Pre-release

v1.5.4 Release Notes

New Features

  • com.klaytn.caver.ipfs.IPFS class (#168)
    • A function to upload/download a file via IPFS (InterPlanetary File System).
      • caver.ipfs.setIPFSNode initializes to connect with an IPFS Node.
      • caver.ipfs.add uploads a file to IPFS.
      • caver.ipfs.get fetches a file from IPFS.
      • caver.ipfs.toHex converts an IPFS hash to a hex formatted hash string.
      • caver.ipfs.fromHex converts a hex formatted hash string to an IPFS hash.
    • You can use ipfs as a member of Caver instance.
    • To upload and download files through IPFS, you can use caver.ipfs. How to use caver.ipfs is described in detail in API Docs.

Improvements

  • Updated TERMS_OF_USE.md. (#170)
  • Reduced caver-java test time. (#169)

Release v1.5.3

27 Oct 09:52
2cc0419
Compare
Choose a tag to compare

v1.5.3 Release Notes

Improved usability of smart contracts.

Improvements

  • Added two functions call and callWithSolidityWrapper in ContractMethod not to pass a CallObject instance if unnecessary (#161).
  • Improved two functions encodeABI and encodeABISolidityWrapper in ContractMethod to handle null values in the parameter.

Fixed

  • Added two functions getBlockTransactionCountByHash and getBlockTransactionCountByNumber in caver.rpc.Klay (#157).
    • These functions have the same behavior of getTransactionCountByHash() and getTransactionCountByNumber().
  • Unified error messages for methods in Abstract class.(#158)
  • Fixed to handle an uncompressed public key with the prefix 0x04 (#162).
  • Unified key values in the in-memory wallet (#163).
    • When adding a keyring instance to the wallet, the keyring's address(used key in in-memory wallet) is converted to lowercase. Also, when getting a keyring instance from the wallet, the given address to find a keyring is converted to lowercase.
  • Removed unsupported JSON-RPC API : isWriteThroughCaching (#164).
  • Fixed the intermittently failed test cases (#166).

Others

  • Added license statements to the beginning of files that do not have license statements (#165).