Releases: scanoss/cryptography
Releases · scanoss/cryptography
v0.12.0
What's Changed
Added
/healthliveness endpoint (GET) on the REST gateway
Changed
- Upgraded
scanoss/go-grpc-helpertov0.16.0
Full Changelog: v0.11.0...v0.12.0
v0.11.0
What's Changed
- Refactor to support related purl by @scanoss-qg in #51
Full Changelog: v0.10.0...v0.11.0
v0.10.0
What's Changed
Changed
- Replaced
error_message/error_codefields withinfo_message/info_codeacross response builders and domain structs (algorithms, algorithms in range, encryption hints, hints in range, versions in range) - Removed
error_code_response_builderin favor of info-based status handling in each response builder - Updated dependencies to the latest versions
- Converted all
pkg/responsebuilder/tests from CSV-driven cases to inline Go table tests with full-structassert.Equalcomparisons - Removed
pkg/responsebuilder/testdata/and its five CSV fixtures, along with themockServerTransportStream,TestCase,loadTestCases, andparseStatusCodehelpers that only existed to bridge the CSV encoding - Updated
lintertov2.10.1
Full Changelog: v0.9.0...v0.10.0
v0.9.0
Merge pull request #49 from scanoss/feature/mdaloia/SP-3798-SCANOSS-C…
v0.8.1
What's New
Fixed
- Fixed OpenTelemetry metrics initialization by exporting SetupMetrics function and calling it on server startup
v0.8.0
What's New
Added
- Added telemetry request time in cryptography handlers
- Added documentation
Changed
- Enhanced response handling with detailed error messages and status codes for:
- Encryption hints block responses
- Hints in range block responses
- Versions in range block responses
- Algorithms in range responses
- Algorithms block responses
- Refactored handlers for improved code quality:
- Encryption hints handler
- Hints in range handler
- Version in range handler
- Cryptography in range handler
- Implemented response builder package
- Removed duplicated validation code shared by ranges endpoints
- Removed protobuf error code from ComponentStatus domain struct
Updated
- Upgraded scanoss/papi dependency to v0.25.1
v0.7.1
Merge pull request #46 from scanoss/chore/remove-test-from-ci Temporarily removed test from ci
v0.7.0
What's New
Added
- Added semver validation for ranges endpoints
- Added detailed response message about versions found in ranges endpoint responses
Changed
- Enhanced response handling for ranges endpoints with query summaries
v0.6.0
What's New
Added
- Added gRPC GetComponentAlgorithms and REST endpoint GET /v2/cryptography/algorithms/component
- Added gRPC GetComponentsAlgorithms and REST endpoint POST /v2/cryptography/algorithms/components
- Added gRPC GetComponentAlgorithmsInRange and REST endpoint GET /v2/cryptography/algorithms/range/component
- Added gRPC GetComponentsAlgorithmsInRange and REST endpoint POST /v2/cryptography/algorithms/range/components
- Added gRPC GetComponentVersionsInRange and REST endpoint GET /v2/cryptography/algorithms/versions/range/component
- Added gRPC GetComponentsVersionsInRange and REST endpoint POST /v2/cryptography/algorithms/versions/range/components
- Added gRPC GetComponentHintsInRange and REST endpoint GET /v2/cryptography/hints/component
- Added gRPC GetComponentsHintsInRange and REST endpoint POST /v2/cryptography/hints/components
- Added a method to handle response status on cryptography_service.go
- Implemented components request handler method
- Implemented component request handler
Fixed
- Fixes linter issues
- Remove linter issues with deprecated methods
v0.5.0
What's Changed
Changed
- Removed
/apiprefix from REST endpoints
Updated
- Updated dependencies to latest version