Releases: Solcast/solcast-api-csharp-sdk
Releases · Solcast/solcast-api-csharp-sdk
v2.0.0
What's Changed
BREAKING CHANGES
-
Method naming changes across all client classes for consistency
- Standardized naming pattern:
{Method}{ContextPrefix}{Resource}(e.g.,GetForecastAdvancedPvPower) - LiveClient method names now properly prefixed with "Live":
GetAdvancedPvPower→GetLiveAdvancedPvPowerGetAggregations→GetLiveAggregationsGetRooftopPvPower→GetLiveRooftopPvPowerGetRadiationAndWeather→GetLiveRadiationAndWeather
- ForecastClient method names now properly prefixed with "Forecast":
GetAdvancedPvPower→GetForecastAdvancedPvPowerGetAggregations→GetForecastAggregationsGetRooftopPvPower→GetForecastRooftopPvPowerGetRadiationAndWeather→GetForecastRadiationAndWeather
- HistoricClient method names now properly prefixed with "Historic":
GetAdvancedPvPower→GetHistoricAdvancedPvPowerGetRooftopPvPower→GetHistoricRooftopPvPowerGetRadiationAndWeather→GetHistoricRadiationAndWeather
- TmyClient method names now properly prefixed with "Tmy":
GetAdvancedPvPower→GetTmyAdvancedPvPowerGetRooftopPvPower→GetTmyRooftopPvPowerGetRadiationAndWeather→GetTmyRadiationAndWeather
- Standardized naming pattern:
-
SDK update checking is now opt-in instead of opt-out
- Changed default
checkForUpdatesparameter fromtruetofalseinBaseClientconstructor - Environment variable renamed from
SUPPRESS_SDK_UPDATE_CHECKtoCHECK_SDK_UPDATE - Function renamed from
IsSdkUpdateCheckSuppressed()toIsSdkUpdateCheckEnabled() - Update logic changed from suppression-based (default ON) to enablement-based (default OFF)
- Updated user message to reflect opt-in nature: "Automatic update checks are opt-in. Enable by setting CHECK_SDK_UPDATE='true'"
- Changed default
Added
- Support for verbose output control via
SOLCAST_VERBOSE_OUTPUTenvironment variable- When set to
true, API responses are logged to stderr for debugging and MCP scenarios - Default behavior remains silent for normal usage
- When set to
Improved
- Enhanced error handling and exception management
- Added comprehensive try-catch blocks to all API methods
- Improved parameter details in error messages for better debugging
- Added proper HTTP status code reporting in exceptions
- Maintained proper exception hierarchy (UnauthorizedApiKeyException, HttpRequestException, etc.)
Full Changelog: v1.0.2...v2.0.0
v1.0.2
What's Changed
- Fix/paths by @nik-solcast in #43
- added error logging for samples by @nik-solcast in #47
- fixing sample generation by @nik-solcast in #51
- prime the .NET env to avoid intro messages by @nik-solcast in #55
Full Changelog: v1.0.1...v1.0.2
v1.0.1
Let it be light
Release of version 1.0.0
v1.0.0-beta3
Full Changelog: v1.0.0-beta2...v1.0.0-beta3
v1.0.0-beta2
What's Changed
- added user agent by @nik-solcast in #29
- fixed version formatting by @nik-solcast in #31
Full Changelog: v1.0.0-alpha1...v1.0.0-beta2
v1.0.0-beta.1
v1.0.0-alpha1
What's Changed
- SDK Update for prod on 2024-11-01 by @nik-solcast in #18
- manual sdk and docs generation by @nik-solcast in #26
Full Changelog: v0.1.3...v1.0.0-alpha1
prepare for release
Merge pull request #8 from Solcast/test split cicd
Initial release
v0.1.2-alpha1 different ci/cd split