Skip to content

2.0.0

Latest
Compare
Choose a tag to compare
@skuill skuill released this 25 Dec 18:45
· 15 commits to main since this release

What's New in 2.0.0

Major Changes:

  • Added CancellationToken Support (#26):

    • Introduced CancellationToken to SearchLyric and SearchLyricAsync methods across LyricsScraperClient and provider implementations.
    • Refactored LyricsScraperClient to separate validation and provider logic.
    • Unified SearchLyric and SearchLyricAsync methods for DRY compliance.
    • Improved client initialization and updated options configuration.
  • 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.

Additional Updates:

  • Fixed warnings and improved nullability handling.
  • Refactored internal logic for better readability and maintainability.

Full Changelog: 1.10.1...2.0.0