Skip to content
Open
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
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]


## [0.32.1] - 2026-03-13
### Fixed
- Renamed `check_date` to `status_change_date` while retrieving lifecycle status for a specific version
- Added `status_change_date` while retrieving lifecycle status for a component
- Removed `optional` modifiers for ComponentStatus

## [0.32.0] - 2026-03-09
### Added
- Added `error_message` and `error_code` fields to `Dependencies` message in `DependencyResponse` for error handling at the individual dependency level
- Updated `DependencyResponse` JSON schema description to reflect error fields inside the dependency block


## [0.31.0] - 2026-02-24
### Added
- Added gRPC `GetComponentStatus` and REST endpoint GET `/v2/components/status/component` for retrieving lifecycle status of a single component
Expand Down Expand Up @@ -243,6 +251,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.32.1]: https://github.com/scanoss/papi/compare/v0.32.0...v0.32.1
[0.32.0]: https://github.com/scanoss/papi/compare/v0.31.0...v0.32.0
[0.31.0]: https://github.com/scanoss/papi/compare/v0.30.0...v0.31.0
[0.30.0]: https://github.com/scanoss/papi/compare/v0.29.0...v0.30.0
Expand Down
38 changes: 23 additions & 15 deletions api/componentsv2/scanoss-components.pb.go

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

8 changes: 5 additions & 3 deletions protobuf/scanoss/api/components/v2/scanoss-components.proto
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ message ComponentStatusResponse {
// Date that the component was indexed
string indexed_date = 4 [json_name = "indexed_date"];
// Date that the status was checked
string check_date = 5 [json_name = "check_date"];
string status_change_date = 5 [json_name = "status_change_date"];
// States if something went wrong while searching for the version of this component version in the DB
optional string error_message = 6[json_name = "error_message"];
optional common.v2.ErrorCode error_code = 7 [json_name = "error_code"];
Expand All @@ -216,9 +216,11 @@ message ComponentStatusResponse {
string first_indexed_date = 3 [json_name = "first_indexed_date"];
// Date of the last time component was indexed
string last_indexed_date = 4 [json_name = "last_indexed_date"];
// Date of the last detected change
string status_change_date = 5 [json_name = "status_change_date"];
// States if something went wrong while searching for the version of this component in the DB
optional string error_message = 5 [json_name = "error_message"];
optional common.v2.ErrorCode error_code = 6 [json_name = "error_code"];
optional string error_message = 6 [json_name = "error_message"];
optional common.v2.ErrorCode error_code = 7 [json_name = "error_code"];

}
// Information about the requested version. If no requirement is described, the latest version of the component is responded
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,10 @@
"type": "string",
"title": "Date of the last time component was indexed"
},
"status_change_date": {
"type": "string",
"title": "Date of the last detected change"
},
"error_message": {
"type": "string",
"title": "States if something went wrong while searching for the version of this component in the DB"
Expand Down Expand Up @@ -401,7 +405,7 @@
"type": "string",
"title": "Date that the component was indexed"
},
"check_date": {
"status_change_date": {
"type": "string",
"title": "Date that the status was checked"
},
Expand Down
Loading