diff --git a/CHANGELOG.md b/CHANGELOG.md index bd4fb56..e65d03a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## Version 4.0.1 - 2026-12-02 + +- Updated org.json:json to 20260814 (CVE-2022-45688, CVE-2023-5072, CVE-2026-59171) +- Updated org.apache.httpcomponents:httpclient to 4.5.14 (CVE-2020-13956) +- Replaced org.apache.commons:commons-io 1.3.2 with commons-io:commons-io 2.22.0 (CVE-2021-29425) +- Updated junit to 4.13.2 in tests (CVE-2020-15250) + ## Version 4.0.0 - 2021-10-22 - Removed apiKey from Credentials diff --git a/Makefile b/Makefile index 7a07d0c..a1798e1 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,7 @@ java-docs: docs: # See here for doxybook2 installation instructions https://github.com/matusnovak/doxybook2#Install doxygen +# The mock API serves the API spec from when the SDK was last updated, as it is what the SDK implements prism-start: @echo "Starting mock API..." docker run -t \ @@ -23,5 +24,5 @@ prism-start: --detach \ -p 4010:4010 \ stoplight/prism:3.2.8 mock -d -h 0.0.0.0 \ - https://raw.githubusercontent.com/LucidtechAI/cradl-docs/master/reference/restapi/oas.json \ + https://raw.githubusercontent.com/LucidtechAI/cradl-docs/9395d567ca1222608abec97d48a98211ab0d4857/reference/restapi/oas.json \ > /tmp/prism.cid diff --git a/build.gradle b/build.gradle index c02cd40..2c023a1 100644 --- a/build.gradle +++ b/build.gradle @@ -14,10 +14,10 @@ repositories { } dependencies { - implementation 'org.json:json:20190722' - implementation 'org.apache.httpcomponents:httpclient:4.5.12' - implementation 'org.apache.commons:commons-io:1.3.2' - testImplementation 'junit:junit:4.12' + implementation 'org.json:json:20260814' + implementation 'org.apache.httpcomponents:httpclient:4.5.14' + implementation 'commons-io:commons-io:2.22.0' + testImplementation 'junit:junit:4.13.2' testImplementation 'org.mockito:mockito-core:3.7.7' } diff --git a/gradle.properties b/gradle.properties index 19a0188..c984afe 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -version=4.0.0 +version=4.0.1