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
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.9.0] - 2026-04-01
### Added
- Added `GetSPDXLicenseDetails` method in `LicenseModel` to retrieve SPDX license details by ID from the `spdx_license_data` table
- Added `GetAllSPDXLicensesDetails` method in `LicenseModel` to retrieve all SPDX license details from the `spdx_license_data` table
- Added `SPDXLicenseDetail` struct for SPDX license detail responses
- Added `SeeAlsoArray` custom type with `sql.Scanner` and `driver.Valuer` implementations for handling PostgreSQL/JSON array serialization
- Added `TestSeeAlsoArray_Scan` test cases

### Changed
- Upgraded Go version to 1.25.0
- Upgraded `scanoss/go-purl-helper` to v0.3.0
- Upgraded dependencies to latest versions

## [0.8.0] - 2026-03-31
### Added
- Added `GetComponentVersions` method in `ComponentService` to retrieve all available versions for a given PURL
Expand Down Expand Up @@ -93,4 +106,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[0.5.1]: https://github.com/scanoss/go-models/compare/v0.5.0...v0.5.1
[0.6.0]: https://github.com/scanoss/go-models/compare/v0.5.1...v0.6.0
[0.7.0]: https://github.com/scanoss/go-models/compare/v0.6.0...v0.7.0
[0.8.0]: https://github.com/scanoss/go-models/compare/v0.7.0...v0.8.0
[0.8.0]: https://github.com/scanoss/go-models/compare/v0.7.0...v0.8.0
[0.9.0]: https://github.com/scanoss/go-models/compare/v0.8.0...v0.9.0
27 changes: 13 additions & 14 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,35 +1,34 @@
module github.com/scanoss/go-models

go 1.24.4
go 1.25.0

require (
github.com/Masterminds/semver/v3 v3.4.0
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
github.com/jmoiron/sqlx v1.4.0
github.com/scanoss/go-purl-helper v0.2.1
github.com/scanoss/go-purl-helper v0.3.0
github.com/scanoss/zap-logging-helper v0.4.0
modernc.org/sqlite v1.46.1
modernc.org/sqlite v1.48.0
)

require (
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/google/go-cmp v0.7.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/ncruces/go-strftime v1.0.0 // indirect
github.com/package-url/packageurl-go v0.1.3 // indirect
github.com/package-url/packageurl-go v0.1.5 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
go.opentelemetry.io/otel/sdk/metric v1.35.0 // indirect
github.com/stretchr/testify v1.11.1 // indirect
go.uber.org/multierr v1.10.0 // indirect
go.uber.org/zap v1.27.0 // indirect
go.uber.org/zap v1.27.1 // indirect
golang.org/x/exp v0.0.0-20251023183803-a4bb9ffd2546 // indirect
golang.org/x/net v0.38.0 // indirect
golang.org/x/sys v0.37.0 // indirect
golang.org/x/text v0.23.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250303144028-a0af3efb3deb // indirect
google.golang.org/grpc v1.71.0 // indirect
google.golang.org/protobuf v1.36.5 // indirect
modernc.org/libc v1.67.6 // indirect
golang.org/x/net v0.50.0 // indirect
golang.org/x/sys v0.42.0 // indirect
golang.org/x/text v0.34.0 // indirect
Comment thread
agustingroh marked this conversation as resolved.
google.golang.org/genproto/googleapis/rpc v0.0.0-20260209200024-4cfbd4190f57 // indirect
google.golang.org/grpc v1.79.1 // indirect
Comment thread
agustingroh marked this conversation as resolved.
google.golang.org/protobuf v1.36.11 // indirect
modernc.org/libc v1.70.0 // indirect
modernc.org/mathutil v1.7.1 // indirect
modernc.org/memory v1.11.0 // indirect
)
Loading
Loading