Commit Graph

69 Commits

Author SHA1 Message Date
Valters Melnalksnis d5c0dffa2c feat(docs): Add issue templates 2022-06-24 18:34:13 +03:00
Valters Melnalksnis bfba0e78bf fix: Stop integration tests from running in parallel 2022-06-24 16:47:00 +03:00
Valters Melnalksnis 08a3d51766 feat: Bump version to 0.5.0 2022-06-24 16:35:37 +03:00
Valters Melnalksnis 66cbcbea2f fix: Cache JsonSerializerOptions for NordigenHttpClient
This reduces execution time and memory allocation for GetRequiredService<INordigenClient>() by an order of magnitude
2022-06-24 16:28:44 +03:00
Valters Melnalksnis 25951fd00b fix: Simplify GetPaginated in NordigenHttpClient 2022-06-24 16:28:40 +03:00
Valters Melnalksnis d754156f97 fix: Add logging to integration tests 2022-06-24 16:28:37 +03:00
Valters Melnalksnis c31454d322 fix: Fix integration test assertions 2022-06-24 16:28:33 +03:00
Valters Melnalksnis 29949fa64f fix: Cache user agent header value
Currently the user agent header value was created for each TokenDelegatingHandler and NordigenHttpClient.
By creating the header value once, both the execution time and allocated memory for GetRequiredService<INordigenClient>() was reduced.

Original:
|     Mean |    Error |   StdDev |  Gen 0 |  Gen 1 | Allocated |
|--------- |---------:|---------:|-------:|-------:|----------:|
| 33.16 us | 0.102 us | 0.090 us | 5.3101 | 0.0916 |     44 KB |
After caching:
|     Mean |    Error |   StdDev |  Gen 0 |  Gen 1 | Allocated |
|--------- |---------:|---------:|-------:|-------:|----------:|
| 26.02 us | 0.091 us | 0.086 us | 4.8218 | 0.0000 |     39 KB |
2022-06-24 16:28:12 +03:00
Valters Melnalksnis f4002a4363 fix: Add integration tests for accounts, balances and transactions 2022-06-23 10:00:34 +03:00
Valters Melnalksnis ef5aba1acd fix: Bump version to 0.4.4 2022-06-21 20:59:20 +03:00
Valters Melnalksnis 374394758f fix: Fix query for transactions within interval (#31) 2022-06-21 20:51:03 +03:00
Valters Melnalksnis 0e1def2729 fix: Bump version to 0.4.3 2022-06-19 15:27:31 +03:00
Valters Melnalksnis 48c54ed28d fix: Fix debug type 2022-06-19 15:27:11 +03:00
Valters Melnalksnis a1bf4879aa fix: Bump version to 0.4.2 2022-06-19 15:19:20 +03:00
Valters Melnalksnis e1b095d22d fix(build): Publish NuGet symbols in separate step 2022-06-19 15:18:53 +03:00
Valters Melnalksnis 408f6b9505 fix: Bump version to 0.4.1 2022-06-19 15:11:17 +03:00
Valters Melnalksnis 4f8bbc072d fix: Fix RequisitionsClientTests 2022-06-19 15:11:17 +03:00
Valters Melnalksnis d709e3b9ac feat: Enable assembly strong naming 2022-06-19 15:07:01 +03:00
Valters Melnalksnis ee5b812b05 fix(build): Publish symbols package 2022-06-19 15:05:56 +03:00
Valters Melnalksnis bd07146a23 feat: Bump version to 0.4.0 2022-06-18 11:56:24 +03:00
Valters Melnalksnis e1cff0c31a fix: Remove redundant code for token serialization 2022-06-18 11:18:33 +03:00
Valters Melnalksnis d81498bfa8 fix(docs): Add missing documentation for transactions 2022-06-18 10:48:13 +03:00
Valters Melnalksnis c0131b73db fix: Rename DebtorAccount to TransactionAccount 2022-06-17 20:40:44 +03:00
Valters Melnalksnis 31b76395f0 feat: Add CreditorAccount to BookedTransaction 2022-06-17 20:39:28 +03:00
Valters Melnalksnis 86000559ab fix: Bump version to 0.3.1 2022-06-17 17:24:41 +03:00
Valters Melnalksnis c9011a9c05 fix(deps): Remove unused reference from VMelnalksnis.NordigenDotNet.csproj 2022-06-17 17:20:21 +03:00
Valters Melnalksnis 30dd2ca2f6 feat(build): Add scheduled runs of test.yml without code coverage 2022-06-16 20:56:58 +03:00
Valters Melnalksnis 5402fd131e fix(docs): Fix configuration examples in README.md 2022-06-16 20:56:31 +03:00
Valters Melnalksnis a4366cf4a9 feat: Bump version to 0.3.0 2022-06-16 20:34:55 +03:00
Valters Melnalksnis 821bcb4aab fix(docs): Update README.md with default BaseAddress 2022-06-16 20:34:27 +03:00
Valters Melnalksnis e451c5789b feat: Add default value for BaseAddress 2022-06-16 20:24:59 +03:00
Valters Melnalksnis d391cb7721 feat: Cache tokens between calls (#19) 2022-06-16 20:22:52 +03:00
Valters Melnalksnis da99d06272 fix: Replace TokenClient with TokenDelegatingHandler 2022-06-16 18:45:54 +03:00
Valters Melnalksnis b2cff73599 fix: Add integration tests to test.yml action 2022-06-16 18:06:00 +03:00
Valters Melnalksnis 74a202e15d feat: Bump version to 0.2.0 2022-06-15 22:41:47 +03:00
Valters Melnalksnis 851d8ea2b9 fix: Use IOptionsMonitor<T> instead of IOptionsSnapshot<T> to avoid lifetime issues 2022-06-15 22:37:59 +03:00
Valters Melnalksnis 57c2dce062 fix: Suppress trim warning for ServiceCollectionExtensions 2022-06-15 22:05:47 +03:00
Valters Melnalksnis 827d099661 fix: Disable trimming in test projects 2022-06-15 22:05:46 +03:00
Valters Melnalksnis 99ea02654e fix: Move all instances of throw new HttpRequestException to single method 2022-06-15 22:05:46 +03:00
Valters Melnalksnis 364b6044cf feat: Add TokenSerializationContext for TokenClient 2022-06-15 22:05:46 +03:00
Valters Melnalksnis 93ef992e23 feat: Enable trimming warnings
(#14)
2022-06-15 22:05:45 +03:00
Valters Melnalksnis 013eae45ba fix(build): Mark publish.sh as executable (#16) 2022-06-15 20:08:20 +03:00
Valters Melnalksnis b2b47e31f6 feat: Add IAgreementClient (#5) 2022-06-15 20:00:31 +03:00
dependabot[bot] cd0237c42c build(deps): Bump StyleCop.Analyzers
Bumps [StyleCop.Analyzers](https://github.com/DotNetAnalyzers/StyleCopAnalyzers) from 1.2.0-beta.406 to 1.2.0-beta.435.
- [Release notes](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases)
- [Commits](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/compare/1.2.0-beta.406...1.2.0-beta.435)

---
updated-dependencies:
- dependency-name: StyleCop.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-15 14:48:08 +00:00
Valters Melnalksnis e98d7eb50f fix(build): Fix dependabot.yml 2022-06-15 17:47:27 +03:00
Valters Melnalksnis 8a0080dc1c feat(build): Add github-actions to dependabot.yml 2022-06-15 17:41:28 +03:00
Valters Melnalksnis 58d50ada23 feat(build): Specify full versions for all actions (#9) 2022-06-15 17:39:09 +03:00
Valters Melnalksnis 5f4d521eea fix(deps): Add PrivateAssets all to DotNet.ReproducibleBuilds.Isolated (#7) 2022-06-15 17:31:42 +03:00
Valters Melnalksnis 28da1baffe feat: Include README.md in NuGet package 2022-06-15 17:26:37 +03:00
Valters Melnalksnis 94323dae6f feat: Update README.md with instructions (#6) 2022-06-15 17:26:07 +03:00