|
1 | 1 | Release notes |
2 | 2 | ============= |
3 | 3 |
|
| 4 | + |
| 5 | +Version v30.1.1 |
| 6 | +---------------- |
| 7 | + |
| 8 | +- We added a new web UI link to explain how to obtain an API for the publicly |
| 9 | + hosted VulnerableCode |
| 10 | + |
| 11 | + |
| 12 | +Version v30.1.0 |
| 13 | +---------------- |
| 14 | + |
| 15 | +- We added a new "/packages/all" API endpoint to get all Package URLs know to be vulnerable. |
| 16 | + |
| 17 | + |
4 | 18 | Version v30.0.0 |
5 | 19 | ---------------- |
6 | 20 |
|
| 21 | +This is a major version that is not backward compatible. |
| 22 | + |
7 | 23 | - We refactored the core processing with Importers that import data and Improvers that |
8 | 24 | transform imported data and convert that in Vulnerabilities and Packages. Improvers can |
9 | 25 | also improve and refine imported and existing data as well as enrich data using external |
10 | 26 | data sources. The migration to this new architecture is under way and not all importers |
11 | | - are available. You can track the progress in this issue: https://github.com/nexB/vulnerablecode/issues/597 |
| 27 | + are available. |
| 28 | + |
12 | 29 | Because of these extensive changes, it is not possible to migrate existing imported |
13 | 30 | data to the new schema. You will need instead to restart imports from an empty database |
14 | | - or request access to the new vulnerablecode.io live instance. |
| 31 | + or access the new public.vulnerablecode.io live instance. We also provide a database dump. |
| 32 | + |
| 33 | +- You can track the progress of this refactoring in this issue: |
| 34 | + https://github.com/nexB/vulnerablecode/issues/597 |
15 | 35 |
|
16 | 36 | - We added new data sources including PYSEC, GitHub and GitLab. |
17 | 37 |
|
18 | 38 | - We improved the documentation including adding development examples for importers and improvers. |
19 | 39 |
|
20 | | -- We removed the ability to edit relationships from the UI. The UI is now read-only |
21 | | - and we will need to design a different UI for proper review and curation of vulnerabilities. |
| 40 | +- We removed the ability to edit relationships from the UI. The UI is now read-only. |
| 41 | + |
| 42 | +- We replaced the web UI with a brand new UI based on the same overall look and feel as ScanCode.io. |
22 | 43 |
|
23 | 44 | - We added support for NixOS as a Linux deployment target. |
24 | 45 |
|
25 | 46 | - The aliases of a vulnerabily are reported in the API vulnerabilities/ endpoint |
26 | 47 |
|
27 | | - |
28 | 48 | - There are breaking Changes at API level with changes in the data structure: |
29 | 49 |
|
30 | 50 | - in the /api/vulnerabilities/ endpoint: |
31 | 51 |
|
32 | 52 | - Rename `resolved_packages` to `fixed_packages` |
33 | 53 | - Rename `unresolved_packages` to `affected_packages` |
34 | 54 | - Rename `url` to `reference_url` in the reference list |
| 55 | + - Add is_vulnerable property in fixed and affected_packages. |
35 | 56 |
|
36 | 57 | - in the /api/packages/ endpoint: |
37 | 58 |
|
38 | 59 | - Rename `unresolved_vulnerabilities` to `affected_by_vulnerabilities` |
39 | 60 | - Rename `resolved_vulnerabilities` to `fixing_vulnerabilities` |
40 | 61 | - Rename `url` to `reference_url` in the reference list |
| 62 | + - Add new attribute `is_resolved` |
| 63 | + - Add namespace filter |
41 | 64 |
|
42 | | -- We have provided backward compatibility for `url` and `unresolved_vulnerabilities` for now |
| 65 | +- We have provided backward compatibility for `url` and `unresolved_vulnerabilities` for now. |
| 66 | + These will be removed in the next major version and should be considered as deprecated. |
43 | 67 |
|
44 | | -- There is a new experimental cpe/ API endpoint to lookup for vulnerabilities by CPE and |
| 68 | +- There is a new experimental `cpe/` API endpoint to lookup for vulnerabilities by CPE and |
45 | 69 | another aliases/ endpoint to lookup for vulnerabilities by aliases. These two endpoints will be |
46 | 70 | replaced by query parameters on the main vulnerabilities/ endpoint when stabilized. |
47 | 71 |
|
| 72 | +- We added filters for vulnerabilities endpoint to get fixed packages in accordance |
| 73 | + to the details given in filters: For example, when you call the endpoint this way |
| 74 | + ``/api/vulnerabilities?type=pypi&namespace=foo&name=bar``, you will receive only |
| 75 | + fixed versioned purls of the type ``pypi``, namespace ``foo`` and name ``bar``. |
| 76 | + |
| 77 | +- Package endpoint will give fixed packages of only those that |
| 78 | + matches type, name, namespace, subpath and qualifiers of the package queried. |
| 79 | + |
| 80 | +- Paginated initial listings to display a small number of records |
| 81 | + and provided page per size with a maximum limit of 100 records per page. |
| 82 | + |
| 83 | +- Add fixed packages in vulnerabilities details in packages endpoint. |
| 84 | + |
| 85 | +- Add bulk search support for CPEs. |
| 86 | + |
| 87 | +- Add authentication for REST API endpoint. |
| 88 | + The autentication is disabled by default and can be enabled using the |
| 89 | + VULNERABLECODEIO_REQUIRE_AUTHENTICATION settings. |
| 90 | + When enabled, users have to authenticate using |
| 91 | + their API Key in the REST API. |
| 92 | + Users can be created using the Django "createsuperuser" management command. |
| 93 | + |
| 94 | +- The data license is now CC-BY-SA-4.0 as this is the highest common |
| 95 | + denominator license among all the data sources we collect and aggregate. |
48 | 96 |
|
49 | 97 | Other: |
50 | 98 |
|
51 | | -- we dropped calver to use a plain semver. |
52 | | -- we adopted vers and the new univers library to handle version ranges. |
| 99 | +- We dropped calver to use a plain semver. |
| 100 | +- We adopted vers and the new univers library to handle version ranges. |
53 | 101 |
|
54 | 102 |
|
55 | 103 | Version v20.10 |
|
0 commit comments