Releases: digipost/digipost-api-client-dotnet
Set assembly version to '<major>.0.0' when releasing new version
Merge pull request #174 from digipost/set-assembly-version-on-release Set assembly version to '<major>.0.0 when releasing new version.
Assembly er bygget med strong name
Erstatter BouncyCastle
med Portable.BouncyCastle
.
Informasjon om strong-name:
Public Key:
0024000004800000940000000602000000240000525341310004000001000100f71f491a4cebe0
a3d18a61744f92edfca908e4d756aa1140ebceeffb1fc4aa2e7bbe4d672067e2c0a3afd8c4511e
f84cc1267ba04d8041e24d96c3d93e268fd69abc712fa81bcbae729f1c0524eef0254705bb2fcf
1ffd43a647e9306b93e8dd7afd094a61ca2761fe87c20fdda758ad55d2c5ba6ad6edc9493309a3
55e51f99
Public Key Token: 89981910a5f19766
Endre target til .NET standard 2.0
Samt oppgraderer avhengigheter.
Utover dette er det ingen funksjonelle endringer.
Fix Document class constructor taking a stream as input
Copied from PR description:
This pull request is intended to fix an issue with the Document class constructor taking a stream as input. The previous implementation expected the provided stream to contain a path to a file, and not the actual file contents.
This pull request changes the Document class to retrieval of bytes from a stream and file path to be identical to the implementation in the already existing Invoice class.
The unit tests have been updated accordingly. Also removed the "Fakes" of the Document and Invoice classes as these are no longer needed.
Credit to @sindremb
Ny extern DataTypes repo
Technical
DataTypes have now been moved to a separate repo and made into an optional expansion package. The client now deals with datatypes simply as raw XML in string format, appended to the document. This is to prevent frequent releases of the client when new datatypes are added.
Oppdater Dokumentasjon v2
9.0.3 Forgot the travis file
Oppdaterer Dokumentasjon
Technical
Mostly an update to the documentation and minor changes to constructors, allowing you not create a DigipostClient without passing it a Logger.
Bug Fixes
Fixed a rather critical bug where the Digipost.Api.Client package was depending on a beta release of a Microsoft library, resulting it Nuget straight up ignoring it.
Oppgraderer til BouncyCastle
Technical
After having to replace System.Cryptograpghy libraries in other repos with BouncyCastle due to bugs with .NET Core 2+, we've decided to simply rely on BouncyCastle across all of our .NET libraries instead of just that one method. We'll still be using .NET Core's X509Certificates over BouncyCastle's though.
Oppgrader til .NET Core 2+
Technical
The library was previously named digipost-api-client-dotnet. To conform better with naming conventions and package structuring, the library now has several packages with the prefix Digipost.Api.Client.*.
The library is now NET Core 2.2.
Certificate loading should now be done by file, as the previous loading by certificate thumbprint has not been tested extensively.
Please see the documentation for more information on all the changes.
Bugfixes
No bugfixes, but please report any bugs you might find.
Legg til Event og Barcode datatypes
- Legg til ny datatype Event, og andre datatypes den trenger, som Barcode, Address og TimeInterval.
- Legg til nye tester for Event.
- Fiks flere utdaterte tester som hindret builds.