Skip to content

Commit be9015f

Browse files
chore: Changelog and version update for v2.0.1 (#1775)
Co-authored-by: Michael Kedar <[email protected]>
1 parent 847c200 commit be9015f

File tree

6 files changed

+82
-55
lines changed

6 files changed

+82
-55
lines changed

CHANGELOG.md

+27
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
# v2.0.1
2+
3+
### Features:
4+
5+
- [Feature #1730](https://github.com/google/osv-scanner/pull/1730) Add support for extracting dependencies from .NET `packages.config` and `packages.lock.json` files.
6+
- [Feature #1770](https://github.com/google/osv-scanner/pull/1770) Add support for extracting dependencies from rust binaries compiled with cargo-auditable.
7+
- [Feature #1761](https://github.com/google/osv-scanner/pull/1761) Improve output when scanning for OS packages, we now show binary packages associated with a source package in the table output.
8+
9+
### Fixes:
10+
11+
- [Bug #1752](https://github.com/google/osv-scanner/pull/1752) Fix paging depth issue when querying the osv.dev API.
12+
- [Bug #1747](https://github.com/google/osv-scanner/pull/1747) Ensure osv-reporter prints warnings instead of errors for certain messages to return correct exit code (related to [osv-scanner-action#65](https://github.com/google/osv-scanner-action/issues/65)).
13+
- [Bug #1717](https://github.com/google/osv-scanner/pull/1717) Fix issue where nested CycloneDX components were not being parsed.
14+
- [Bug #1744](https://github.com/google/osv-scanner/pull/1744) Fix issue where empty CycloneDX SBOMs was causing a panic.
15+
- [Bug #1726](https://github.com/google/osv-scanner/pull/1726) De-duplicate references in CycloneDX report output for improved validity.
16+
- [Bug #1727](https://github.com/google/osv-scanner/pull/1727) Remove automatic opening of HTML reports in the browser (fixes [#1721](https://github.com/google/osv-scanner/issues/1721)).
17+
- [Bug #1735](https://github.com/google/osv-scanner/pull/1735) Require a tag when scanning container images to prevent potential errors.
18+
19+
### Docs:
20+
21+
- [Docs #1753](https://github.com/google/osv-scanner/pull/1753) Correct documentation for the OSV-Scanner GitHub Action (fixes [osv-scanner-action#68](https://github.com/google/osv-scanner-action/issues/68)).
22+
- [Docs #1743](https://github.com/google/osv-scanner/pull/1743) Minor grammar fixes in documentation.
23+
24+
### API Changes:
25+
26+
- [API Change #1763](https://github.com/google/osv-scanner/pull/1763) Made the SourceType enum public.
27+
128
# OSV-Scanner v2.0.0
229

330
This release merges the improvements, features, and fixes from v2.0.0-rc1, v2.0.0-beta2, and v2.0.0-beta1.

cmd/osv-scanner/__snapshots__/main_test.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ OPTIONS:
2424
---
2525

2626
[Test_run/version - 1]
27-
osv-scanner version: 2.0.0
27+
osv-scanner version: 2.0.1
2828
commit: n/a
2929
built at: n/a
3030

cmd/osv-scanner/scan/__snapshots__/command_test.snap

+4-4
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Loaded filter from: <rootdir>/osv-scanner/fixtures/locks-many/osv-scanner.toml
9595
"informationUri": "https://github.com/google/osv-scanner",
9696
"name": "osv-scanner",
9797
"rules": [],
98-
"version": "2.0.0"
98+
"version": "2.0.1"
9999
}
100100
},
101101
"results": []
@@ -265,7 +265,7 @@ Loaded Alpine local db from <tempdir>/osv-scanner/Alpine/all.zip
265265
}
266266
}
267267
],
268-
"version": "2.0.0"
268+
"version": "2.0.1"
269269
}
270270
},
271271
"artifacts": [
@@ -1109,7 +1109,7 @@ No issues found
11091109
---
11101110

11111111
[TestCommand/version - 1]
1112-
osv-scanner version: 2.0.0
1112+
osv-scanner version: 2.0.1
11131113
commit: n/a
11141114
built at: n/a
11151115

@@ -1242,7 +1242,7 @@ Scanned <rootdir>/osv-scanner/fixtures/locks-insecure/osv-scanner-flutter-deps.j
12421242
}
12431243
}
12441244
],
1245-
"version": "2.0.0"
1245+
"version": "2.0.1"
12461246
}
12471247
},
12481248
"artifacts": [

docs/github-action.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ permissions:
5555

5656
jobs:
5757
scan-pr:
58-
uses: "google/osv-scanner-action/.github/workflows/[email protected].0"
58+
uses: "google/osv-scanner-action/.github/workflows/[email protected].1"
5959
```
6060
6161
### View results
@@ -98,7 +98,7 @@ permissions:
9898
9999
jobs:
100100
scan-scheduled:
101-
uses: "google/osv-scanner-action/.github/workflows/[email protected].0"
101+
uses: "google/osv-scanner-action/.github/workflows/[email protected].1"
102102
```
103103

104104
As written, the scanner will run on 12:30 pm UTC every Monday, and also on every push to the main branch. You can change the schedule by following the instructions [here](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule).
@@ -133,7 +133,7 @@ permissions:
133133

134134
jobs:
135135
osv-scan:
136-
uses: "google/osv-scanner-action/.github/workflows/[email protected].0"
136+
uses: "google/osv-scanner-action/.github/workflows/[email protected].1"
137137
with:
138138
# Only scan the top level go.mod file without recursively scanning directories since
139139
# this is pipeline is about releasing the go module and binary
@@ -185,7 +185,7 @@ Examples
185185
```yml
186186
jobs:
187187
scan-pr:
188-
uses: "google/osv-scanner-action/.github/workflows/[email protected].0"
188+
uses: "google/osv-scanner-action/.github/workflows/[email protected].1"
189189
with:
190190
scan-args: |-
191191
--lockfile=./path/to/lockfile1
@@ -197,7 +197,7 @@ jobs:
197197
```yml
198198
jobs:
199199
scan-pr:
200-
uses: "google/osv-scanner-action/.github/workflows/[email protected].0"
200+
uses: "google/osv-scanner-action/.github/workflows/[email protected].1"
201201
with:
202202
scan-args: |-
203203
--recursive
@@ -223,7 +223,7 @@ jobs:
223223
name: Vulnerability scanning
224224
# makes sure the extraction step is completed before running the scanner
225225
needs: extract-deps
226-
uses: "google/osv-scanner-action/.github/workflows/[email protected].0"
226+
uses: "google/osv-scanner-action/.github/workflows/[email protected].1"
227227
with:
228228
# Download the artifact uploaded in extract-deps step
229229
download-artifact: converted-OSV-Scanner-deps
@@ -273,7 +273,7 @@ jobs:
273273
{target_arch: armhf},
274274
{target_arch: aarch64}
275275
]
276-
uses: "extract/osv-scanner/.github/workflows/[email protected].0"
276+
uses: "extract/osv-scanner/.github/workflows/[email protected].1"
277277
with:
278278
download-artifact: "${{ matrix.platform.target_arch }}-OSV-Scanner-deps"
279279
matrix-property: "${{ matrix.platform.target_arch }}-"

0 commit comments

Comments
 (0)