Skip to content

Update dependencies and fix thread-safety in JSON schema validation#423

Merged
coderpatros merged 1 commit intomainfrom
maintenance
Feb 27, 2026
Merged

Update dependencies and fix thread-safety in JSON schema validation#423
coderpatros merged 1 commit intomainfrom
maintenance

Conversation

@coderpatros
Copy link
Member

Upgrade JsonSchema.Net to 9.1.1, protobuf-net to 3.2.56, System.Text.Json to 10.0.3, and all test dependencies to latest versions. Adapt to JsonSchema.Net v9 API changes (HasErrors → Errors != null).

Pre-load and cache all BOM and SPDX JSON schemas in static constructors to eliminate concurrent schema parsing and registry access during parallel test execution.

Change RelatedCryptoMaterialProperties date fields from DateTime to DateTime? to avoid serializing unset dates as 0001-01-01T00:00:00. Suppress PBN0020 warnings for intentional default property values in AttachedText and Swid.

Upgrade JsonSchema.Net to 9.1.1, protobuf-net to 3.2.56,
System.Text.Json to 10.0.3, and all test dependencies to latest
versions. Adapt to JsonSchema.Net v9 API changes (HasErrors →
Errors != null).

Pre-load and cache all BOM and SPDX JSON schemas in static
constructors to eliminate concurrent schema parsing and registry
access during parallel test execution.

Change RelatedCryptoMaterialProperties date fields from DateTime to
DateTime? to avoid serializing unset dates as 0001-01-01T00:00:00.
Suppress PBN0020 warnings for intentional default property values
in AttachedText and Swid.

Signed-off-by: Patrick Dwyer <email@patrickdwyer.au>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant