Skip to content

Releases: scanoss/cryptography

v0.12.0

22 Jun 13:38

Choose a tag to compare

What's Changed

Added

  • /health liveness endpoint (GET) on the REST gateway

Changed

  • Upgraded scanoss/go-grpc-helper to v0.16.0

Full Changelog: v0.11.0...v0.12.0

v0.11.0

03 Jun 16:15
a0c32b2

Choose a tag to compare

What's Changed

Full Changelog: v0.10.0...v0.11.0

v0.10.0

20 Apr 17:35

Choose a tag to compare

What's Changed

Changed

  • Replaced error_message/error_code fields with info_message/info_code across response builders and domain structs (algorithms, algorithms in range, encryption hints, hints in range, versions in range)
  • Removed error_code_response_builder in 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-struct assert.Equal comparisons
  • Removed pkg/responsebuilder/testdata/ and its five CSV fixtures, along with the mockServerTransportStream, TestCase, loadTestCases, and parseStatusCode helpers that only existed to bridge the CSV encoding
  • Updated linter to v2.10.1

Full Changelog: v0.9.0...v0.10.0

v0.9.0

19 Jan 08:36
f42c57d

Choose a tag to compare

Merge pull request #49 from scanoss/feature/mdaloia/SP-3798-SCANOSS-C…

v0.8.1

16 Oct 17:21

Choose a tag to compare

What's New

Fixed

  • Fixed OpenTelemetry metrics initialization by exporting SetupMetrics function and calling it on server startup

v0.8.0

13 Oct 21:04
bb86253

Choose a tag to compare

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

02 Oct 17:05
5dbb904

Choose a tag to compare

Merge pull request #46 from scanoss/chore/remove-test-from-ci

Temporarily removed test from ci

v0.7.0

01 Oct 15:23

Choose a tag to compare

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

16 Sep 18:30
2ac8bf4

Choose a tag to compare

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

04 Sep 18:16

Choose a tag to compare

What's Changed

Changed

  • Removed /api prefix from REST endpoints

Updated

  • Updated dependencies to latest version