Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
313 commits
Select commit Hold shift + click to select a range
2851b44
Delete jira.yml
Aravind-Kumar-cstk Apr 16, 2025
bd10379
Delete sast-scan.yml
Aravind-Kumar-cstk Apr 16, 2025
46eaff1
codeql-analysis.yml
Aravind-Kumar-cstk Apr 16, 2025
12441f2
Updated codeowners
Aravind-Kumar-cstk Apr 16, 2025
236a058
Refactor assertions in tests to use assertNotNull for improved valida…
reeshika-h Apr 23, 2025
4ff32c9
Uncomment skipTests configuration in maven-surefire-plugin for test e…
reeshika-h Apr 23, 2025
4d3e0cb
policy-scan.yml
Aravind-Kumar-cstk Apr 23, 2025
cb5ce37
Merge branch 'master' into fix/dx-2373-skips-single-item
harshithad0703 Apr 24, 2025
8beaa58
Fix item processing in SyncStack to handle JSONObject correctly and p…
harshithad0703 Apr 24, 2025
9d39ac5
Add test for handling single JSONObject under "items" in SyncStack
harshithad0703 Apr 24, 2025
c62265f
Merge pull request #185 from contentstack/fix/dx-2373-skips-single-item
harshithad0703 Apr 24, 2025
eed871f
Add Slack reporting functionality and update dependencies
reeshika-h Apr 30, 2025
10f0bd2
Enhance tests by adding assertions for entry parameters and headers; …
reeshika-h May 5, 2025
6567ff4
Add SLF4J dependency and update JavaDoc links; comment out disabled t…
reeshika-h May 5, 2025
1435a5d
Update assertions in tests to reflect expected header and entry counts
reeshika-h May 5, 2025
3459364
policy-scan.yml
Aravind-Kumar-cstk May 5, 2025
ff6447d
issues-jira.yml
Aravind-Kumar-cstk May 5, 2025
dc9e4be
secrets-scan.yml
Aravind-Kumar-cstk May 5, 2025
244226b
Updated codeowners
Aravind-Kumar-cstk May 5, 2025
361b81f
talismanrc file updated
Aravind-Kumar-cstk May 5, 2025
9448814
Remove header size assertions from entry and query tests
reeshika-h May 6, 2025
82e75af
Merge pull request #184 from contentstack/fix/DX-2420-pipeline-friendly
reeshika-h May 6, 2025
527f953
Update version to 2.1.1 and updated changelog
reeshika-h May 15, 2025
7eb50ed
Merge pull request #187 from contentstack/version-bump
reeshika-h May 15, 2025
0299754
Merge pull request #186 from contentstack/development
reeshika-h May 15, 2025
11199c8
Merge pull request #189 from contentstack/master
harshithad0703 May 15, 2025
02a355d
Update branch restrictions in PR workflow and add Talisman configuration
harshithad0703 May 16, 2025
5d12b4a
Merge pull request #190 from contentstack/fix/talismanrc-update
reeshika-h May 16, 2025
97b6a8e
Merge pull request #188 from contentstack/staging
harshithad0703 May 19, 2025
c362498
Add java-dotenv dependency and refactor Credentials class to use dote…
reeshika-h May 19, 2025
5f1fc3f
Add Kotlin standard library dependency to dependency management
reeshika-h May 19, 2025
e29a256
Merge pull request #191 from contentstack/fix/workflow
harshithad0703 May 19, 2025
98cd558
Add dotenv dependency and update environment variable loading in Cred…
reeshika-h May 20, 2025
9569279
Merge pull request #193 from contentstack/master
reeshika-h May 20, 2025
af09bd6
Merge pull request #194 from contentstack/staging
reeshika-h May 20, 2025
1a40037
Merge branch 'development' into fix/DX-3035-workflow-maven
reeshika-h May 20, 2025
52cd1e7
Merge pull request #192 from contentstack/fix/DX-3035-workflow-maven
reeshika-h May 20, 2025
b190141
Merge pull request #195 from contentstack/development
reeshika-h May 20, 2025
ca31a89
Merge pull request #196 from contentstack/staging
harshithad0703 May 20, 2025
4abc459
refactor: clean up test methods in TestEntry class
reeshika-h May 21, 2025
c126a1d
Merge pull request #198 from contentstack/fix/sanity
reeshika-h May 21, 2025
26e7182
Merge pull request #199 from contentstack/development
reeshika-h May 21, 2025
fa4f045
feat: add support for global fields with add and remove header
harshithad0703 May 22, 2025
bf9005f
chore: update version to 2.1.2 and add changelog entry for global fie…
harshithad0703 May 22, 2025
26e5da7
refactor: clean up documentation and remove unnecessary whitespace in…
harshithad0703 May 22, 2025
8d9514b
feat: enhance GlobalField fetch and findAll
harshithad0703 May 22, 2025
a47cca7
Merge pull request #200 from contentstack/feat/nested-global-fields
harshithad0703 May 23, 2025
71f296f
Merge pull request #202 from contentstack/development
harshithad0703 May 23, 2025
622b532
Merge pull request #201 from contentstack/staging
harshithad0703 May 26, 2025
a4e83cf
Merge pull request #203 from contentstack/master
reeshika-h May 27, 2025
388dfe4
Merge pull request #204 from contentstack/staging
harshithad0703 May 27, 2025
8ce6fac
Enhance SyncStack to handle ArrayList and improve error logging for '…
reeshika-h Jun 4, 2025
3ca7a29
Refactor SyncStack to support List interface for item processing, enh…
reeshika-h Jun 5, 2025
043e2c7
Merge pull request #205 from contentstack/fix/DX-3132-sync-setJson
reeshika-h Jun 5, 2025
0628ced
Release version 2.1.3: Fixed SyncStack to handle ArrayList.
reeshika-h Jun 6, 2025
7965ddc
Merge pull request #207 from contentstack/fix/version-bump
reeshika-h Jun 6, 2025
6281ced
Merge pull request #206 from contentstack/development
harshithad0703 Jun 6, 2025
e469599
Merge pull request #208 from contentstack/staging
harshithad0703 Jun 9, 2025
f127914
Merge pull request #209 from contentstack/master
harshithad0703 Jun 9, 2025
77020d5
Merge pull request #210 from contentstack/staging
harshithad0703 Jun 9, 2025
482f607
Add Lombok annotations and enhance data handling in models
reeshika-h Aug 13, 2025
fc08d6a
Add tests for Asset and ContentType as POJOs and enhance type safety …
reeshika-h Aug 13, 2025
a345035
version bump
reeshika-h Aug 14, 2025
2cfa8b0
Update dependency versions for logging, Slack API, OkHttp, and SLF4J
reeshika-h Aug 14, 2025
d9a4e0c
Merge pull request #217 from contentstack/feat/DX-2898-Pojo-impl-test…
reeshika-h Aug 14, 2025
409fd6e
skipping certain testcase
reeshika-h Aug 19, 2025
fda66e7
Merge pull request #223 from contentstack/feat/DX-2898-Pojo-impl-test…
reeshika-h Aug 19, 2025
389820f
Merge pull request #218 from contentstack/development
harshithad0703 Aug 22, 2025
072e180
Merge pull request #224 from contentstack/staging
harshithad0703 Aug 25, 2025
1c7c714
Merge pull request #226 from contentstack/master
reeshika-h Aug 26, 2025
e21a58a
Merge pull request #227 from contentstack/staging
harshithad0703 Aug 26, 2025
edff5cd
Refactor error handling in SDK classes to use centralized error messa…
reeshika-h Sep 2, 2025
5d0ef11
Delete secrets-scan.yml
Aravind-Kumar-cstk Sep 8, 2025
b9a87e2
Updated codeowners
Aravind-Kumar-cstk Sep 8, 2025
6288d8f
Add support for GCP_EU and AU regions in Config and Stack classes
reeshika-h Sep 22, 2025
78bc9f9
Update Maven workflow and versioning for publishing to Maven Central
reeshika-h Sep 23, 2025
89f37e9
Enable skipping tests in Maven Surefire plugin configuration
reeshika-h Sep 23, 2025
d3fa324
Fix Maven server ID and revert version to 2.2.0-beta in POM file
reeshika-h Sep 23, 2025
d34dfb3
Update Maven workflow to trigger on release events and revert version…
reeshika-h Sep 23, 2025
20d23a9
Bump version to 2.3.0 and update CHANGELOG for GCP-EU and AU region s…
reeshika-h Sep 23, 2025
fa029ff
Merge branch 'master' into fix/workflow-release
reeshika-h Sep 23, 2025
eaadece
Merge pull request #229 from contentstack/feat/DX-3359-AU-support
harshithad0703 Sep 24, 2025
6f5855a
Merge pull request #231 from contentstack/development
harshithad0703 Sep 25, 2025
ef27a7a
Merge pull request #233 from contentstack/master
harshithad0703 Sep 29, 2025
8c9a774
Merge pull request #230 from contentstack/fix/workflow-release
harshithad0703 Sep 29, 2025
447f5cb
Merge pull request #234 from contentstack/master
harshithad0703 Sep 29, 2025
a069e73
Merge pull request #232 from contentstack/staging
harshithad0703 Sep 29, 2025
78b1162
Merge pull request #235 from contentstack/master
harshithad0703 Sep 29, 2025
a84b14c
Merge pull request #236 from contentstack/staging
harshithad0703 Sep 29, 2025
a3efb0c
Refactor whereIn and whereNotIn methods to use JSONObject directly fo…
reeshika-h Oct 21, 2025
072eb9b
Merge pull request #228 from contentstack/fix/DX-3455-error-message-i…
reeshika-h Oct 28, 2025
ab33952
fixed test assertions
reeshika-h Oct 28, 2025
186dd58
Merge pull request #238 from contentstack/fix/DX-3455-error-message-i…
reeshika-h Oct 28, 2025
9b43007
Merge pull request #237 from contentstack/fix/DX-3248-github-issue
harshithad0703 Oct 31, 2025
2bc4c77
version bump
reeshika-h Oct 31, 2025
5363a4c
Merge pull request #239 from contentstack/development
harshithad0703 Oct 31, 2025
b623500
fix 1
reeshika-h Oct 31, 2025
73ae158
Merge pull request #240 from contentstack/version-bump
harshithad0703 Oct 31, 2025
7889a69
Merge pull request #241 from contentstack/staging
harshithad0703 Nov 3, 2025
705d3f8
feat: Separate unit/API tests and enhance integration test coverage
harshithad0703 Nov 3, 2025
0ce9568
refactor: Update pom.xml
harshithad0703 Nov 4, 2025
73b35da
update pom.xml
harshithad0703 Nov 4, 2025
2c41f13
Merge pull request #243 from contentstack/master
reeshika-h Nov 4, 2025
b8796d7
Add comprehensive unit tests for Asset class
harshithad0703 Nov 6, 2025
d2fc99b
Add comprehensive unit tests for AssetLibrary
harshithad0703 Nov 6, 2025
eb6484b
Add comprehensive unit tests for AssetModel and AssetsModel classes
harshithad0703 Nov 6, 2025
bd79c49
Add comprehensive unit tests for Config and Contentstack classes
harshithad0703 Nov 6, 2025
0f43c93
Add comprehensive unit tests for ContentType class
harshithad0703 Nov 6, 2025
b82f8ff
Add unit tests for AssetModel constructor with isArray=false and tags…
harshithad0703 Nov 6, 2025
aa4b7c2
Add comprehensive unit tests for ContentTypesCallback class
harshithad0703 Nov 6, 2025
9d43c94
Add comprehensive unit tests for ContentTypesModel class
harshithad0703 Nov 6, 2025
d693805
Add comprehensive unit tests for CSBackgroundTask constructors with v…
harshithad0703 Nov 6, 2025
9e7dda5
Add comprehensive unit tests for CSConnectionPool and CSConnectionReq…
harshithad0703 Nov 6, 2025
c129863
Add comprehensive unit tests for CSHttpConnection class
harshithad0703 Nov 6, 2025
c06d44a
Add comprehensive unit tests for EntriesModel class
harshithad0703 Nov 6, 2025
e4b9466
Add comprehensive unit tests for Entry class
harshithad0703 Nov 6, 2025
64db395
Add comprehensive unit tests for EntryModel class
harshithad0703 Nov 6, 2025
910fde8
Add comprehensive unit tests for ErrorMessages and GlobalField classes
harshithad0703 Nov 6, 2025
9a2ff2b
Add comprehensive unit tests for GlobalFieldsModel class
harshithad0703 Nov 6, 2025
62e1db4
Add comprehensive unit tests for Group class
harshithad0703 Nov 6, 2025
d51c425
Add comprehensive unit tests for Query class
harshithad0703 Nov 6, 2025
2bc632e
Add comprehensive unit tests for Query class, enhancing coverage with…
harshithad0703 Nov 6, 2025
bae11ed
Add comprehensive unit tests for Stack class, covering initialization…
harshithad0703 Nov 6, 2025
f9549b9
Add comprehensive unit tests for live preview query functionality in …
harshithad0703 Nov 6, 2025
c4a13a4
Add comprehensive unit tests for SyncStack class, covering all getter…
harshithad0703 Nov 6, 2025
24692a1
Add comprehensive unit tests for Taxonomy class, covering all query b…
harshithad0703 Nov 6, 2025
1736c3b
Add comprehensive integration tests for ContentstackPlugin, validatin…
harshithad0703 Nov 6, 2025
1895139
Remove obsolete unit tests for live preview query and find method in …
harshithad0703 Nov 6, 2025
336b07f
Add integration tests for ContentstackPlugin, implementing two sample…
harshithad0703 Nov 7, 2025
10f9fef
Add additional unit tests for CSHttpConnection, covering form paramet…
harshithad0703 Nov 7, 2025
240c71f
Add comprehensive unit tests for ContentType, GlobalFieldsModel, Quer…
harshithad0703 Nov 7, 2025
12bfaa6
Refactor SanityReport class: move to test directory and update report…
harshithad0703 Nov 7, 2025
c816697
Add comprehensive unit tests for Query class, specifically for the gr…
harshithad0703 Nov 7, 2025
d128d84
Add scripts for checking JaCoCo coverage thresholds and configure Git…
harshithad0703 Nov 7, 2025
306f031
Enhance GitHub Actions workflow for unit testing: add JaCoCo report g…
harshithad0703 Nov 7, 2025
5eb9ca0
Refactor test cases in TestCSBackgroundTask and TestQuery: replace st…
harshithad0703 Nov 7, 2025
be5827b
Update GitHub Actions workflow for unit testing
harshithad0703 Nov 7, 2025
38b24d9
Update GitHub Actions workflow for unit testing: modify JaCoCo report…
harshithad0703 Nov 7, 2025
fb503b7
Remove check-coverage.sh script and update unit testing workflow to s…
harshithad0703 Nov 7, 2025
74b997d
Update unit testing workflow: change JDK version to 9, enhance covera…
harshithad0703 Nov 7, 2025
b5b9c18
Update unit testing workflow to use Zulu distribution for JDK 9 setup
harshithad0703 Nov 7, 2025
e6877af
modify unit testing workflow to set up JDK 8 with Temurin distribution
harshithad0703 Nov 7, 2025
3714a2b
update workflow
harshithad0703 Nov 7, 2025
c6cc34b
Enhance unit testing workflow: enable tests in pom.xml temporarily, i…
harshithad0703 Nov 7, 2025
2e75436
Refactor unit testing workflow: rename job to 'coverage', update JDK …
harshithad0703 Nov 7, 2025
5717c7d
Update unit testing workflow: change JDK setup to version 8 with Temu…
harshithad0703 Nov 7, 2025
4167518
Refactor unit testing workflow
harshithad0703 Nov 7, 2025
ff2a73d
update workflow
harshithad0703 Nov 7, 2025
9bd99fe
update workflow
harshithad0703 Nov 7, 2025
7d9dfca
update workflow
harshithad0703 Nov 7, 2025
cf739f6
update workflow
harshithad0703 Nov 7, 2025
8c767ed
update workflow
harshithad0703 Nov 7, 2025
ba2548a
Merge pull request #242 from contentstack/fix/dx-3675-Unit-test-cases…
harshithad0703 Nov 10, 2025
e6705e7
feat: Add comprehensive integration test coverage
AniketDev7 Nov 24, 2025
7117acf
fix: Replace String.repeat() with Java 8 compatible implementation
AniketDev7 Nov 25, 2025
494fe03
fix: Ensure compatibility with GitHub Actions workflow
AniketDev7 Nov 25, 2025
7cfae0f
Remove unused test utility class
AniketDev7 Nov 25, 2025
20ebe86
Update pom.xml dependencies for security fixes and enable tests in th…
reeshika-h Dec 31, 2025
8a27208
Update pom.xml to upgrade dependencies: rxjava to 3.1.11, retrofit to…
reeshika-h Dec 31, 2025
9191447
Update LICENSE year to 2026 for copyright compliance
reeshika-h Dec 31, 2025
31a350f
version bump
reeshika-h Jan 2, 2026
dff4635
Merge pull request #245 from contentstack/fix-snyk-issue
reeshika-h Jan 2, 2026
591c04a
Merge pull request #244 from contentstack/feature/comprehensive-integ…
reeshika-h Jan 2, 2026
c7ec811
Merge pull request #246 from contentstack/development
reeshika-h Jan 2, 2026
42d007a
Merge pull request #247 from contentstack/staging
harshithad0703 Jan 5, 2026
fee3918
Merge pull request #253 from contentstack/master
cs-raj Jan 5, 2026
444f92c
Update dependencies in pom.xml: bump rxjava-source to 3.1.12, loggin …
reeshika-h Jan 6, 2026
d40f88b
Update dependency version for annotations in pom.xml from 24.0.1 to 2…
reeshika-h Jan 6, 2026
751a721
Update retrofit-source version in pom.xml from 2.11.0 to 3.0.0
reeshika-h Jan 6, 2026
0e5910d
Merge branch 'development' into fix/snyk
reeshika-h Jan 6, 2026
50112e4
feat: Add retry options to Config and integrate with OkHttpClient in …
reeshika-h Jan 23, 2026
ba967d7
test: Add interruption tests for RetryInterceptor to validate behavio…
reeshika-h Jan 23, 2026
f2839e5
test: Enhance RetryInterceptor tests with fixed and linear backoff st…
reeshika-h Jan 23, 2026
eb995d9
test: Add validation tests for setRetryableStatusCodes to ensure prop…
reeshika-h Jan 23, 2026
6820aa1
test: Add unit tests for RetryInterceptor and RetryOptions to validat…
reeshika-h Jan 23, 2026
8a2939b
version bump
reeshika-h Jan 30, 2026
cf9c3b2
Merge pull request #258 from contentstack/feat/DX-3884-retry-mechanism
harshithad0703 Jan 30, 2026
f3e7bef
Merge pull request #259 from contentstack/development
reeshika-h Jan 30, 2026
d336387
Merge pull request #260 from contentstack/staging
harshithad0703 Feb 2, 2026
31dba77
Merge branch 'development' into fix/snyk
reeshika-h Feb 11, 2026
fc533f1
chore: Update dependencies in pom.xml and modify test fixture in Test…
reeshika-h Feb 11, 2026
cc3918a
feat: Implement assetFields method across multiple classes for enhanc…
reeshika-h Feb 12, 2026
4c6be0b
version bump
reeshika-h Feb 12, 2026
055fe38
Merge pull request #264 from contentstack/master
naman-contentstack Feb 13, 2026
f413e39
Merge pull request #265 from contentstack/staging
naman-contentstack Feb 13, 2026
21ce846
Merge pull request #263 from contentstack/feat/DX-4424-assetField-sup…
reeshika-h Feb 13, 2026
ad23a11
Merge pull request #254 from contentstack/fix/snyk
reeshika-h Feb 13, 2026
e1341ce
Merge pull request #266 from contentstack/development
naman-contentstack Feb 13, 2026
b41c8fa
snyk fix
reeshika-h Feb 16, 2026
6493650
Merge pull request #269 from contentstack/fix/snyk-pr
reeshika-h Feb 16, 2026
1375df8
Merge pull request #267 from contentstack/staging
naman-contentstack Feb 16, 2026
bdaca69
Merge pull request #270 from contentstack/master
naman-contentstack Feb 16, 2026
4509c2c
Fixed live preview support and error handling
reeshika-h Feb 18, 2026
82ddc21
Add unit tests for live preview functionality and error handling
reeshika-h Feb 18, 2026
8730d8e
Add locale support to Asset and AssetLibrary classes
reeshika-h Feb 18, 2026
95b624f
version bump
reeshika-h Feb 18, 2026
8e2d9ec
Merge pull request #271 from contentstack/fix/DX-266-livepreview
reeshika-h Feb 20, 2026
1e576b2
Merge pull request #272 from contentstack/feat/DX-4447-asset-localisa…
reeshika-h Feb 20, 2026
1302d7e
Merge pull request #273 from contentstack/development
naman-contentstack Feb 22, 2026
e3d365f
Merge pull request #274 from contentstack/staging
naman-contentstack Feb 23, 2026
3b35922
Merge pull request #275 from contentstack/master
naman-contentstack Feb 23, 2026
9495638
Merge pull request #276 from contentstack/staging
naman-contentstack Feb 23, 2026
1bec92a
Update sca-scan.yml
dhavaljain999 Mar 3, 2026
1503ebe
Add documentation and rules for Contentstack Java CDA SDK
reeshika-h Mar 16, 2026
35a9048
snyk fixes
reeshika-h Mar 17, 2026
ef9bdd8
Merge pull request #280 from contentstack/fix/DX-5358
reeshika-h Mar 24, 2026
64202c1
snyk fixes
reeshika-h Mar 25, 2026
df81b06
Merge pull request #282 from contentstack/fix/snyk-DX-5136
harshithad0703 Mar 27, 2026
cc9d2c7
Merge pull request #283 from contentstack/development
harshithad0703 Mar 30, 2026
2000857
Merge pull request #285 from contentstack/master
harshithad0703 Mar 30, 2026
198c18c
Merge pull request #284 from contentstack/staging
harshithad0703 Mar 30, 2026
6500f69
Merge pull request #286 from contentstack/master
cs-raj Mar 30, 2026
69cf608
docs(DX-6047): add AGENTS.md, skills, and Cursor rules entry
harshithad0703 Apr 17, 2026
c6ac745
Merge pull request #289 from contentstack/fix/dx-6047-update-cursor-r…
harshithad0703 Apr 17, 2026
390ca5f
fix(deps): update 2 dependencies
aniket-shikhare-cstk Apr 21, 2026
c013c64
Merge pull request #290 from contentstack/snykr-fix/2026-04-21
aniket-shikhare-cstk Apr 21, 2026
3b0014e
Merge pull request #291 from contentstack/development
harshithad0703 Apr 22, 2026
eaceb3c
Merge pull request #292 from contentstack/staging
harshithad0703 Apr 22, 2026
4558275
fix(deps): update Spring dependencies to version 6.2.18 for security …
harshithad0703 Apr 22, 2026
4bb4b36
Merge pull request #293 from contentstack/fix/snyk-issues
harshithad0703 Apr 22, 2026
e1043f3
chore: align release workflows with new development-to-main process
harshithad0703 Apr 29, 2026
14ea923
Merge pull request #294 from contentstack/enh/dx-6159-new-release-pro…
harshithad0703 Apr 30, 2026
5f0828d
Feat: variant and branch support in Entry and Query APIs and added i…
reeshika-h May 14, 2026
55ccc62
feat: release version 2.7.0 with endpoint integration and enhancements
reeshika-h Jun 4, 2026
54b7bd9
Merge pull request #296 from contentstack/enh/DX-7268-endpoint-integr…
reeshika-h Jun 15, 2026
31516d9
Merge pull request #297 from contentstack/development
naman-contentstack Jun 15, 2026
ba0b459
Merge pull request #298 from contentstack/master
naman-contentstack Jun 15, 2026
b30cd9a
issues-jira.yml
Aravind-Kumar-cstk Jun 19, 2026
d57aaa1
Merge pull request #301 from contentstack/master
harshithad0703 Jun 19, 2026
567f6b0
fix(security): bump contentstack-utils to 1.5.1 to address Spring CVEs
reeshika-h Jun 24, 2026
60518b1
fix: update version to 2.7.1 and apply Snyk fixes
reeshika-h Jun 24, 2026
a0f6bae
Merge pull request #302 from contentstack/fix/snyk
reeshika-h Jun 24, 2026
87803e5
Merge pull request #303 from contentstack/master
reeshika-h Jun 29, 2026
d4766f8
Delete issues-jira.yml
Aravind-Kumar-cstk Jun 30, 2026
31f117c
fix: update version to 2.7.2 and add Snyk fixes to CHANGELOG
reeshika-h Jul 1, 2026
e9c2a62
test: add unit tests for CSConnectionRequest and CSHttpConnection JSO…
reeshika-h Jul 3, 2026
84a87ac
Merge pull request #304 from contentstack/fix/snyk-issues
reeshika-h Jul 3, 2026
7038404
Merge pull request #308 from contentstack/master
reeshika-h Jul 6, 2026
f29b8c8
fix: null-safety, whitespace trimming, and comma join for variants/br…
reeshika-h Jul 14, 2026
e1c6b73
Merge branch 'development' into feat/DX-7325-variant-branch-support
reeshika-h Jul 14, 2026
0aa9acf
version bump
reeshika-h Jul 14, 2026
dbfac4c
Merge pull request #295 from contentstack/feat/DX-7325-variant-branch…
reeshika-h Jul 17, 2026
18185b6
Merge pull request #309 from contentstack/development
naman-contentstack Jul 20, 2026
2ff8049
Merge pull request #310 from contentstack/master
naman-contentstack Jul 20, 2026
9ccbbe3
Merge development into back-merge/DX-20927 (keep master content)
reeshika-h Sep 24, 2026
864741f
Merge pull request #314 from contentstack/back-merge/DX-20927
reeshika-h Sep 29, 2026
eaef38a
Fix: bump Spring pins to 7.0.9; use generated test values
reeshika-h Oct 26, 2026
6f2e447
Merge branch 'master' into fix/snyk-java-deps-and-credentials
reeshika-h Nov 2, 2026
bd5684a
ci: grant pull-requests and checks write to the coverage job
reeshika-h Nov 2, 2026
f26c630
ci: drop unneeded checks: write permission from coverage job
reeshika-h Nov 2, 2026
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
3 changes: 3 additions & 0 deletions .github/workflows/unit-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
jobs:
coverage:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- name: 🧾 Checkout repository
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## v2.8.3

### Oct 26, 2026
- Fix: Updated the `dependencyManagement` pins for `org.springframework:spring-core`, `spring-beans` and `spring-web` from 6.2.19 to 7.0.9 (the version `contentstack-utils` already targets) to resolve Snyk-reported Spring Framework vulnerabilities (resource allocation without limits, XSS, HTTP response splitting, sensitive cookie without Secure attribute). Build-time pins only; no API or dependency changes for consumers.
- Tests: replaced hardcoded publisher user values with generated values

## v2.8.2

### Aug 26, 2026
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.contentstack.sdk</groupId>
<artifactId>java</artifactId>
<version>2.8.2</version>
<version>2.8.3</version>
<packaging>jar</packaging>
<name>contentstack-java</name>
<description>Java SDK for Contentstack Content Delivery API</description>
Expand Down Expand Up @@ -230,17 +230,17 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>6.2.19</version>
<version>7.0.9</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>6.2.19</version>
<version>7.0.9</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>6.2.19</version>
<version>7.0.9</version>
</dependency>
<!-- Fix CVE-2020-15250: junit pulled by json-simple -->
<dependency>
Expand Down
11 changes: 5 additions & 6 deletions src/test/java/com/contentstack/sdk/TestEntryModel.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.contentstack.sdk;

import java.util.UUID;
import org.json.JSONArray;
import org.json.JSONObject;
import org.junit.jupiter.api.Test;
Expand Down Expand Up @@ -254,8 +255,8 @@ void testConstructorWithPublishDetails() {
JSONObject publishDetails = new JSONObject();
publishDetails.put("environment", "production");
publishDetails.put("time", "2024-01-01T00:00:00.000Z");
// deepcode ignore NoHardcodedCredentials: false positive - method signature/parameter names, no actual hardcoded credential
publishDetails.put("user", "test_publisher_uid");
String publisherUid = UUID.randomUUID().toString();
publishDetails.put("user", publisherUid);

JSONObject json = new JSONObject();
json.put("uid", "published_entry");
Expand All @@ -267,7 +268,7 @@ void testConstructorWithPublishDetails() {
assertNotNull(model.publishDetails);
assertEquals("production", model.environment);
assertEquals("2024-01-01T00:00:00.000Z", model.time);
assertEquals("test_publisher_uid", model.user);
assertEquals(publisherUid, model.user);

// Verify metadata is populated
assertNotNull(model.metadata);
Expand Down Expand Up @@ -331,7 +332,6 @@ void testConstructorWithAllFields() throws Exception {
JSONObject publishDetails = new JSONObject();
publishDetails.put("environment", "staging");
publishDetails.put("time", "2024-02-01T12:00:00.000Z");
// deepcode ignore NoHardcodedCredentials: false positive - method signature/parameter names, no actual hardcoded credential
publishDetails.put("user", "admin");

// Create images array
Expand Down Expand Up @@ -443,8 +443,7 @@ void testConstructorWithEntryKeyAndAllFields() throws Exception {
JSONObject publishDetails = new JSONObject();
publishDetails.put("environment", "development");
publishDetails.put("time", "2024-03-01T15:00:00.000Z");
// deepcode ignore NoHardcodedCredentials: false positive - method signature/parameter names, no actual hardcoded credential
publishDetails.put("user", "dev_user");
publishDetails.put("user", UUID.randomUUID().toString());

// Create images
JSONArray imagesArray = new JSONArray();
Expand Down
Loading