Skip to content

Introduce ISynologyApiClient Facade

Latest

Choose a tag to compare

@esausilva esausilva released this 09 Jun 12:13

Features & Enhancements

  • New ISynologyApiClient Facade (#79059f9): Introduced a unified API client to drastically streamline dependency injection and consumer usage. You no longer need to manually orchestrate ISynologyApiRequestBuilder and ISynologyApiService.
  • Domain-Specific Clients (#79059f9): Added strongly-typed, domain-specific sub-clients accessible directly through the main facade:
    • ApiInfoClient
    • AuthClient
    • FileStationClient
    • FotoClient
    • FotoTeamClient
  • Simplified Dependency Injection (#79059f9): Updated SdkConfigurationExtensions to automatically register the new ISynologyApiClient and its corresponding domain dependencies.

Deprecations

  • Legacy Interfaces Marked Obsolete (#79059f9): The ISynologyApiRequestBuilder and ISynologyApiService interfaces have been marked with the [Obsolete] attribute. They are still functional in this release but are slated to become internal in a future major SDK release. Consumers are highly encouraged to migrate to ISynologyApiClient.

Chores & Maintenance

  • Dependency Updates (#b3e241b): Updated internal NuGet packages to their latest stable versions.
  • Testing Framework Update (#a07817c): Updated the TUnit test framework to the latest version.

Documentation Updates

  • API Docs Refreshed (#79059f9): Updated the README.md, Docs/ConsumerSample.md, and all 14 individual API request .md files to accurately reflect the usage of the new ISynologyApiClient.
  • Cleaned Up Outdated Documents (#f1d2498): Removed outdated implementation plans and obsolete API overview documentation from the repository.