release version 2.0.0

This commit is contained in:
Wenqi Li 2023-05-15 01:41:15 +08:00
parent e708c0a964
commit 615c7e7cdc
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,14 @@
## 2.0.0
*Breaking changes:
• Move "newest" parameter from "listMedia" to "listAlbums" API
• Move "newest" property from "MediaPage" to "Media"
• Add "newest" parameter of getAlbumThumbnail API
• Update to "album" parameter of AlbumThumbnailProvider
• Update "mediumType" to be optional parameter of "listAlbums" to allow fetch both type of media
• Remove unnecessary "total" parameter of "listMedia" API
• Remove unnecessary "total" property of "MediaPage", use "total" of "Album" instead.
## 1.2.2 ## 1.2.2
Upgrade deprecated code. Upgrade deprecated code.

View File

@ -1,6 +1,6 @@
name: photo_gallery name: photo_gallery
description: A Flutter plugin that retrieves images and videos from mobile native gallery. description: A Flutter plugin that retrieves images and videos from mobile native gallery.
version: 1.2.2 version: 2.0.0
repository: https://github.com/Firelands128/photo_gallery repository: https://github.com/Firelands128/photo_gallery
environment: environment: