Releases: skuill/LyricsScraperNET
Releases · skuill/LyricsScraperNET
2.0.0
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
1.10.1
What's Changed
-
Feature #28:
- Added a new response status code:
RegionRestricted
. - Implemented logic in the LyricFind provider to check if lyrics are unavailable due to regional restrictions.
- Added unit and integration tests to support this feature.
- Pull Request by @skuill.
- Added a new response status code:
-
BugFix #33:
- Updated default
SearchPriority
for providers to improve search behavior. - Fixed parsing of lyric fragments with comments in the Genius provider to handle cases of truncated lyrics.
- Pull Request by @skuill.
- Updated default
Full Changelog: 1.9.3...1.10.1
1.9.3
1.9.2
1.8.1
1.7.1
1.6.2
1.6.1
Fixed error when searching for lyrics of an instrumental track (#17).
Related changes:
- Now all exceptions during the search are caught and written to the log for each provider.
- The search request is parsed correctly for all providers (except AZLyrics) in the case of an instrumental song.
- Added an
Instrumental
flag toSearchResponse
in case the lyrics were not found and the song is instrumental. The status code in this case isSuccessful
. - Add ability to configure logger in client/providers from
ILoggerFactory
usingWithLogger
method. - Add Unit and Integration Tests in case of instrumental lyric search.