Closed larsrickert closed 1 year ago
:tada: This PR is included in version 2.0.0-rc.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This PR is included in version 2.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
BREAKING CHANGE: Changed type
PlayerEngine
and all pre-built engines (youtube, spotify and file) to returnSearchResult|null
instead ofSearchResult[]
. The previous return value just wrapped the search result into an array so its length was always 1. Thats why it has been changed. BREAKING CHANGE:player.search()
now returnsSearchResult|null
instead ofSearchResult[]