Skip to content

Commit

Permalink
release: prepare v2.6.0
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Akhterov <[email protected]>
  • Loading branch information
janaakhterov committed Jan 15, 2022
1 parent 460cab5 commit f3930f8
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 5 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,36 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v2.6.0

### Added

* `LedgerId`
* `Client.[set|get]LedgerId()`
* `TransferTransaction.addTokenTransferWithDecimals()`, `TransferTransaction.getTokenIdDecimals()`.
* `ledgerId` fields in `AccountInfo`, `ContractInfo`, `FileInfo`, `ScheduleInfo`, `TokenInfo`, `TokenNftInfo`, and `TopicInfo`
* `UNEXPECTED_TOKEN_DECIMALS` response code.
* `PublicKey.verifyTransaction()` should use the correct protobuf field per key type
* `AccountId.aliasKey`, including `AccountId.[to|from]String()` support.
* `[PublicKey|PrivateKey].toAccountId()`.
* `aliasKey` fields in `TransactionRecord` and `AccountInfo`.
* `nonce` field in `TransactionId`, including `TransactionId.[set|get]Nonce()`
* `children` fields in `TransactionRecord` and `TransactionReceipt`
* `duplicates` field in `TransactionReceipt`
* `[TransactionReceiptQuery|TransactionRecordQuery].[set|get]IncludeChildren()`
* `TransactionReceiptQuery.[set|get]IncludeDuplicates()`
* New response codes.
* Support for ECDSA SecP256K1 keys.
* `PrivateKey.generate[ED25519|ECDSA]()`
* `[Private|Public]Key.from[Bytes|String][DER|ED25519|ECDSA]()`
* `[Private|Public]Key.to[Bytes|String][Raw|DER]()`
* `DelegateContractId` to easily distingish between having a `ContractId` and `DelegateContractId` for a key

### Deprecated

* `NetworkName`, `Client.[set|get]NetworkName()`, user `LedgerId` and `Client.[set|get]LedgerId()` instead.
* `PrivateKey.generate()`, use `PrivateKey.generate[ED25519|ECDSA]()` instead.

## v2.6.0-beta.3

### Added
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ Select _one_ of the following depending on your target platform.

```groovy
// Android, Corda DJVM, Java 7+
implementation 'com.hedera.hashgraph:sdk-jdk7:2.6.0-beta.3'
implementation 'com.hedera.hashgraph:sdk-jdk7:2.6.0'
// Java 9+, Kotlin
implementation 'com.hedera.hashgraph:sdk:2.6.0-beta.3'
implementation 'com.hedera.hashgraph:sdk:2.6.0'
```

Select _one_ of the following to provide the gRPC implementation.
Expand Down Expand Up @@ -61,14 +61,14 @@ Select _one_ of the following depending on your target platform.
<dependency>
<groupId>com.hedera.hashgraph</groupId>
<artifactId>sdk-jdk7</artifactId>
<version>2.6.0-beta.3</version>
<version>2.6.0</version>
</dependency>

<!-- Java 9+, Kotlin -->
<dependency>
<groupId>com.hedera.hashgraph</groupId>
<artifactId>sdk</artifactId>
<version>2.6.0-beta.3</version>
<version>2.6.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "com.hedera.hashgraph"
version = "2.6.0-beta.3"
version = "2.6.0"
description = "Hedera™ Hashgraph SDK for Java"

configurations {
Expand Down

0 comments on commit f3930f8

Please sign in to comment.