From 23ea813cc7af242b73d9cb206944ead11c17e26c Mon Sep 17 00:00:00 2001 From: Jake Aitchison Date: Sat, 1 Jan 2022 19:41:47 +0000 Subject: [PATCH] Prep v3.1.0 release --- CHANGELOG.md | 11 ++++++----- build/default.ps1 | 9 ++++++++- build/nHapi.v3.nuspec | 4 ++-- src/NHapi.Base/NHapi.Base.csproj | 2 +- src/NHapi.Model.V21/NHapi.Model.V21.csproj | 2 +- src/NHapi.Model.V22/NHapi.Model.V22.csproj | 2 +- src/NHapi.Model.V23/NHapi.Model.V23.csproj | 2 +- src/NHapi.Model.V231/NHapi.Model.V231.csproj | 2 +- src/NHapi.Model.V24/NHapi.Model.V24.csproj | 2 +- src/NHapi.Model.V25/NHapi.Model.V25.csproj | 2 +- src/NHapi.Model.V251/NHapi.Model.V251.csproj | 2 +- src/NHapi.Model.V26/NHapi.Model.V26.csproj | 2 +- src/NHapi.Model.V27/NHapi.Model.V27.csproj | 2 +- src/NHapi.Model.V271/NHapi.Model.V271.csproj | 2 +- src/NHapi.Model.V28/NHapi.Model.V28.csproj | 2 +- src/NHapi.Model.V281/NHapi.Model.V281.csproj | 2 +- 16 files changed, 29 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dbf91b9c0..98d1c96cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,17 +5,18 @@ All notable changes to this project will be documented in this file. ### ## [3.X.X.X] - TBC -## [3.1.0] - TBC - +## Previous Releases +### +## [3.1.0] - 2022-01-01 ### Enhancements - [#254](https://github.com/nHapiNET/nHapi/pull/254) Add `UnexpectedSegmentBehaviour` Options, ported from hapi - [#251](https://github.com/nHapiNET/nHapi/pull/251) Fix concurrency issues with `PipeParser`, `StructureDefinition`, `GenericMessage` and `Escape`. - [#250](https://github.com/nHapiNET/nHapi/pull/250) Add new options `DefaultObx2Type` and `InvalidObx2Type` to `ParserOptions`, ported from nhapi. (fixes [#63](https://github.com/nHapiNET/nHapi/issues/63)) - [#240](https://github.com/nHapiNET/nHapi/pull/240) Add support for `NonGreedyMode` by introducing `ParserOptions` ported from hapi. (fixes [#65](https://github.com/nHapiNET/nHapi/issues/65) [#232](https://github.com/nHapiNET/nHapi/issues/232)) -## Previous Releases -### - +### Other +- [#256](https://github.com/nHapiNET/nHapi/pull/256) Simplify cspoj through use of props and targets files. +- Update tools and build to net6.0 ## [3.0.4] - 2021-08-11 This change is to prevent the following Exception: diff --git a/build/default.ps1 b/build/default.ps1 index 2e3127f67..4c36d6738 100644 --- a/build/default.ps1 +++ b/build/default.ps1 @@ -20,6 +20,7 @@ properties { "NHapi.Model.V271", "NHapi.Model.V281" ) + $apiKey = "YOUR_API_KEY" } Task Default -depends Build @@ -94,5 +95,11 @@ Task Package -depends Build { } Task Deploy -depends Package { - Exec { .nuget\nuget push *.nupkg -Source https://api.nuget.org/v3/index.json } + + foreach($project in $projects) { + Exec { dotnet nuget push "..\dist\$project.*.nupkg" --api-key $apiKey } + } + + Exec { dotnet nuget push "..\dist\nhapi.3.1.0.nupkg" --api-key $apiKey } + # Exec { .nuget\nuget push *.nupkg -Source https://api.nuget.org/v3/index.json } } \ No newline at end of file diff --git a/build/nHapi.v3.nuspec b/build/nHapi.v3.nuspec index 47a1b3d79..39e180b90 100644 --- a/build/nHapi.v3.nuspec +++ b/build/nHapi.v3.nuspec @@ -2,7 +2,7 @@ nhapi - 3.0.4 + 3.1.0 Chad Chenoweth,Duane Edwards,Jake Aitchison MPL-2.0 https://github.com/nHapiNET/nHapi @@ -13,7 +13,7 @@ NHapi allows Microsoft .NET developers to easily use an HL7 2.x object model. This object model allows for parsing and encoding HL7 2.x data to/from Pipe Delimited or XML formats. A very handy program for use in the health care industry. This project is NOT affiliated with the HL7 organization. This software just conforms to the HL7 2.x specifications. - https://github.com/nHapiNET/nHapi/releases/tag/v3.0.4 + https://github.com/nHapiNET/nHapi/releases/tag/v3.1.0 HL7 parsing healthcare HAPI xml docs\README.md diff --git a/src/NHapi.Base/NHapi.Base.csproj b/src/NHapi.Base/NHapi.Base.csproj index bed7fa60a..84a9676fd 100644 --- a/src/NHapi.Base/NHapi.Base.csproj +++ b/src/NHapi.Base/NHapi.Base.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.base - 3.0.4 + 3.1.0 The core components for parsing/encoding HL7 messages. Contains the base classes and interfaces for datatypes, segments, and messages. NHapi Common Library 1591 diff --git a/src/NHapi.Model.V21/NHapi.Model.V21.csproj b/src/NHapi.Model.V21/NHapi.Model.V21.csproj index 474b598e5..5585013c5 100644 --- a/src/NHapi.Model.V21/NHapi.Model.V21.csproj +++ b/src/NHapi.Model.V21/NHapi.Model.V21.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v21 - 3.0.2 + 3.1.0 Contains the data types, segments, and messages that follow the HL7 2.1 schema. NHapi Model V.2.1 true diff --git a/src/NHapi.Model.V22/NHapi.Model.V22.csproj b/src/NHapi.Model.V22/NHapi.Model.V22.csproj index 84801e859..5dad0400b 100644 --- a/src/NHapi.Model.V22/NHapi.Model.V22.csproj +++ b/src/NHapi.Model.V22/NHapi.Model.V22.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v22 - 3.0.2 + 3.1.0 Contains the data types, segments, and messages that follow the HL7 2.2 schema. NHapi Model V.2.2 true diff --git a/src/NHapi.Model.V23/NHapi.Model.V23.csproj b/src/NHapi.Model.V23/NHapi.Model.V23.csproj index d6b07fd47..b0de03064 100644 --- a/src/NHapi.Model.V23/NHapi.Model.V23.csproj +++ b/src/NHapi.Model.V23/NHapi.Model.V23.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v23 - 3.0.2 + 3.1.0 Contains the data types, segments, and messages that follow the HL7 2.3 schema. NHapi Model V.2.3 true diff --git a/src/NHapi.Model.V231/NHapi.Model.V231.csproj b/src/NHapi.Model.V231/NHapi.Model.V231.csproj index f1792e654..b0501a8ad 100644 --- a/src/NHapi.Model.V231/NHapi.Model.V231.csproj +++ b/src/NHapi.Model.V231/NHapi.Model.V231.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v231 - 3.0.2 + 3.1.0 Contains the data types, segments, and messages that follow the HL7 2.3.1 schema. NHapi Model V.2.3.1 true diff --git a/src/NHapi.Model.V24/NHapi.Model.V24.csproj b/src/NHapi.Model.V24/NHapi.Model.V24.csproj index 12819c2c6..d4d5f22b1 100644 --- a/src/NHapi.Model.V24/NHapi.Model.V24.csproj +++ b/src/NHapi.Model.V24/NHapi.Model.V24.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v24 - 3.0.2 + 3.1.0 Contains the data types, segments, and messages that follow the HL7 2.4 schema. NHapi Model V.2.4 true diff --git a/src/NHapi.Model.V25/NHapi.Model.V25.csproj b/src/NHapi.Model.V25/NHapi.Model.V25.csproj index 89b19897c..6de657539 100644 --- a/src/NHapi.Model.V25/NHapi.Model.V25.csproj +++ b/src/NHapi.Model.V25/NHapi.Model.V25.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v25 - 3.0.2 + 3.1.0 Contains the data types, segments, and messages that follow the HL7 2.5 schema. NHapi Model V.2.5 true diff --git a/src/NHapi.Model.V251/NHapi.Model.V251.csproj b/src/NHapi.Model.V251/NHapi.Model.V251.csproj index c065c4542..39fc5d2ec 100644 --- a/src/NHapi.Model.V251/NHapi.Model.V251.csproj +++ b/src/NHapi.Model.V251/NHapi.Model.V251.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v251 - 3.0.2 + 3.1.0 Contains the data types, segments, and messages that follow the HL7 2.5.1 schema. NHapi Model V.2.5.1 true diff --git a/src/NHapi.Model.V26/NHapi.Model.V26.csproj b/src/NHapi.Model.V26/NHapi.Model.V26.csproj index df7760340..947d0c040 100644 --- a/src/NHapi.Model.V26/NHapi.Model.V26.csproj +++ b/src/NHapi.Model.V26/NHapi.Model.V26.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v26 - 3.0.2 + 3.1.0 Contains the data types, segments, and messages that follow the HL7 2.6 schema. NHapi Model V.2.6 true diff --git a/src/NHapi.Model.V27/NHapi.Model.V27.csproj b/src/NHapi.Model.V27/NHapi.Model.V27.csproj index 3e69544e9..99b2f7f81 100644 --- a/src/NHapi.Model.V27/NHapi.Model.V27.csproj +++ b/src/NHapi.Model.V27/NHapi.Model.V27.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v27 - 3.0.2 + 3.1.0 Contains the data types, segments, and messages that follow the HL7 2.7 schema. NHapi Model V.2.7 true diff --git a/src/NHapi.Model.V271/NHapi.Model.V271.csproj b/src/NHapi.Model.V271/NHapi.Model.V271.csproj index 414ee2c97..e3fd729b4 100644 --- a/src/NHapi.Model.V271/NHapi.Model.V271.csproj +++ b/src/NHapi.Model.V271/NHapi.Model.V271.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v271 - 3.0.2 + 3.1.0 Contains the data types, segments, and messages that follow the HL7 2.7.1 schema. NHapi Model V.2.7.1 true diff --git a/src/NHapi.Model.V28/NHapi.Model.V28.csproj b/src/NHapi.Model.V28/NHapi.Model.V28.csproj index 60c1e5f3a..c1c2944b4 100644 --- a/src/NHapi.Model.V28/NHapi.Model.V28.csproj +++ b/src/NHapi.Model.V28/NHapi.Model.V28.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v28 - 3.0.2 + 3.1.0 Contains the data types, segments, and messages that follow the HL7 2.8 schema. NHapi Model V.2.8 true diff --git a/src/NHapi.Model.V281/NHapi.Model.V281.csproj b/src/NHapi.Model.V281/NHapi.Model.V281.csproj index 28198818b..48c3f97f8 100644 --- a/src/NHapi.Model.V281/NHapi.Model.V281.csproj +++ b/src/NHapi.Model.V281/NHapi.Model.V281.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v281 - 3.0.2 + 3.1.0 Contains the data types, segments, and messages that follow the HL7 2.8.1 schema. NHapi Model V.2.8.1 true