From 14a21e999f491ef21e101400dc5881819c3a0e87 Mon Sep 17 00:00:00 2001 From: Alex Fernandez Date: Mon, 12 Jan 2026 16:48:31 -0500 Subject: [PATCH 1/3] bump dart to 3.7 so we can upgrade extended_image to ^10 --- CHANGELOG.md | 4 ++++ example/ios/Podfile.lock | 2 +- pubspec.yaml | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0001790..c03cb80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.0 +- chore: bump minimum Dart SDK version to 3.7 +- chore: bump `extended_image` to `^10.0.1` + ## 0.1.2 - fix: the endless loop can still happen if you switch between tabs quickly and time it perfectly while still loading gifs. diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index aa84219..7936eef 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -22,7 +22,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467 flutter_config: f48f0d47a284f1791aacce2687eabb3309ba7a41 - path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46 + path_provider_foundation: 0b743cbb62d8e47eab856f09262bb8c1ddcfe6ba PODFILE CHECKSUM: 4f1c12611da7338d21589c0b2ecd6bd20b109694 diff --git a/pubspec.yaml b/pubspec.yaml index ab110d6..61e62a8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -8,14 +8,14 @@ topics: - tenor environment: - sdk: ">=2.17.0 <4.0.0" + sdk: ">=3.7.0 <4.0.0" dependencies: flutter: sdk: flutter provider: ^6.1.2 flutter_staggered_grid_view: ^0.7.0 - extended_image: ^8.3.1 + extended_image: ^10.0.1 tenor_dart: ^0.0.4 dev_dependencies: From ef86be2ea7ba1747ae3b12ac9d4587fee917ce22 Mon Sep 17 00:00:00 2001 From: Alex Fernandez Date: Mon, 12 Jan 2026 17:27:26 -0500 Subject: [PATCH 2/3] set provider to the latest version --- CHANGELOG.md | 1 + lib/src/components/selectable_gif.dart | 15 ++------------- pubspec.yaml | 2 +- 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c03cb80..479bf76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## 1.0.0 - chore: bump minimum Dart SDK version to 3.7 - chore: bump `extended_image` to `^10.0.1` +- chore: bump `provider` to `^6.1.5+1` ## 0.1.2 diff --git a/lib/src/components/selectable_gif.dart b/lib/src/components/selectable_gif.dart index 4cc759e..44bce1d 100644 --- a/lib/src/components/selectable_gif.dart +++ b/lib/src/components/selectable_gif.dart @@ -34,9 +34,7 @@ class TenorSelectableGif extends StatelessWidget { case LoadState.loading: return AspectRatio( aspectRatio: mediaObject.dimensions.aspectRatio, - child: Container( - color: backgroundColor, - ), + child: Container(color: backgroundColor), ); case LoadState.completed: return AspectRatio( @@ -49,16 +47,7 @@ class TenorSelectableGif extends StatelessWidget { case LoadState.failed: return AspectRatio( aspectRatio: mediaObject.dimensions.aspectRatio, - child: Container( - color: backgroundColor, - ), - ); - default: - return AspectRatio( - aspectRatio: mediaObject.dimensions.aspectRatio, - child: Container( - color: backgroundColor, - ), + child: Container(color: backgroundColor), ); } }, diff --git a/pubspec.yaml b/pubspec.yaml index 61e62a8..d0a1b75 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -13,7 +13,7 @@ environment: dependencies: flutter: sdk: flutter - provider: ^6.1.2 + provider: ^6.1.5+1 flutter_staggered_grid_view: ^0.7.0 extended_image: ^10.0.1 tenor_dart: ^0.0.4 From 206d2082330bdaa550a8cc3560298d39424375c5 Mon Sep 17 00:00:00 2001 From: Alex Fernandez Date: Mon, 12 Jan 2026 17:31:39 -0500 Subject: [PATCH 3/3] update version in pubspec --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index d0a1b75..07335b3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: tenor_flutter -version: 0.1.2 +version: 1.0.0 description: An opinionated yet customizable Flutter package for searching and selecting from a list of GIFs/Stickers from the Tenor GIF search API. homepage: https://github.com/flyclops repository: https://github.com/flyclops/tenor_flutter