What's New in 2.0.0
Major Changes:
-
Added
CancellationToken
Support (#26):- Introduced
CancellationToken
toSearchLyric
andSearchLyricAsync
methods acrossLyricsScraperClient
and provider implementations. - Refactored
LyricsScraperClient
to separate validation and provider logic. - Unified
SearchLyric
andSearchLyricAsync
methods for DRY compliance. - Improved client initialization and updated options configuration.
- Introduced
-
Parallel Search Support (#27):
- Add a
UseParallelSearch
configuration option to enable parallel searches across multiple providers. By default, sequential search is used if not specified. - Implemented logic to return the first successful result and cancel remaining operations using a
CancellationToken
.
- Add a
Additional Updates:
- Fixed warnings and improved nullability handling.
- Refactored internal logic for better readability and maintainability.
Full Changelog: 1.10.1...2.0.0