Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.30.0] - 2026-02-23
### Added
- Added `VERSION_NOT_FOUND` error code to `ErrorCode` enum for handling cases where a component version is not found

## [0.29.0] - 2026-02-13
### Added
Expand Down Expand Up @@ -228,6 +231,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Vulnerabilities
- Added REST endpoint support for each service also

[0.30.0]: https://github.com/scanoss/papi/compare/v0.29.0...v0.30.0
[0.29.0]: https://github.com/scanoss/papi/compare/v0.28.0...v0.29.0
[0.28.0]: https://github.com/scanoss/papi/compare/v0.27.0...v0.28.0
[0.27.0]: https://github.com/scanoss/papi/compare/v0.26.0...v0.27.0
Expand Down
9 changes: 7 additions & 2 deletions api/commonv2/scanoss-common.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions protobuf/scanoss/api/common/v2/scanoss-common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -164,5 +164,8 @@ enum ErrorCode {
NO_INFO = 2;
// The provided semantic version (SemVer) is invalid or malformed
INVALID_SEMVER = 3;
// Component version not found
VERSION_NOT_FOUND = 4;

}

Original file line number Diff line number Diff line change
Expand Up @@ -1496,10 +1496,11 @@
"INVALID_PURL",
"COMPONENT_NOT_FOUND",
"NO_INFO",
"INVALID_SEMVER"
"INVALID_SEMVER",
"VERSION_NOT_FOUND"
],
"default": "INVALID_PURL",
"description": "Error code enum for component analysis operations.\nRepresents the various error conditions that can occur during component processing and validation.\n\n - INVALID_PURL: The provided Package URL (PURL) is invalid or malformed\n - COMPONENT_NOT_FOUND: The requested component could not be found in the database\n - NO_INFO: No information is available for the requested component\n - INVALID_SEMVER: The provided semantic version (SemVer) is invalid or malformed"
"description": "Error code enum for component analysis operations.\nRepresents the various error conditions that can occur during component processing and validation.\n\n - INVALID_PURL: The provided Package URL (PURL) is invalid or malformed\n - COMPONENT_NOT_FOUND: The requested component could not be found in the database\n - NO_INFO: No information is available for the requested component\n - INVALID_SEMVER: The provided semantic version (SemVer) is invalid or malformed\n - VERSION_NOT_FOUND: Component version not found"
},
"v2Hint": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -708,10 +708,11 @@
"INVALID_PURL",
"COMPONENT_NOT_FOUND",
"NO_INFO",
"INVALID_SEMVER"
"INVALID_SEMVER",
"VERSION_NOT_FOUND"
],
"default": "INVALID_PURL",
"description": "Error code enum for component analysis operations.\nRepresents the various error conditions that can occur during component processing and validation.\n\n - INVALID_PURL: The provided Package URL (PURL) is invalid or malformed\n - COMPONENT_NOT_FOUND: The requested component could not be found in the database\n - NO_INFO: No information is available for the requested component\n - INVALID_SEMVER: The provided semantic version (SemVer) is invalid or malformed"
"description": "Error code enum for component analysis operations.\nRepresents the various error conditions that can occur during component processing and validation.\n\n - INVALID_PURL: The provided Package URL (PURL) is invalid or malformed\n - COMPONENT_NOT_FOUND: The requested component could not be found in the database\n - NO_INFO: No information is available for the requested component\n - INVALID_SEMVER: The provided semantic version (SemVer) is invalid or malformed\n - VERSION_NOT_FOUND: Component version not found"
},
"v2StatusCode": {
"type": "string",
Expand Down