Skip to content

Version 2.0.1

Choose a tag to compare

@rudrankriyam rudrankriyam released this 06 Feb 19:29
· 732 commits to main since this release
2c0e263

Version 2.0

This release will break your code. Read the instructions below for migration.

This is the biggest release since I started working on MusadoraKit. There are three major structures now:

  • MCatalog for Apple Music catalog-related methods
  • MLibrary for User's library-related methods
  • MRecommendations for the recommendations

For any methods that you used with MusadoraKit, you can find them in the above structures.

For example,
MusadoraKit.catalogSong is now MCatalog.song(id:). This makes the syntax more concise and easy to read. I apologize for the time it may take you to migrate to MusadoraKit 2.0. It is worth it!

Also, I spent hundreds of hours going through Apple Music APIs that Apple Music uses and found a few that you can use with MusicKit. Unfortunately, after asking Apple's DTS, they still consider it private, and you should use it at your own risk.

I have also introduced a new MRecommendation.continuousSongs(for:limit:) method where you can empower your apps with the same recommendations that powers "autoplaying" in the official Apple Music app. Enjoy!