Releases: rryam/MusadoraKit
Version 1.7.2
Add recommendationAlbums and recommendationPlaylists
Version 1.7.1
Add recentlyPlayedAlbums and recentlyPlayedPlaylists
Version 1.7.0
Added methods for easily accessing all additional properties of a music item.
For example,
let song = try await MusadoraKit.catalogSong(id: id)
will also fetch the additional properties - [.albums, .artists, .composers, .genres, .musicVideos, .artistURL, .station, .audioVariants]
.
This way, you do not have to make two network calls. However, note that this is slower than fetching just the basic properties of a Song
.
Make sure you are using the method where there is no with
parameter.
Version 1.6.1
New in this version:
- Remove
includeTopResults
as it is not annotated with @available(iOS 16) in the latest Xcode 14 beta.
Version 1.6.0
New in this release:
- Methods for working with search in iOS 16+
Version 1.5.0
⛔️ Breaking changes:
The initializer of MusicAddResourcesRequest
is an array of tuple now instead of a dictionary.
Also, there are handy methods to add items to the user's music library:
let _ = try await MusadoraKit.addAlbumToLibrary(id: id)
Enjoy! 🎉
Version 1.4
New features from iOS 16 and MusicKit 2.0 like catalogue charts and music item count from the library!
Version 1.3.3
New in this release:
Add catalog top charts genre. Use it to fetch all genres for the current top charts.
let genres = try await MusadoraKit.catalogTopChartsGenres()
print(genres) // <-- MusicItemCollection<Genre>
Version 1.3.2
Update MusicDataDeleteRequest, MusicDataPostRequest, and MusicDataPutRequest
Version 1.3.1
Refactor the code for catalog computed property, more safer to use now.