Compatibility Notes
If you want to upgrade, here's your guide to update your apps.
When you upgrade BassBoom to a version that contains a higher API version that you have, you'll need to follow the compatibility notes.
From 0.0.2.x to 0.0.3.x
When upgrading BassBoom from 0.0.2.x to 0.0.3.x, you need to consider the following changes:
Removed fugitive mode
The Fugitive mode was implemented to enable dangerous operations, such as an ability to get music info while the music is playing. However, these operations cause MPG123 to error out with random errors, causing playback to be distorted.
As a result, we've removed fugitive mode.
We advise you to stop using this mode.
From 0.0.3.x to 0.1.0.x
When upgrading BassBoom from 0.0.3.x to 0.1.0.x, you need to consider the following changes:
Removed CachedSongInfo
This class wasn't meant to be in the Basolia library, but it was put there as a temporary placeholder for the playlist system, which was going to be introduced to the Basolia library. However, Basolia didn't get this system, so we had to remove this while thinking of better ways to implement this class.
For now, you can host your own CachedSongInfo
class while we come up with better ways to implement the caching system.
Internalized the native part of the library
For security reasons, we've made this commit that internalizes the sensitive parts of the library (the ones with the P/Invoke signatures). This is so that Basolia stays the best way to use the whole BassBoom library and the program.
It's advisable that you stop making direct calls to the MPG123 library functions and start using the Basolia library. If you still want a feature that Basolia doesn't provide, head to the Issues tab.
This commit serves as a stepping stone to the full extensibility and flexibility to the library.
SHOUTcast exceptions cleanup
ShoutcastServerException
has been renamed to BasoliaMiscException
to cover all the possible exceptions that don't require or provide the MPG123 error code that is provided by the native part of the library.
Likewise, ShoutcastStreamParseException
has been removed for the introduction of the IceCast radio querying feature.
If you want to continue handling these exceptions, you must update your handler to catch the BasoliaMiscException
instances, though it might also catch all the unrelated instances of the same exception.
Removed extra Basolia initialization checking function
This function was accidentally implemented during the alpha stages of Basolia, which led to the implementation of the BasoliaInitialized
property to make users aware that properties to query the status of the library's initialization state are better than single-line functions in terms of semantics.
As a result, the above function was removed to reduce confusion.
You need to replace calls to this function with the BasoliaInitialized
property as both of them exhibit the same behavior.
From 0.1.0.x to 0.1.4.x
When upgrading BassBoom from 0.1.0.x to 0.1.4.x, you need to consider the following changes:
Exception classes have been rearranged
The Basolia exceptions have been moved to BassBoom.Basolia.Exceptions
to better arrange the exception classes.
You need to change the imports clause to BassBoom.Basolia.Exceptions
. If you're still using functions found in the BassBoom.Basolia
namespace, you need to add an extra imports clause pointing to the Exceptions
namespace.
Last updated