Skip to content

Commit a66ef4b

Browse files
chore: v2.2.3 changelog (#2255)
Co-authored-by: Rex P <[email protected]>
1 parent de3fd42 commit a66ef4b

File tree

7 files changed

+78
-62
lines changed

7 files changed

+78
-62
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# v2.2.3
2+
3+
### Features:
4+
5+
- [Feature #2209](https://github.com/google/osv-scanner/pull/2209) Add support for resolving git packages that have a version specified.
6+
- [Feature #2210](https://github.com/google/osv-scanner/pull/2210) Make the `--experimental-plugins` flag additive by default, and introduce a new `--experimental-no-default-plugins` flag.
7+
- [Feature #2203](https://github.com/google/osv-scanner/pull/2203) Update `osv-scalibr` to 0.3.4 for improved dependency extraction. See osv-scalibr changelog for additional information.
8+
9+
### Fixes:
10+
11+
- [Bug #2214](https://github.com/google/osv-scanner/pull/2214) Fix issue where `input.Path` was incorrectly constructed on Windows when using the `-L` flag.
12+
- [Fix #2241](https://github.com/google/osv-scanner/pull/2241) **Performance:** Greatly reduce memory usage in the local matcher by only loading advisories relevant to the packages being scanned.
13+
114
# v2.2.2
215

316
### Features:

cmd/osv-scanner/__snapshots__/main_test.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ OPTIONS:
2323
---
2424

2525
[Test_run/version - 1]
26-
osv-scanner version: 2.2.2
26+
osv-scanner version: 2.2.3
2727
osv-scalibr version: 0.3.4
2828
commit: n/a
2929
built at: n/a

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Loaded filter from: <rootdir>/testdata/locks-many/osv-scanner.toml
9696
"rules": [],
9797
"supportedTaxonomies": [],
9898
"taxa": [],
99-
"version": "2.2.2"
99+
"version": "2.2.3"
100100
},
101101
"extensions": []
102102
},
@@ -343,7 +343,7 @@ Total 2 packages affected by 7 known vulnerabilities (3 Critical, 3 High, 0 Medi
343343
],
344344
"supportedTaxonomies": [],
345345
"taxa": [],
346-
"version": "2.2.2"
346+
"version": "2.2.3"
347347
},
348348
"extensions": []
349349
},
@@ -2262,7 +2262,7 @@ Total 1 package affected by 2 known vulnerabilities (0 Critical, 2 High, 0 Mediu
22622262
],
22632263
"supportedTaxonomies": [],
22642264
"taxa": [],
2265-
"version": "2.2.2"
2265+
"version": "2.2.3"
22662266
},
22672267
"extensions": []
22682268
},

docs/github-action.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ permissions:
5454

5555
jobs:
5656
scan-pr:
57-
uses: "google/osv-scanner-action/.github/workflows/[email protected].2"
57+
uses: "google/osv-scanner-action/.github/workflows/[email protected].3"
5858
```
5959
6060
### View results
@@ -97,7 +97,7 @@ permissions:
9797
9898
jobs:
9999
scan-scheduled:
100-
uses: "google/osv-scanner-action/.github/workflows/[email protected].1"
100+
uses: "google/osv-scanner-action/.github/workflows/[email protected].3"
101101
```
102102

103103
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).
@@ -132,7 +132,7 @@ permissions:
132132

133133
jobs:
134134
osv-scan:
135-
uses: "google/osv-scanner-action/.github/workflows/[email protected].1"
135+
uses: "google/osv-scanner-action/.github/workflows/[email protected].3"
136136
with:
137137
# Only scan the top level go.mod file without recursively scanning directories since
138138
# this is pipeline is about releasing the go module and binary
@@ -184,7 +184,7 @@ Examples
184184
```yml
185185
jobs:
186186
scan-pr:
187-
uses: "google/osv-scanner-action/.github/workflows/[email protected].1"
187+
uses: "google/osv-scanner-action/.github/workflows/[email protected].3"
188188
with:
189189
scan-args: |-
190190
--lockfile=./path/to/lockfile1
@@ -196,7 +196,7 @@ jobs:
196196
```yml
197197
jobs:
198198
scan-pr:
199-
uses: "google/osv-scanner-action/.github/workflows/[email protected].1"
199+
uses: "google/osv-scanner-action/.github/workflows/[email protected].3"
200200
with:
201201
scan-args: |-
202202
--recursive
@@ -222,7 +222,7 @@ jobs:
222222
name: Vulnerability scanning
223223
# makes sure the extraction step is completed before running the scanner
224224
needs: extract-deps
225-
uses: "google/osv-scanner-action/.github/workflows/[email protected].1"
225+
uses: "google/osv-scanner-action/.github/workflows/[email protected].3"
226226
with:
227227
# Download the artifact uploaded in extract-deps step
228228
download-artifact: converted-OSV-Scanner-deps

0 commit comments

Comments
 (0)