From c63b7dba3f358f853e872ca02d4b948b66c6c4a9 Mon Sep 17 00:00:00 2001 From: thorsten Date: Sun, 20 Sep 2026 08:05:18 +0200 Subject: [PATCH] release: v1.3.0 Co-Authored-By: Claude Fable 5.1 --- release-notes/v1.3.0.md | 9 +++++++++ src/Finance.NET.csproj | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 release-notes/v1.3.0.md diff --git a/release-notes/v1.3.0.md b/release-notes/v1.3.0.md new file mode 100644 index 0000000..04ef34c --- /dev/null +++ b/release-notes/v1.3.0.md @@ -0,0 +1,9 @@ +### What's Changed + +* New `FinanceNetAccessDeniedException` (derives from `FinanceNetException`) for a request Alpha Vantage refuses for the account: a premium-only endpoint called with a free key, or an invalid or missing API key. It is thrown by all four Alpha Vantage methods, is excluded from the retry policy and is not wrapped, so `InnerException` is null. Such a call now fails in well under a second instead of running through the whole back-off budget, which took several minutes. Thanks to @werwolfby for the report and the fix. +* An Alpha Vantage rate-limit notice stays a retryable `FinanceNetException`. `GetOverviewAsync` previously read the notice as an empty overview and reported `FinanceNetNoDataException` without retrying. +* `GetRecordsAsync` still calls `TIME_SERIES_DAILY_ADJUSTED`, which Alpha Vantage serves to premium keys only. With a free key it now fails immediately with `FinanceNetAccessDeniedException`. + +### Behaviour Changes + +* Existing `catch (FinanceNetException)` blocks keep working. Code that matches on the exact exception type or on the message of a refused Alpha Vantage request needs updating, because the type is now `FinanceNetAccessDeniedException` and the message changed. diff --git a/src/Finance.NET.csproj b/src/Finance.NET.csproj index e4abc8a..a0e1b96 100644 --- a/src/Finance.NET.csproj +++ b/src/Finance.NET.csproj @@ -12,7 +12,7 @@ true false Finance.NET - 1.2.1 + 1.3.0 Thorsten Alpers Thorsten Alpers A .NET library for retrieving real-time and historical financial data from Yahoo Finance and other popular sources.