Releases: RobinTTY/NordigenApiClient
v5.2.0
Improved the static code analysis for the NordigenApiResponse class.
The compiler can now analyze whether the Result
and Error
properties may be null or are not-null depending on the IsSuccess
property.
Instead of needing the null-forgiving (!
) operator like this:
if(response.IsSuccess){
var institutions = response.Result!;
institutions.ForEach(institution => Console.WriteLine(institution.Name));
}
else
Console.WriteLine(response.Error!.Summary);
You can now simply access the properties Result
and Error
depending on the IsSucess
value:
if(response.IsSuccess){
var institutions = response.Result;
institutions.ForEach(institution => Console.WriteLine(institution.Name));
}
else
Console.WriteLine(response.Error.Summary);
Full Changelog: v5.1.0...v5.2.0
v5.1.0
Improved exception handling for deserialization errors. These exceptions will now include the raw JSON response from the API to make reporting issues easier.
Full Changelog: v5.0.1...v5.1.0
v5.0.1
Added CurrencyExchange data model to transaction.
Full Changelog: v5.0.0...v5.0.1
v5.0.0
Adds compatability with .NET Standard 2.0
Full Changelog: v4.0.2...v5.0.0
v4.0.2
Fixes possible null reference exception on expired access token use.
Full Changelog: v4.0.1...v4.0.2
v4.0.1
Fixes possible null reference exception on event invocation.
Full Changelog: v4.0.0...v4.0.1
v4.0.0
Added TokenPairUpdated event, which can be used to get notified whenever the JWT token pair (used to access the API) is updated.
Renamed the "JwtTokenPair" property of the "NordigenClient" class to "JsonWebTokenPair" to remove the word redundancy (this is a breaking change).
Full Changelog: v3.0.0...v4.0.0
v3.0.0
Added enums describing the following statuses:
- RequisitionStatus
- BankAccountStatus
These new enum types replace their corresponding string counterparts.
This change removes some hassle from interpreting API responses.
This is a breaking change.
Full Changelog: v2.0.3...v3.0.0
v2.0.3
Fixes JWT handling/updating. Prior implementation could cause a NullReferenceException if JWT refresh fails due to API not being reachable.
Full Changelog: v2.0.2...v2.0.3
v2.0.2
Fixed BankAccountDetails ignoring BIC in json responses.
Full Changelog: v2.0.1...v2.0.2