|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -## 2.13.1 |
| 3 | +## 2.15.11 |
4 | 4 |
|
5 | 5 | ### Fixed |
6 | 6 |
|
|
19 | 19 | - Duplicate SBOM package diagnostics use debug logging, keeping stdout available |
20 | 20 | for machine-readable reports. |
21 | 21 | - Configuration warnings and errors use the CLI's configured logger. |
22 | | -- Manifest links use the configured source-control type, including when a Socket |
23 | | - organization slug contains a source-control provider's name. |
| 22 | + |
| 23 | +## 2.15.10 |
| 24 | + |
| 25 | +### Added |
| 26 | + |
| 27 | +- Set `SOCKET_COANA_MIRROR_URL` to download the reachability engine through a |
| 28 | + mirror of `storage.googleapis.com/socket-coana-cli`. |
| 29 | + |
| 30 | +### Changed: update the Docker image's PyPy to 8.1.1 |
| 31 | + |
| 32 | +- The amd64 Docker image now ships PyPy `8.1.1` (Python 3.12), up from PyPy |
| 33 | + `8.0.1`. |
| 34 | + |
| 35 | +### Changed: bump pinned Coana CLI to 15.15.12 |
| 36 | + |
| 37 | +- Bumped the pinned reachability engine (the Coana CLI) from `15.15.11` to |
| 38 | + `15.15.12`. See the |
| 39 | + [reachability analysis changelog](https://docs.socket.dev/docs/reachability-analysis-changelog) |
| 40 | + for engine changes. |
| 41 | + |
| 42 | +## 2.15.9 |
| 43 | + |
| 44 | +### Changed: bump pinned Coana CLI to 15.15.11 |
| 45 | + |
| 46 | +- Bumped the pinned reachability engine (the Coana CLI) from `15.15.10` to |
| 47 | + `15.15.11`. See the |
| 48 | + [reachability analysis changelog](https://docs.socket.dev/docs/reachability-analysis-changelog) |
| 49 | + for engine changes. |
| 50 | + |
| 51 | +## 2.15.8 |
| 52 | + |
| 53 | +### Changed: bump pinned Coana CLI to 15.15.10 |
| 54 | + |
| 55 | +- Bumped the pinned reachability engine (the Coana CLI) from `15.15.9` to |
| 56 | + `15.15.10`. See the |
| 57 | + [reachability analysis changelog](https://docs.socket.dev/docs/reachability-analysis-changelog) |
| 58 | + for engine changes. |
| 59 | + |
| 60 | +## 2.15.7 |
| 61 | + |
| 62 | +### Changed: bump pinned Coana CLI to 15.15.9 |
| 63 | + |
| 64 | +- Bumped the pinned reachability engine (the Coana CLI) from `15.15.8` to |
| 65 | + `15.15.9`. See the |
| 66 | + [reachability analysis changelog](https://docs.socket.dev/docs/reachability-analysis-changelog) |
| 67 | + for engine changes. |
| 68 | + |
| 69 | +## 2.15.6 |
| 70 | + |
| 71 | +### Changed: bump pinned Coana CLI to 15.15.8 |
| 72 | + |
| 73 | +- Bumped the pinned reachability engine (the Coana CLI) from `15.15.7` to |
| 74 | + `15.15.8`. See the |
| 75 | + [reachability analysis changelog](https://docs.socket.dev/docs/reachability-analysis-changelog) |
| 76 | + for engine changes. |
| 77 | + |
| 78 | +## 2.15.5 |
| 79 | + |
| 80 | +### Changed: bump pinned Coana CLI to 15.15.7 |
| 81 | + |
| 82 | +- Bumped the pinned reachability engine (the Coana CLI) from `15.15.6` to |
| 83 | + `15.15.7`. See the |
| 84 | + [reachability analysis changelog](https://docs.socket.dev/docs/reachability-analysis-changelog) |
| 85 | + for engine changes. |
| 86 | + |
| 87 | +## 2.15.4 |
| 88 | + |
| 89 | +### Changed: bump pinned Coana CLI to 15.15.6 |
| 90 | + |
| 91 | +- Bumped the pinned reachability engine (the Coana CLI) from `15.15.5` to |
| 92 | + `15.15.6`. See the |
| 93 | + [reachability analysis changelog](https://docs.socket.dev/docs/reachability-analysis-changelog) |
| 94 | + for engine changes. |
| 95 | + |
| 96 | +## 2.15.3 |
| 97 | + |
| 98 | +### Changed: bump pinned Coana CLI to 15.15.5 |
| 99 | + |
| 100 | +- Bumped the pinned reachability engine (the Coana CLI) from `15.15.4` to |
| 101 | + `15.15.5`. See the |
| 102 | + [reachability analysis changelog](https://docs.socket.dev/docs/reachability-analysis-changelog) |
| 103 | + for engine changes. |
| 104 | + |
| 105 | +## 2.15.2 |
| 106 | + |
| 107 | +### Changed: bump pinned Coana CLI to 15.15.4 |
| 108 | + |
| 109 | +- Bumped the pinned reachability engine (the Coana CLI) from `15.15.3` to |
| 110 | + `15.15.4`. See the |
| 111 | + [reachability analysis changelog](https://docs.socket.dev/docs/reachability-analysis-changelog) |
| 112 | + for engine changes. |
| 113 | + |
| 114 | +## 2.15.1 |
| 115 | + |
| 116 | +### Changed: bump pinned Coana CLI to 15.15.3 |
| 117 | + |
| 118 | +- Bumped the pinned reachability engine (the Coana CLI) from `15.15.2` to |
| 119 | + `15.15.3`. See the |
| 120 | + [reachability analysis changelog](https://docs.socket.dev/docs/reachability-analysis-changelog) |
| 121 | + for engine changes. |
| 122 | + |
| 123 | +## 2.15.0 |
| 124 | + |
| 125 | +### Upgrade notes |
| 126 | + |
| 127 | +- `--reach-enable-analysis-splitting` is deprecated and no longer has an |
| 128 | + effect. With it, a reachability analysis that failed or timed out was |
| 129 | + retried in smaller batches. Jobs that pass it now run one analysis, as jobs |
| 130 | + without it already did, so their results can differ. The flag still parses, |
| 131 | + so existing CI commands keep working. Remove it when convenient. |
| 132 | + |
| 133 | +### Changed |
| 134 | + |
| 135 | +- Reachability always passes `--disable-analysis-splitting` to the Coana CLI, |
| 136 | + including for a Coana version picked with `--reach-version`. |
| 137 | + |
| 138 | +## 2.14.0 |
| 139 | + |
| 140 | +### Upgrade notes |
| 141 | + |
| 142 | +- Without a GitHub or GitLab SCM adapter, `--strict-blocking` now compares scans |
| 143 | + even when no manifest changed. This includes default-branch pushes and scans of |
| 144 | + non-git paths. These runs can now fail on Block findings or comparison errors |
| 145 | + and need the [API token scopes for comparison runs](docs/troubleshooting.md#api-token-permissions). |
| 146 | +- If you use the GitHub Actions example, replace the combined workflow with the |
| 147 | + [PR workflow](workflows/github-actions.yml) and require its `socket-security` |
| 148 | + check. Install the [push workflow](workflows/github-actions-push.yml) in the |
| 149 | + same change: the PR workflow doesn't run on pushes, so without it the |
| 150 | + default-branch baseline stops updating and PR comparisons run against an old |
| 151 | + scan. Install the |
| 152 | + [ignore-command workflow](workflows/github-actions-comments.yml) if you use PR |
| 153 | + ignore commands. |
| 154 | + |
| 155 | +### Changed |
| 156 | + |
| 157 | +- Updated the Socket Python SDK (`socketdev`) to 3.6.4. This can increase |
| 158 | + advisory counts in full-scan JSON, SARIF, and GitLab security reports, and |
| 159 | + in the existing findings shown in GitLab security and FOSSA diff reports. |
| 160 | +- Skipped GitHub events and GitLab pipeline sources now warn that no scan ran. |
| 161 | + |
| 162 | +### Fixed |
| 163 | + |
| 164 | +- `--strict-blocking` counts distinct advisories on unchanged dependencies and |
| 165 | + lists findings that persist after a version change in the Existing alerts |
| 166 | + table. When a finding has both Warn and Block actions, Block takes precedence. |
| 167 | +- SARIF reports use advisory IDs to distinguish findings on the same package |
| 168 | + and manifest. |
| 169 | +- Comparisons with missing or invalid package lists fail with exit `3` by |
| 170 | + default. `--exit-code-on-api-error` can remap the code, and |
| 171 | + `--disable-blocking` takes precedence. |
| 172 | +- `--strict-blocking` checks existing Block findings on code-only changes. |
| 173 | + GitHub and GitLab pull request comments show those findings under Existing |
| 174 | + alerts. |
| 175 | +- With `--scm github`, reopened pull requests and pull requests marked ready for |
| 176 | + review run the PR scan. |
| 177 | +- GitHub pull request comment runs exit `0` and leave the Socket security |
| 178 | + comment unchanged when there are no Socket ignore commands to process. |
| 179 | +- Under `--strict-blocking --disable-blocking`, the PR/MR comment and console |
| 180 | + summary no longer say that existing Block alerts fail the run. |
| 181 | +- The "This package" link in GitHub and GitLab security comments opens the |
| 182 | + affected package version on socket.dev. License findings for different |
| 183 | + namespaces appear in separate rows, and generated ignore commands identify |
| 184 | + the package by its scope or namespace. |
| 185 | +- Large PR/MR security comments fit within GitHub's size limit and show how many |
| 186 | + new or existing findings were omitted. Policy checks and reports use all findings. |
| 187 | + |
| 188 | +### Documentation |
| 189 | + |
| 190 | +- The [CI guide](docs/ci-cd.md#required-github-checks) describes GitHub required |
| 191 | + checks and the GitHub Actions workflow migration. |
| 192 | +- The README's upgrade notes for 2.13 and 2.14 are combined into one short |
| 193 | + [section](README.md#upgrading-from-212-or-earlier). |
| 194 | +- Clarified that `--include-module-folders` discovers dependency manifests. |
| 195 | + Added a guide to scanning packages installed outside the lockfile with a |
| 196 | + CycloneDX SBOM. |
| 197 | + |
| 198 | +## 2.13.2 |
| 199 | + |
| 200 | +### Added |
| 201 | + |
| 202 | +- Security and license alerts on a transitive dependency now name the direct |
| 203 | + dependency that introduced it, under the manifest link. Up to five are listed. |
| 204 | + |
| 205 | +### Changed |
| 206 | + |
| 207 | +- Manifest file links in PR comments and reports pick the source host only from |
| 208 | + `--scm`. The fallback that guessed GitHub, GitLab, or Bitbucket from the Socket |
| 209 | + diff URL never produced a link and has been removed. |
| 210 | +- Each release now also tags `socketdev/cli:stable`, so `stable` and `latest` |
| 211 | + both point at the newest release. Previously `stable` moved only when someone |
| 212 | + promoted a release by hand. Pin `socketdev/cli:<version>` for reproducible CI |
| 213 | + runs. |
| 214 | + |
| 215 | +### Fixed |
| 216 | + |
| 217 | +- Scoped npm packages and Maven artifacts named as the introducing dependency |
| 218 | + keep their scope or group ID (`npm/@acme/widgets@1.2.0`, not |
| 219 | + `npm/widgets@1.2.0`). |
| 220 | + |
| 221 | +## 2.13.1 |
| 222 | + |
| 223 | +### Documentation |
| 224 | + |
| 225 | +- New [API token permissions](docs/troubleshooting.md#api-token-permissions) guide: |
| 226 | + the scopes `socketcli` needs, what happens without each one, and the API calls |
| 227 | + behind them. |
| 228 | +- Add `diff-scans:create` and `diff-scans:list` to CI tokens. Without them, scan |
| 229 | + comparisons fall back to a less resilient path with only a warning. |
| 230 | +- Documented how the baseline scan for a comparison is chosen. |
| 231 | +- Listed all four accepted token environment variables in priority order. |
| 232 | + |
| 233 | +### Changed: bump the Socket Python SDK to 3.6.3 |
| 234 | + |
| 235 | +- Bumped the pinned Socket Python SDK (`socketdev`) from `3.6.2` to `3.6.3`. |
| 236 | + The release fixes `settings.integration_events()`, which the CLI does not |
| 237 | + call, so CLI behavior is unchanged. |
24 | 238 |
|
25 | 239 | ## 2.13.0 |
26 | 240 |
|
|
0 commit comments