Skip to content

Releases: LucJosin/on_audio_query

2.5.1

19 Oct 16:52
Compare
Choose a tag to compare

Fixes

Dart

  • [Fixed] wrong value returning from [artistId] when using [AlbumModel]. - #54

Android

  • [Fixed] missing songs from [queryAudiosFrom] when using GENRE. - #46

Documentation

  • Updated README documentation.

⚠ Important Changes

Dart

  • Now [artistId] from [AlbumModel] return a [int].

2.5.0

16 Oct 00:06
cffc616
Compare
Choose a tag to compare

Release

  • [2.5.0] release.

Features

Dart

  • [Added] errorBuilder and frameBuilder to [QueryArtworkWidget].

Fixes

Web

  • [Fixed] empty result when using [querySongs].
  • [Fixed] error when decoding some images.

See all development changes:

2.4.2

01 Oct 13:56
Compare
Choose a tag to compare

Fixes

IOS

  • [Fixed] no artwork returning from [queryArtwork] when using ArtworkType.ALBUM. - #45

Documentation

  • Updated README documentation.

2.4.1

29 Sep 22:13
e944991
Compare
Choose a tag to compare

Fixes

Dart

  • [Fixed] wrong type of numOfSongs from [SongModel]. - #39

IOS

  • [Fixed] wrong filter configuration when using [queryWithFilters].
  • [Fixed] crash when using any 'query' method with a null sortType. - #43
  • [Fixed] error with wrong [MPMediaQuery] filter. - #38

2.4.0

28 Sep 22:49
Compare
Choose a tag to compare

Features

Android

  • [Added] a better 'search' method to [queryWithFilters], now the query uses 'contains' when 'querying'. - #35

Fixes

IOS

  • [Fixed] error with wrong [MPMediaQuery] type and wrong value from [jpegData]. - #37

Documentation

  • Updated broken README links. - #36

Documentation

  • Updated README documentation.

2.3.1

27 Sep 16:52
dda1662
Compare
Choose a tag to compare

Features

Android/Web

  • [Added] [ignoreCase] to:
    • [querySongs].
    • [queryAlbums].
    • [queryArtists].
    • [queryPlaylists].
    • [queryGenres].

Fixes

Android

  • [Fixed] error when trying to build using Android. - #32 & #33
  • [Fixed] error related to android song projection. - #31
  • [Fixed] 'bug' when using SongSortType.TITLE. This is now a 'feature' and can be controlled using [ignoreCase]. - #29

Documentation

  • Updated README documentation.

Changes

Android

  • Updated [Kotlin] and [Dependencies] versions.
  • Moved from [JCenter] to [MavenCentral].

2.3.0

25 Sep 17:47
0265015
Compare
Choose a tag to compare

Features

Android/IOS/Web

  • [Added] [numOfSongs] to [PlaylistModel] and [GenreModel].
  • [Added] Playlist and Artist to ArtworkType.

Android/IOS

  • [Added] quality to queryArtwork.

Android

  • [Added] [isAudioBook], [Genre] and [GenreId] to [SongModel].
  • Re-[Added] to [SongModel]:
    • [isAlarm].
    • [isMusic].
    • [isNotification].
    • [isPodcast].
    • [isRingtone].

Fixes

Android

  • [Fixed] wrong value returning from [id] when using [ArtistModel].
  • [Fixed] wrong value returning from [id] when using [GenreModel].
  • [Fixed] no value returning from [queryAudiosFrom] when using ARTIST_ID.

Documentation

  • Updated README documentation.
  • Updated OnAudioQuery and OnAudioQueryExample documentation to support new [Flutter 2.5].

Changes

  • [Changed] wrong name DATA_ADDED to DATE_ADDED for both [SongSortType] and [PlaylistSortType]. - #27

⚠ Important Changes

Dart

  • The parameter args from [queryWithFilters] is no longer required.

@.Deprecated

  • [DEFAULT] from [SongSortType].
  • [DEFAULT] from [PlaylistSortType].
  • [DEFAULT] from [ArtistSortType].
  • [DEFAULT] from [AlbumSortType].
  • [DEFAULT] from [GenreSortType].
  • [ARTIST_KEY] from [ArtistSortType].
  • [ARTIST_NAME] from [ArtistSortType].
  • [ALBUM_NAME] from [AlbumSortType].
  • [GENRE_NAME] from [GenreSortType].
  • [DATA_ADDED] from [SongSortType].
  • [DATA_ADDED] from [PlaylistSortType].

2.2.0

25 Aug 13:36
Compare
Choose a tag to compare

Features

IOS

  • Added a filter to avoid cloud audios/songs.

Fixes

IOS

  • [Fixed] wrong value returning from [permissionsStatus]. - #24

Documentation

  • Updated README documentation.

2.1.2

24 Aug 13:34
Compare
Choose a tag to compare

Fixes

Android

  • Fixed duplicate media from [queryWithFilters].
  • Fixed crash when calling [queryWithFilters]. - Fixed #23
  • Fixed null artwork returning from [queryArtwork] on Android 11/R. - Fixed #21

Documentation

  • Updated README documentation.
  • Updated pubspec documentation.

2.1.1

24 Aug 00:23
Compare
Choose a tag to compare

Fixes

Android

  • Fixed error when using [removeFromPlaylist]. - Fixed #22

Documentation

  • Updated README documentation.
  • Updated [OnAudioQueryExample] to support [Web] platform.