From 444f92c0957816e40a3bad021a6041fe8fbcc6bd Mon Sep 17 00:00:00 2001 From: reeshika-h Date: Tue, 6 Jan 2026 15:37:49 +0530 Subject: [PATCH 1/4] Update dependencies in pom.xml: bump rxjava-source to 3.1.12, loggin to 5.3.2, jackson-databind to 2.20.1, and okhttp to 5.3.2. --- pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index f3317c31..819e6f1f 100644 --- a/pom.xml +++ b/pom.xml @@ -20,9 +20,9 @@ 3.3.1 3.4.1 3.0.0 - 3.1.10 + 3.1.12 2.11.0 - 5.1.0 + 5.3.2 0.8.5 1.18.36 5.11.4 @@ -177,7 +177,7 @@ com.fasterxml.jackson.core jackson-databind - 2.18.2 + 2.20.1 com.slack.api @@ -192,7 +192,7 @@ com.squareup.okhttp3 okhttp - 5.1.0 + 5.3.2 org.slf4j From d40f88b54be3530e4fcdca72effff69e61012157 Mon Sep 17 00:00:00 2001 From: reeshika-h Date: Tue, 6 Jan 2026 15:41:29 +0530 Subject: [PATCH 2/4] Update dependency version for annotations in pom.xml from 24.0.1 to 26.0.2 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 819e6f1f..8edefc9c 100644 --- a/pom.xml +++ b/pom.xml @@ -187,7 +187,7 @@ org.jetbrains annotations - 24.0.1 + 26.0.2 com.squareup.okhttp3 From 751a721d1527fd108ad9ca33c1d1a59d73b2b18a Mon Sep 17 00:00:00 2001 From: reeshika-h Date: Tue, 6 Jan 2026 15:55:34 +0530 Subject: [PATCH 3/4] Update retrofit-source version in pom.xml from 2.11.0 to 3.0.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8edefc9c..d55d54db 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ 3.4.1 3.0.0 3.1.12 - 2.11.0 + 3.0.0 5.3.2 0.8.5 1.18.36 From fc533f19c59c4fb93ee7d4e21969eeed25ea6e0b Mon Sep 17 00:00:00 2001 From: reeshika-h Date: Wed, 11 Feb 2026 13:19:02 +0530 Subject: [PATCH 4/4] chore: Update dependencies in pom.xml and modify test fixture in TestEntryModel.java --- pom.xml | 15 ++++++--------- .../java/com/contentstack/sdk/TestEntryModel.java | 6 +++--- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index ea5fca09..4c79771b 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ 3.0.0 5.3.2 0.8.5 - 1.18.36 + 1.18.42 5.11.4 5.8.0-M1 2.8.8 @@ -33,17 +33,14 @@ 1.5 3.8.1 1.6.13 - 20250107 + 20250517 0.8.11 2.5.3 1.2.15 - - org.sonatype.oss - oss-parent - 7 - + + https://github.com/contentstack/contentstack-java @@ -184,12 +181,12 @@ com.fasterxml.jackson.core jackson-databind - 2.20.1 + 2.21.0 com.slack.api bolt - 1.45.3 + 1.46.0 org.jetbrains diff --git a/src/test/java/com/contentstack/sdk/TestEntryModel.java b/src/test/java/com/contentstack/sdk/TestEntryModel.java index cbf9fbe2..f0a33237 100644 --- a/src/test/java/com/contentstack/sdk/TestEntryModel.java +++ b/src/test/java/com/contentstack/sdk/TestEntryModel.java @@ -254,8 +254,8 @@ void testConstructorWithPublishDetails() { JSONObject publishDetails = new JSONObject(); publishDetails.put("environment", "production"); publishDetails.put("time", "2024-01-01T00:00:00.000Z"); - // file deepcode ignore NoHardcodedCredentials/test: - publishDetails.put("user", "user123"); + // Test fixture: user is a non-secret publish-detail field (not a credential) + publishDetails.put("user", "test_publisher_uid"); JSONObject json = new JSONObject(); json.put("uid", "published_entry"); @@ -267,7 +267,7 @@ void testConstructorWithPublishDetails() { assertNotNull(model.publishDetails); assertEquals("production", model.environment); assertEquals("2024-01-01T00:00:00.000Z", model.time); - assertEquals("user123", model.user); + assertEquals("test_publisher_uid", model.user); // Verify metadata is populated assertNotNull(model.metadata);