diff --git a/Dockerfile b/Dockerfile index 53f56955..bdfb91af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ FROM fedora@sha256:4e007f288dce23966216be81ef62ba05d139b9338f327c1d1c73b7167dd47 ARG fedora="40" ARG arch="x86_64" -ARG version_csdiff="3.2.1-1" +ARG version_csdiff="3.2.2-1" ARG version_shellcheck="0.9.0-6" ARG rpm_csdiff="csdiff-${version_csdiff}.fc${fedora}.${arch}.rpm" diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index ab4e3216..ddbd43d6 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,6 +2,12 @@ ## Next release +## v5.2.0 + +* Update `csutils` (`csdiff`) to 3.2.2 + * propagate the imp flag as level in the SARIF format + * propagate endLine/endColumn in the JSON and SARIF formats + ## v5.1.2 * Fix curl Argument list too long by using a payload.json file - by @mpoberezhniy diff --git a/test/Dockerfile b/test/Dockerfile index 48ea34b9..9579bb60 100644 --- a/test/Dockerfile +++ b/test/Dockerfile @@ -7,7 +7,7 @@ FROM fedora@sha256:4e007f288dce23966216be81ef62ba05d139b9338f327c1d1c73b7167dd47 ARG fedora="40" ARG arch="x86_64" -ARG version_csdiff="3.2.1-1" +ARG version_csdiff="3.2.2-1" ARG version_shellcheck="0.9.0-6" ARG rpm_csdiff="csdiff-${version_csdiff}.fc${fedora}.${arch}.rpm" diff --git a/test/fixtures/get_defects/defects.log b/test/fixtures/get_defects/defects.log index 767b157e..0135e153 100644 --- a/test/fixtures/get_defects/defects.log +++ b/test/fixtures/get_defects/defects.log @@ -10,6 +10,7 @@ "file_name": "innocent-script.sh", "line": 7, "column": 1, + "h_size": 11, "event": "warning[SC2034]", "message": "UNUSED_VAR2 appears unused. Verify use (or export if used externally).", "verbosity_level": 0 @@ -26,6 +27,7 @@ "file_name": "innocent-script.sh", "line": 11, "column": 8, + "h_size": 17, "event": "warning[SC2115]", "message": "Use \"${var:?}\" to ensure this never expands to / .", "verbosity_level": 0 diff --git a/test/fixtures/get_fixes/fixes.log b/test/fixtures/get_fixes/fixes.log index 373a9270..f3fa61d0 100644 --- a/test/fixtures/get_fixes/fixes.log +++ b/test/fixtures/get_fixes/fixes.log @@ -10,6 +10,7 @@ "file_name": "innocent-script.sh", "line": 6, "column": 1, + "h_size": 10, "event": "warning[SC2034]", "message": "UNUSED_VAR appears unused. Verify use (or export if used externally).", "verbosity_level": 0 diff --git a/test/show_versions.bats b/test/show_versions.bats index a37ee137..7e8a2f21 100644 --- a/test/show_versions.bats +++ b/test/show_versions.bats @@ -17,5 +17,5 @@ setup () { assert_success assert_output \ "ShellCheck: 0.9.0 -csutils: 3.2.1" +csutils: 3.2.2" }