Skip to content

Releases: Zastai/MetaBrainz.ListenBrainz

4.0.0

01 Jan 14:57
Compare
Choose a tag to compare

This version targets net6.0 and net8.0 only.

💥 Breaking Changes

⚠️ Deprecated

🚀 New Features and Improvements

  • Allow HTTP client specification for ListenBrainz (#51) @Zastai
  • Update the mappings to match current API results (#50) @Zastai
  • Use a trace source for debug output (#45) @Zastai
  • Refresh the package icon (#42) @Zastai
  • Update the build SDK to version 3.1.0 (#38) @Zastai
  • Async improvements (#33) @Zastai

🐛 Bug Fixes

📦 Dependency Updates

📝 Documentation Updates

👻 Maintenance

3.0.0

18 Nov 21:27
Compare
Choose a tag to compare

Please note that the package license has been changed from MS-PL to MIT.

💥 Breaking Changes

  • Update the site artists stats endpoint (#23) @Zastai
    • This changes the types returned by GetArtistStatistics()
    • Changed interfaces: ISiteArtistStatistics and IUserArtistStatistics
    • New interface: IArtistStatistics
    • Removed interface: IArtistTimeRange
  • Update the SDK to version 2.1.1 (#20) @Zastai
    • The assembly is no longer marked as CLSCompliant
    • This changes the target frameworks to net6.0, netstandard2.1, netstandard2.0 and net48.

🚀 New Features and Improvements

🐛 Bug Fixes

  • Fix JSON serialization for submissions (#25) @Zastai
    • The payload was being truncated, resulting in a submission error
  • Add MBID mapping support (#22) @Zastai

📦 Dependency Updates

  • Update the SDK to version 2.1.1 (#20) @Zastai
    • MetaBrainz.Common.Json → 5.0.0
    • System.Text.Json → 6.0.0
    • MetaBrainz.Build.Sdk → 2.1.1

👻 Maintenance

2.1.0

13 Nov 19:21
Compare
Choose a tag to compare

I forgot to publish this as a release, so this will be shown as having been released a week later

v2.1.0 (2021-11-06)

API Additions

  • Method: ListenBrainz.GetListensBetween()
  • Method: ListenBrainz.GetListensBetweenAsync()

2.0.0

27 Apr 20:44
Compare
Choose a tag to compare

v2.0.0 (2020-04-27)

This release contains a completely rewritten JSON backend, using custom converters.
There are also some breaking API changes (hence the major version bump).

API Additions

  • Interface: IPlayingNow
  • Interface: IPlayingTrack
  • Interface: IRecentListens
  • Property: IAdditionalInfo.ImportedArtistId
  • Property: IAdditionalInfo.ImportedReleaseId

API Removals

  • IFetchedListens:
    • this was being used for 3 distinct use cases, two of which have now been split out to separate interfaces: IPlayingNow
      (returned by ListenBrainz.GetPlayingNow()) and IRecentListens (returned by ListenBrainz.GetRecentListens())
    • as a result, the Count, PlayingNow and UserList properties were removed
  • UnixTime.Converter was dropped

API Changes

  • IAdditionalInfo:
    • the AllFields property is no longer nullable, but its contained values are now nullable
    • the elements in the list properties (ArtistIds, ArtistNames, ReleaseArtistNames, SpotifyAlbumArtistIds, SpotifyArtistIds, Tags and WorkIds) are now nullable
  • IFetchedListens:
    • none of the properties are nullable now
  • IListen:
    • none of the properties are nullable now
  • ITrackInfo:
    • the AdditionalInfo, Artist and Name properties are no longer nullable
  • ListenBrainz.GetListens() and ListenBrainz.GetListensAsync():
    • the overloads taking after and before parameters were dropped
      • they were a bit clunky in use, plus using both is not currently supported by the server API
    • instead, new companion methods were added:
      • ListenBrainz.GetListensAfter() and ListenBrainz.GetListensAfterAsync()
      • ListenBrainz.GetListensBefore() and ListenBrainz.GetListensBeforeAsync()
      • once LB-518 is fixed, a future release will also provide
        ListenBrainz.GetListensBetween() and ListenBrainz.GetListensBetweenAsync()
  • ListenBrainz.GetPlayingNow() and ListenBrainz.GetPlayingNowAsync() now return an IPlayingNow object
  • ListenBrainz.GetRecentListens() and ListenBrainz.GetRecentListensAsync() now return an IRecentListens object

Other Changes

  • a build issue that prevented the API documentation from being included in the package has been resolved

Dependency Updates

  • JetBrainz.Annotations → 2020.1.0
  • MetaBrainz.Common.Json → 3.0.0
  • System.Text.Json → 4.7.1

1.0

04 Apr 10:13
Compare
Choose a tag to compare
1.0
v1.0.0

Tagged release version 1.0.0.