Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
# Changelog

## Pending
- fix: use OkHttp's public SSE factory for Horizon streams and force SSE requests to bypass caches.
- feat: sort `ScMap` entries by key in `Scv.toMap` following Soroban runtime ordering rules, as the network requires ScMap keys to be in ascending order. `Scv.toMap` now accepts `Map<SCVal, SCVal>`; the previous `toMap(LinkedHashMap<SCVal, SCVal>)` overload is deprecated. ([#766](https://github.com/lightsail-network/java-stellar-sdk/pull/766))
- feat: add SEP-0051 support. ([#776](https://github.com/lightsail-network/java-stellar-sdk/pull/776))

## 3.0.0-beta0

### Update
- fix: use OkHttp's public SSE factory for Horizon streams and force SSE requests to bypass caches. ([#791](https://github.com/lightsail-network/java-stellar-sdk/pull/791))
- feat: sort `ScMap` entries by key in `Scv.toMap` following Soroban runtime ordering rules, as the network requires `ScMap` keys to be in ascending order. `Scv.toMap` now accepts `Map<SCVal, SCVal>`; the previous `toMap(LinkedHashMap<SCVal, SCVal>)` overload is deprecated. ([#766](https://github.com/lightsail-network/java-stellar-sdk/pull/766))
- feat: add SEP-0051 support. ([#774](https://github.com/lightsail-network/java-stellar-sdk/pull/774))
- feat: add `closeTime`, `headerXdr`, and `metadataXdr` to `GetLatestLedgerResponse`. ([#768](https://github.com/lightsail-network/java-stellar-sdk/pull/768))
- chore: bump [stellar-xdr](https://github.com/stellar/stellar-xdr) to v25.0. ([#769](https://github.com/lightsail-network/java-stellar-sdk/pull/769))
- chore: update various dependencies to the latest compatible versions. ([#786](https://github.com/lightsail-network/java-stellar-sdk/pull/786), [#790](https://github.com/lightsail-network/java-stellar-sdk/pull/790))
- docs: add more detailed API and XDR generator documentation. ([#783](https://github.com/lightsail-network/java-stellar-sdk/pull/783), [#784](https://github.com/lightsail-network/java-stellar-sdk/pull/784))
- chore: building the project from source now requires JDK 21 and Gradle 9.4.1. Published SDK artifacts still target Java 8 bytecode. ([#788](https://github.com/lightsail-network/java-stellar-sdk/pull/788), [#789](https://github.com/lightsail-network/java-stellar-sdk/pull/789))
- chore: bump generated XDR definitions to `stellar-xdr` v26.0, including the v25.0 changes introduced earlier in this release cycle. ([#769](https://github.com/lightsail-network/java-stellar-sdk/pull/769), [#781](https://github.com/lightsail-network/java-stellar-sdk/pull/781))

### Breaking changes
- refactor!: remove deprecated `StrKey` helpers `encodeEd25519PublicKey(AccountID)`, `encodeMuxedAccount(MuxedAccount)`, `decodeMuxedAccount(String)`, `encodeToXDRAccountId(String)`, and `encodeToXDRMuxedAccount(String)`; use `StrKey.encodeEd25519PublicKey(byte[])`, `org.stellar.sdk.MuxedAccount`, and `KeyPair#getXdrAccountId()` instead. ([#779](https://github.com/lightsail-network/java-stellar-sdk/pull/779))
- chore: bump [stellar-xdr](https://github.com/stellar/stellar-xdr) to v26.0.

## 2.2.3

Expand Down
2 changes: 1 addition & 1 deletion android_test/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ dependencies {
implementation("androidx.compose.material3:material3")
// Since we are adding local jar(libs/stellar-sdk.jar) as dependency,
// gradle cannot automatically download the required third-party dependencies.
implementation(files("libs/stellar-sdk-2.2.3.jar"))
implementation(files("libs/stellar-sdk-3.0.0-beta0.jar"))
implementation("com.squareup.okhttp3:okhttp:4.11.0")
implementation("com.squareup.okhttp3:okhttp-sse:4.11.0")
implementation("com.moandjiezana.toml:toml4j:0.7.2")
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
}

group = "network.lightsail"
version = "2.2.3"
version = "3.0.0-beta0"

java {
toolchain {
Expand Down
2 changes: 1 addition & 1 deletion examples/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spotless {

dependencies {
// Use https://central.sonatype.com/artifact/network.lightsail/stellar-sdk in prod.
implementation("network.lightsail:stellar-sdk:2.2.3")
implementation("network.lightsail:stellar-sdk:3.0.0-beta0")
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>network.lightsail</groupId>
<artifactId>stellar-sdk</artifactId>
<version>2.2.3</version>
<version>3.0.0-beta0</version>
<packaging>jar</packaging>

<name>stellar-sdk</name>
Expand Down
Loading