4.0.0 for STU3 (release 20220506)
New major release: 4.0.0
More than a year ago we released the last major release of our Firely .NET SDK (version 3.0) , so it was about time to publish the new major release, version 4.0. In a major release, we allow ourselves to add some breaking changes, clean up some code, and make some code improvements. We have kept these breaking changes to a minimum so that the transition from version 3.x to 4 is not too difficult.
Version 4.0.0 contains:
- New and faster Json deserializer (parser) and serializer. We use the
System.Text.Json
library now. See documentation about this new serializer on this page - New and faster Xml serializer. The deserializer will be released in following release.
- We don't target framework
netstandard1.6
anymore, but addednet6.0
. So the following frameworks are supported:net6.0
,netstandard2.0
andnet452
. Sincenet452
will no longer be supported by Microsoft on April 26, 2022, versionnet452
will only be available in this major version (4.x) - a new resource resolver
FhirPackageSource
, which can resolve resources from a FHIR package - Cleaned up some stale code
- New package icon
We tried to keep the backwards incompatible changes as minimum as possible. See here for an overview of those changes. This document can help you to upgrade.
Changes:
- #1879: Add NpmPackageResolver [STU3]
- #1963: Removed file FhirNetApi.snk.enc
- #1976: Updated common for FiveWs
- #1980: Move some client classes to common [STU3]:
ResourceReferenceExtensions
SearchParamsExtensions
TokenExtensions
- #1969: Validator checks if invariants don't result in empty anymore [STU3]
- #1988: Removed FHIR Core packages from the specification project
- #1995: Adds Package client to the FHIR package source
- #1998: Make
LegacyFhirClient
obsolete - #1957: Bump SharpZipLib from 0.86.0 to 1.3.3 in /src/Hl7.Fhir.Core.Tests
- #1934: 1095 - Move useful ElementDefinition ext methods to a single place (R3)
- #1951: Move
ITerminologyService
andFhirOperationException
toHl7.Fhir.Support.Poco
- #1950: Changed package icon with new logo of Firely SDK
- #1810: STU3: Behavior of
PocoStuctureDefinitionSummaryProvider
is now the same asStuctureDefinitionSummaryProvider
- #1945: Add setting to ignore a custom list of constraints in the validator - STU3
- #1946: Remove the ignore option in the validation setting to check best practices constraints
- #1931: Evaluate FhirPath expression using the correct scope [stu3]
- #1930: Introduce CodedException everywhere (R3)
- #1896: Cleanup projectfiles and dependencies
- #1928: Use existing
ValidationAttributes
in the new Json deserializer (R3) - #1911: Add new, faster, Json deserializer for POCOs (R3)
- #1910: Added an Xml serializer based on
IReadOnlyDictionary
(R3) - #1821: Add
IReadOnlyDictionary
based Json serializer (for R3) - #1816: Adding
IReadOnlyDictionary
support (for R3) - #2029:
HttpMessageHandler
Passed To Constructor OfFhirClient
Gets Disposed WhenFhirClient
Is Disposed - #2064: Corrected bugs in new faster serializers/deserializers (STU3)
- #2061: Catch InvalidOperationException when FhirClient encounters non-FHIR Json/XML in the response - STU3
- #2048: Use IssueComponent.Expression instead of IssueComponent.Location
- #2054: Handle and generate absolute contentReferences
- #2055: Support providing the
HttpClient
direct to theFhirClient
- STU3 - #2046: STU3: Do not dispose of a shared
HttpMessageHandler
passed into the constructor - #2038: Updated unit test
TestExpandBundleEntryResource
. - #2035: Treat warnings as errors
- #2045: Use the official 3.0 release of
Firely.Fhir.Packages
- #2043: Use a workflow for automatic add issues to the project
- #2042: Added Source Link
- #2041: Signing the NuGet Packages
- #2022: Changes to improve performance of Bundle validation (R3)
- #1999: Fix for PR #1990
- #1990: 3-way merge of cardinality of an element
This list of changes was auto generated.