Releases: FirelyTeam/firely-validator-api
Releases · FirelyTeam/firely-validator-api
Release list
3.3.0
Bug Fixes
- Primitive validation with extensions: Primitives that carry extensions but no value were previously emitting a validation warning. They are now treated as explicitly valid and pass without any issue raised.
- Extension context validation: Two distinct bugs were fixed in extension context resolution:
- Extension contexts using the [canonical]#[code] compound syntax (for sub-extensions within complex extensions) were not correctly resolved.
- Element context path resolution now correctly handles recursive and content-referenced elements (e.g. Questionnaire.item.item) and choice-type (value[x]) variants.
Improvements
- We exposed a
ValidationSettings.ModelInspector: When validator needed access to ModelInspector it would attempt to use the validated types assembly. For types from the SDK that would work fine, but it wouldn't work correctly with custom resource types. The ModelInspector configured in ValidationSettings will now take priority. This allows custom types to be resolved correctly during validation. If no inspector is configured, the SDK's built-in ModelInfo.ModelInspector is used as a fallback. - Invariant IDs exposed on IssueComponent: Invariant IDs from FHIRPath constraints (e.g. dom-2, bdl-1) and extension context constraint failures are now added to each IssueComponent in the resulting OperationOutcome via the standard http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id extension, making it easier to programmatically identify which invariant triggered an issue.
What's Changed
- Bump coverlet.collector from 8.0.0 to 10.0.0 by @dependabot[bot] in #656
- Start development phase 3.2.1 by @mmsmits in #660
- Fix validation for primitives with no value and extensions by @andrzejskowronski in #658
- Bump coverlet.collector, MessagePack and MessagePack.Annotations by @dependabot[bot] in #665
- ExtensionContextValidation refactor & recursive context fix by @andrzejskowronski in #666
- VONK-9828: Wire
ValidationSettings.ModelInspectorthrough high-level Validator POCO conversion by @ewoutkramer with @Copilot in #668 - Expose invariant IDs as an extension on
IssueComponentby @andrzejskowronski in #672 - Bump the minor-and-patch group with 2 updates by @dependabot[bot] in #670
Full Changelog: v3.2.0...v3.3.0
3.2.0
What's Changed
- Bump FluentAssertions from 7.2.0 to 7.2.1 by @dependabot[bot] in #633
- Bump Firely.Fhir.Packages from 5.0.0 to 5.0.1 by @dependabot[bot] in #629
- chore: group minor and patch dependabot updates into single PRs by @mmsmits in #636
- Bump the minor-and-patch group with 1 update by @dependabot[bot] in #638
- Only sign NuGet packages on v* tag releases by @mmsmits in #639
- Bump coverlet.collector from 6.0.4 to 8.0.0 by @dependabot[bot] in #634
- Add thread-safety warning to README by @Copilot in #643
- Fix benchmark projects failing at runtime by @andrzejskowronski in #644
- Fix/slice cardinality validation by @abelenthoven in #642
- Remove props reference from benchmarks to fix windows run by @andrzejskowronski in #645
- Validate rendering-xhtml extension contents using FHIR XHTML rules by @Copilot in #653
- StructureDefinitionCorrectionsResolver update for SDK 6 by @Rob5045 in #646
- Skip build stages when only docs change (DEVOPS-713) by @mmsmits in #657
- Bump coverlet.collector and 4 others by @dependabot[bot] in #655
New Contributors
- @abelenthoven made their first contribution in #642
Full Changelog: v3.1.0...v3.2.0
2.7.3
What's Changed
- Start release phase 2.7.2 by @andrzejskowronski in #606
- Fix sdk5 benchmarks by @andrzejskowronski in #635
- StructureDefinitionCorrectionsResolver update by @Rob5045 in #632
- Corrections should always be applied to differential and snapshot. by @Rob5045 in #648
- Missing constraints should only be added to the diff of the original structure definition and not to the diff of derived profiles. by @Rob5045 in #649
- Replace certificate signing with Azure Trusted Signing for tags by @mmsmits in #651
New Contributors
Full Changelog: v2.7.1...v2.7.3
3.1.1
Intro
This release fixes the issues with cardinality validation of a primitive values
What's Changed
- Bump FluentAssertions from 7.2.0 to 7.2.1 by @dependabot[bot] in #633
- Bump Firely.Fhir.Packages from 5.0.0 to 5.0.1 by @dependabot[bot] in #629
- chore: group minor and patch dependabot updates into single PRs by @mmsmits in #636
- Bump the minor-and-patch group with 1 update by @dependabot[bot] in #638
- Only sign NuGet packages on v* tag releases by @mmsmits in #639
- Bump coverlet.collector from 6.0.4 to 8.0.0 by @dependabot[bot] in #634
- Add thread-safety warning to README by @Copilot in #643
- Fix benchmark projects failing at runtime by @andrzejskowronski in #644
- Fix/slice cardinality validation by @abelenthoven in #642
- Remove props reference from benchmarks to fix windows run by @andrzejskowronski in #645
New Contributors
- @abelenthoven made their first contribution in #642
Full Changelog: v3.1.0...v3.1.1
3.1.0
What's Changed
- Start development phase 3.0.2 by @andrzejskowronski in #605
- Start release phase 2.7.2 by @andrzejskowronski in #606
- Merge SDK6 changes to develop by @andrzejskowronski in #607
- Add test coverage for non-circular references in contained resources by @Copilot in #608
- Add unit tests verifying contained resource validation fix by @Copilot in #609
- Made sure we do not overwrite data when correcting type references by @Kasdejong in #610
- Support imposeProfile extension in validation by @Copilot in #611
- Bump BenchmarkDotNet from 0.15.4 to 0.15.6 by @dependabot[bot] in #613
- Bump Newtonsoft.Json from 13.0.3 to 13.0.4 by @dependabot[bot] in #582
- Bump BenchmarkDotNet from 0.15.6 to 0.15.8 by @dependabot[bot] in #616
- Add check for empty
DefinitionPathdiagnostics generation by @andrzejskowronski in #623 - Enable trusted code signing by @mmsmits in #625
- 622 More lenient validation of codeableconcepts with extensible bindings by @ewoutkramer in #624
- Reunite SDK6 branches by @ewoutkramer in #628
Full Changelog: v3.0.1...v3.1.0
v3.0.1
What's Changed
- Bump BenchmarkDotNet from 0.15.2 to 0.15.4 by @dependabot[bot] in #584
- Release validator v3.0.0 by @Kasdejong in #596
- Assertion needs to be public for MessagePack to work by @andrzejskowronski in #602
- Cleanup OperationOutcome.Issue by @andrzejskowronski in #597
- Merge changes to 5 into 6 as well by @andrzejskowronski in #604
Full Changelog: v3.0.0...v3.0.1
v2.7.1
What's Changed
- Start development phase 2.7.1 by @andrzejskowronski in #577
- Ensure when we encounter an empty SD snapshot we can resolve all base profiles. by @andrzejskowronski in #591
- Ensure the needed types are in the corrections list by @andrzejskowronski in #594
- Bump BenchmarkDotNet from 0.15.2 to 0.15.4 by @dependabot[bot] in #584
- Assertion needs to be public for MessagePack to work by @andrzejskowronski in #602
- Cleanup OperationOutcome.Issue by @andrzejskowronski in #597
Full Changelog: v2.7.0...v2.7.1
v3.0.0
Firely .NET validator v3.0.0
The validator is now written against Firely .NET SDK v6. This introduced a bunch of new features for us to use in the validator. Improvements have been made to, among other things:
- validating against cardinality constraints, including in slices
- extension context validation consistency
- validating resource references, bundles, and contained resources
What's Changed
- Upgrade SDK version to alpha2 by @Kasdejong in #509
- fixed context validation for issue #402 among other examples by @Kasdejong in #510
- Refactored validator against PocoNode by @Kasdejong in #542
- Re-enabled nullability errors by @Kasdejong in #549
- Add SDK6 Validator to pipelines by @andrzejskowronski in #568
- Forward merge changes from SDK5 to SDK6 version by @andrzejskowronski in #570
- Bump SDK version by @andrzejskowronski in #571
- Fixes from EnterpriseValidator upgrade by @andrzejskowronski in #573
- FS Fixes by @andrzejskowronski in #575
- Start development phase 2.7.1 by @andrzejskowronski in #577
- Minor fixes from FS by @andrzejskowronski in #578
- Add big validation bundle, enable cross version benchmarking by @andrzejskowronski in #580
- More detailed binding errors by @Kasdejong in #585
- Fixed location on txt-1 violation by @Kasdejong in #588
- Catch exceptions during schema resolution in ExtensionSchema by @andrzejskowronski in #590
- Ensure when we encounter an empty SD snapshot we can resolve all base profiles. by @andrzejskowronski in #591
- Ensure the needed types are in the corrections list by @andrzejskowronski in #594
- feature/forward-merge-sdk5 by @Kasdejong in #595
Full Changelog: v2.7.0...v3.0.0
2.7.0
What's Changed
- Bump xunit.runner.visualstudio from 3.0.0 to 3.1.0 by @dependabot[bot] in #516
- Revert Microsoft.CodeAnalysis.PublicApiAnalyzers to latest v3.x version and apply dependabot updates by @Copilot in #558
- Fix empty extension slice validation to report missing mandatory elements by @Copilot in #564
- Enable external reference resolving in
FhirPathValidatorby @andrzejskowronski in #574
New Contributors
- @Copilot made their first contribution in #558
Full Changelog: v2.6.9...v2.7.0