From b616bbe799c2d6a9c4b0e925622d0a89a02c6274 Mon Sep 17 00:00:00 2001 From: Arif Burak Demiray Date: Mon, 30 Nov 2026 15:40:38 +0300 Subject: [PATCH 1/2] Bump the Java SDK and java-ui to 26.12.0 --- CHANGELOG.md | 2 +- app-javafx/src/main/java/ly/count/javafx/demo/AppContext.java | 2 +- build.gradle | 2 +- gradle.properties | 2 +- sdk-java-ui/CHANGELOG.md | 2 +- sdk-java-ui/gradle.properties | 2 +- sdk-java/src/main/java/ly/count/sdk/java/Config.java | 2 +- .../src/test/java/ly/count/sdk/java/internal/TestUtils.java | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03f8430d..d8ba65ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## XX.XX.XX +## 26.12.0 * !! Major breaking change !! New versions of `ly.count.sdk:java` and `ly.count.sdk:java-ui` are published at `https://maven.countly.com` instead of Maven Central. Add the repository once. Gradle, next to `mavenCentral()` in `dependencyResolutionManagement` of `settings.gradle` (or in `allprojects` of the root `build.gradle` in older projects): ```groovy diff --git a/app-javafx/src/main/java/ly/count/javafx/demo/AppContext.java b/app-javafx/src/main/java/ly/count/javafx/demo/AppContext.java index fd70e38e..ba9d5834 100644 --- a/app-javafx/src/main/java/ly/count/javafx/demo/AppContext.java +++ b/app-javafx/src/main/java/ly/count/javafx/demo/AppContext.java @@ -13,7 +13,7 @@ public final class AppContext { // flows, so our raw feedback HTTP call (used to recover the wv field // for URL construction) identifies the same client. public static final String SDK_NAME = "java-native"; - public static final String SDK_VERSION = "26.8.0"; + public static final String SDK_VERSION = "26.12.0"; public static final String PLATFORM = "desktop"; // Populated from the Init tab once the user initializes the SDK; the diff --git a/build.gradle b/build.gradle index 559827c8..c797c2f2 100644 --- a/build.gradle +++ b/build.gradle @@ -41,7 +41,7 @@ subprojects { } allprojects { - ext.CLY_VERSION = "26.8.0" + ext.CLY_VERSION = "26.12.0" ext.POWERMOCK_VERSION = "1.7.4" ext.JACOCO_VERSION = "0.8.13" diff --git a/gradle.properties b/gradle.properties index a5a8126c..a01e56b6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,7 +18,7 @@ # org.gradle.parallel=true # RELEASE FIELD SECTION -VERSION_NAME=26.8.0 +VERSION_NAME=26.12.0 GROUP=ly.count.sdk POM_URL=https://github.com/Countly/countly-sdk-java diff --git a/sdk-java-ui/CHANGELOG.md b/sdk-java-ui/CHANGELOG.md index cdfbb57d..b6c09961 100644 --- a/sdk-java-ui/CHANGELOG.md +++ b/sdk-java-ui/CHANGELOG.md @@ -1,4 +1,4 @@ -## XX.XX.XX +## 26.12.0 * ! Minor breaking change ! `ly.count.sdk:java-ui` now has its own version numbers and is released only when it changes, so its version no longer follows the core SDK `ly.count.sdk:java`. It names the core version it needs, currently 26.8.0; if your project also declares `ly.count.sdk:java`, use that version or a newer one. diff --git a/sdk-java-ui/gradle.properties b/sdk-java-ui/gradle.properties index 6e431c5e..4aa279dd 100644 --- a/sdk-java-ui/gradle.properties +++ b/sdk-java-ui/gradle.properties @@ -1,7 +1,7 @@ #RELEASE FIELDS POM_ARTIFACT_ID=java-ui # Released on its own with tags ui-X.Y.Z, so it overrides the root VERSION_NAME of the core SDK. -VERSION_NAME=26.8.0 +VERSION_NAME=26.12.0 POM_NAME=Countly Java SDK UI POM_DESCRIPTION=JavaFX user interface for the Countly Java SDK, displaying feedback widgets and content diff --git a/sdk-java/src/main/java/ly/count/sdk/java/Config.java b/sdk-java/src/main/java/ly/count/sdk/java/Config.java index da5a8242..e0b712bb 100644 --- a/sdk-java/src/main/java/ly/count/sdk/java/Config.java +++ b/sdk-java/src/main/java/ly/count/sdk/java/Config.java @@ -69,7 +69,7 @@ public class Config { /** * Countly SDK version to be sent in HTTP requests */ - protected String sdkVersion = "26.8.0"; + protected String sdkVersion = "26.12.0"; /** * Countly SDK version to be sent in HTTP requests diff --git a/sdk-java/src/test/java/ly/count/sdk/java/internal/TestUtils.java b/sdk-java/src/test/java/ly/count/sdk/java/internal/TestUtils.java index 1d9006fe..e7fe9b8d 100644 --- a/sdk-java/src/test/java/ly/count/sdk/java/internal/TestUtils.java +++ b/sdk-java/src/test/java/ly/count/sdk/java/internal/TestUtils.java @@ -40,7 +40,7 @@ public class TestUtils { static String SERVER_APP_KEY = "COUNTLY_APP_KEY"; static String DEVICE_ID = "some_random_test_device_id"; static String SDK_NAME = "java-native"; - static String SDK_VERSION = "26.8.0"; + static String SDK_VERSION = "26.12.0"; static String APPLICATION_VERSION = "1.0"; public static final String[] eKeys = new String[] { "eventKey1", "eventKey2", "eventKey3", "eventKey4", "eventKey5", "eventKey6", "eventKey7" }; From 4be247f93e011d0e0e9d07a21e1d1876a586b974 Mon Sep 17 00:00:00 2001 From: Arif Burak Demiray Date: Mon, 30 Nov 2026 15:44:33 +0300 Subject: [PATCH 2/2] Fix the 26.12.0 changelogs of the Java SDK and java-ui --- CHANGELOG.md | 10 +++++----- sdk-java-ui/CHANGELOG.md | 4 ++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d8ba65ef..3aba5104 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,9 +47,9 @@ * Added support for the SDK connection test. When the server asks for it, the SDK checks that it can reach every endpoint it depends on and reports the results. * Added "setMaxKeyLength(int)" init config method to limit the length of event keys, view names, segmentation keys and custom user property keys. Longer keys are truncated. There is no limit by default, and the key length limit of the SDK behavior settings overrides it. * Added "disableHealthCheck()" init config method to turn off the health check request. -* Added "changeServerUrl(String)" to "Countly.instance()" to change the server URL after init -* Added "changeAppKey(String)" to "Countly.instance()" to change the app key after init -* Added "flushQueues()", "replaceAllAppKeysInQueueWithCurrentAppKey()", "removeDifferentAppKeysFromQueue()" and "attemptToSendStoredRequests()" to "Countly.instance()" to manage the request queue +* Added "changeServerUrl(String)" to "Countly.instance()" to change the server URL after init. +* Added "changeAppKey(String)" to "Countly.instance()" to change the app key after init. +* Added "flushQueues()", "replaceAllAppKeysInQueueWithCurrentAppKey()", "removeDifferentAppKeysFromQueue()" and "attemptToSendStoredRequests()" to "Countly.instance()" to manage the request queue. * The deprecated "event", "timedEvent", "view" and "addCrashReport" calls of the session interface, and "record" and "endAndRecord" of a legacy event, now log a warning that names the call to use instead. * Failed requests are now logged at debug level, and wrong uses of the session, event, view and crash methods at warning level instead of error level. @@ -57,8 +57,6 @@ * Mitigated an issue where a storage file cut short by a stopped process made initialization fail. * Mitigated an issue where a request recorded while the SDK was finishing a send could wait until the next request or session update before it was sent. -* Updated JSON library version from "20250517" to "20260814". - * Mitigated an issue where requests, sessions or crashes created close together could get the same storage ID, so some of them were lost. * Mitigated an issue where removing the consent of one feature also stopped the other features and deleted their queued events, unsent crashes and remote config values, after which the device ID and user profile interfaces could throw. * Mitigated an issue where, while consent was required, unhandled crashes were not recorded if the crash reporting consent was given after initialization. @@ -73,6 +71,8 @@ * Mitigated an issue where "onConsent" and "onConsentRemoval" threw a NullPointerException when one of the given features was null. * Mitigated an issue where the session update timer logged an error every minute for a session that was created but not begun. +* Updated JSON library version from "20250517" to "20260814". + ## 26.8.0 * Added support for the Content feature, accessible through the "Countly.instance().content()" interface: * "enterContentZone" / "exitContentZone" for starting and stopping periodic content fetching diff --git a/sdk-java-ui/CHANGELOG.md b/sdk-java-ui/CHANGELOG.md index b6c09961..13e91192 100644 --- a/sdk-java-ui/CHANGELOG.md +++ b/sdk-java-ui/CHANGELOG.md @@ -1,6 +1,10 @@ ## 26.12.0 +* !! Major breaking change !! New versions of `ly.count.sdk:java-ui` are published at `https://maven.countly.com` instead of Maven Central. Add the repository once, as shown in the Java SDK's [CHANGELOG](../CHANGELOG.md), and keep `mavenCentral()`: JavaFX, the JSON library and Java SDK versions up to 26.8.0 still come from there. + Versions released before this one stay available on Maven Central. The files are signed with the same key as before (`FC8DB0DE234A273BA45E562FB8C83A079A5BBD0C`). * ! Minor breaking change ! `ly.count.sdk:java-ui` now has its own version numbers and is released only when it changes, so its version no longer follows the core SDK `ly.count.sdk:java`. It names the core version it needs, currently 26.8.0; if your project also declares `ly.count.sdk:java`, use that version or a newer one. +* Updated JSON library version from "20250517" to "20260814". + ## 26.8.0 * First release, together with the Java SDK 26.8.0. See the Java SDK's [CHANGELOG](../CHANGELOG.md) for what it displays.