From 16e69475b4f694ee9f154bb02a32f4b2fa7d16a7 Mon Sep 17 00:00:00 2001 From: EgorMajj <91486022+EgorMajj@users.noreply.github.com> Date: Mon, 5 Oct 2026 14:51:39 +0300 Subject: [PATCH] chore: release Java SDK 1.0.1 --- CHANGELOG.md | 2 +- examples/httpserver/pom.xml | 2 +- pom.xml | 2 +- src/main/java/ai/shieldlabs/ShieldLabsClient.java | 2 +- src/test/java/ai/shieldlabs/ClientConfigTest.java | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e35037..8b285f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project are documented in this file. The format foll [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [1.0.1] - 2026-10-05 ### Added diff --git a/examples/httpserver/pom.xml b/examples/httpserver/pom.xml index 7240c81..8ca3b77 100644 --- a/examples/httpserver/pom.xml +++ b/examples/httpserver/pom.xml @@ -15,7 +15,7 @@ UTF-8 11 - 1.0.0 + 1.0.1 2.22.3 diff --git a/pom.xml b/pom.xml index c4f86ed..4f9f3c8 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ ai.shieldlabs shieldlabs-java - 1.0.0 + 1.0.1 jar ShieldLabs Java SDK diff --git a/src/main/java/ai/shieldlabs/ShieldLabsClient.java b/src/main/java/ai/shieldlabs/ShieldLabsClient.java index 55619f7..9b8fef0 100644 --- a/src/main/java/ai/shieldlabs/ShieldLabsClient.java +++ b/src/main/java/ai/shieldlabs/ShieldLabsClient.java @@ -26,7 +26,7 @@ */ public final class ShieldLabsClient { /** Version of this SDK, sent in the {@code User-Agent} header. */ - public static final String VERSION = "1.0.0"; + public static final String VERSION = "1.0.1"; /** Default History API origin. */ public static final URI DEFAULT_BASE_URL = URI.create("https://account.shieldlabs.ai"); /** Default timeout of one HTTP attempt. */ diff --git a/src/test/java/ai/shieldlabs/ClientConfigTest.java b/src/test/java/ai/shieldlabs/ClientConfigTest.java index 43dce7b..a3056f4 100644 --- a/src/test/java/ai/shieldlabs/ClientConfigTest.java +++ b/src/test/java/ai/shieldlabs/ClientConfigTest.java @@ -194,7 +194,7 @@ void fromEnvironment() { @Test void userAgentNamesTheSdkAndRuntime() { String userAgent = Transport.userAgent(); - assertTrue(userAgent.startsWith("shieldlabs-java/1.0.0 (Java "), userAgent); + assertTrue(userAgent.startsWith("shieldlabs-java/1.0.1 (Java "), userAgent); assertTrue(userAgent.endsWith(")"), userAgent); assertTrue(userAgent.matches("[ -~]+"), "printable ASCII only"); }