Releases: nHapiNET/nHapi
3.2.4 Release
If you reference the single nHapi nuget metapackage then this release is purely superficial and does not add anything, if you reference individual nHapi model packages then this brings you the same fix as the previous release.
Other
- Updates individual model nuget packages to depend on the
nhapi.base3.2.3which contains the transitive dependency security vulnerability fix - Removes direct reference to
nhapi.baseform the nHapi metapackage as there is already a transitive reference from thenhapi.model.*dependencies.
By @milkshakeuk
Full Changelog: v3.2.3...v3.2.4
3.2.3 Release
This release fixes a security vulnerability with a transitive dependency.
Other
- #678 Update
System.Configuration.ConfigurationManagerdependency fornetstandard2.0target framework to8.0.1to fix transitive dependency vulnerability.
By @milkshakeuk
Full Changelog: v3.2.2...v3.2.3
3.2.2 Release
This release is purely superficial, it does not fix or add anything.
- Add appropriate target framework metadata to the metapackage nuspec - already exists in the individual nuget packages.
See 3.2.0 release for latest actual nHapi changes.
By @milkshakeuk
3.2.0 Release
Various new ParserOptions have been added, see the wiki for more information.
Things of note
As part of #398 the imperfect behaviour of XmlParser and DefaultXmlParser have been updated and brought inline with hapi fixing many quirks and defects. If you are dependant on this old behaviour you can use LegacyXmlParser and LegacyDefaultXmlParser instead, these will be available until the next major version of nHapi.
The nHapi convenience nuget package is now a meta package meaning it does not directly contain any Dlls. This metapackage just describes its dependencies, which happen to be all of the individual nHapi nuget packages. If you want to understand a little bit more about metapackages read this.
There is no difference in behaviour when using this metapackage vs the previous nHapi nuget package.
Bug Fixes
- #318 Port
ORL_O34fix for cyclic reference, fixes forV2.5.1,2.5,2.6. By @milkshakeuk (fixes #298) - #340 Fix
TerserRegex bug. By @milkshakeuk (fixes #319) - #402 Fix
OBXrepeat counts for V24. By @milkshakeuk (fixes #341)
Enhancements
- #283 Enable refactor of Source Generation code. By @milkshakeuk
- #291 Fix some static analysis issues. By @PhantomGrazzler
- #308 Include the optional
LongNameattribute in the XML encoded output. By @laxmi-lal-menaria (resolves #301) - #360 Add Support for
CharSetUtilandPreParser. By @milkshakeuk (resolves #312) - #362 Fixed some static analysis warnings related to public constants. By @PhantomGrazzler
- #398 Bring XmlParsing in line with
hapi. By @milkshakeuk (unblocks #308) - #278 Better Source Link Support. By @milkshakeuk
Other
- #288 Update Github Actions to use OS matrix. By @milkshakeuk
3.1.1 Release
Enhancements
- #277 Remove MaxRepetition check, keeps nhapi in line with hapi behaviour, nhapi becomes more forgiving in regards to repetitions. By @milkshakeuk (fixes #276)
3.1.0 Release
Enhancements
- #254 Add
UnexpectedSegmentBehaviourOptions, ported from hapi. By @milkshakeuk - #251 Fix concurrency issues with
PipeParser,StructureDefinition,GenericMessageandEscape. By @milkshakeuk - #250 Add new options
DefaultObx2TypeandInvalidObx2TypetoParserOptions, ported from nhapi. By @milkshakeuk (fixes #63) - #240 Add support for
NonGreedyModeby introducingParserOptionsported from hapi. by @PhantomGrazzler (fixes #65 #232)
Other
- #256 Simplify cspoj through use of props and targets files. By @milkshakeuk
- Update tools and build to net6.0. By @milkshakeuk
3.0.4 Release
This change is to prevent the following Exception:
System.ArgumentException - An item with the same key has already been added.
In cases where dictionaries / hashtables are used for lookups such as Escape.cs when there multiple threads trying to add to them at the same time.
Instead of using Add(key, value) which only allows 1 items with a given key to be added to the dictionary / hashtable, we are using the index accessor to set or update the value in a last one wins scenario, but only when its combined with ContainsKey which has indicated that an item with that key shouldn't exist.
By @milkshakeuk
3.0.3 Release
This change updates the PipeParser Version check when obtaining encoding characters from a message object in order to encode it to HL7; string.CompareOrdinal is now used instead of System.Version which is more forgiving when a version contains non numerical characters.
By @milkshakeuk
3.0.2 Release
This change gives nhapi strong-named assemblies, there are no codes changes.
Bug Fixes
- #227 fixes "A strongly-named assembly is required" runtime errors
By @milkshakeuk
3.0.1 nhapi.model.v231 Release
This release is for the NuGet package nhapi.model.v231 only, there are no code changes, see below for change.
- Remove unused project reference.
By @milkshakeuk