diff --git a/.github/workflows/platform_web.yaml b/.github/workflows/platform_web.yaml index 10831716..687c73a8 100644 --- a/.github/workflows/platform_web.yaml +++ b/.github/workflows/platform_web.yaml @@ -10,12 +10,12 @@ on: - "web-v[0-9]+.[0-9]+.[0-9]+*" branches: [develop, main] paths: - - "cached_network_image_platform_web/**" + - "cached_network_image_web/**" - ".github/workflows/platform_web.yaml" pull_request: branches: [develop] paths: - - "cached_network_image_platform_web/**" + - "cached_network_image_web/**" - ".github/workflows/platform_web.yaml" # A workflow run is made up of one or more jobs that can run sequentially or in parallel @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest env: - source-directory: ./cached_network_image_platform_web + source-directory: ./cached_network_image_web # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -59,7 +59,7 @@ jobs: runs-on: ubuntu-latest env: - source-directory: ./cached_network_image_platform_web + source-directory: ./cached_network_image_web # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -90,7 +90,7 @@ jobs: runs-on: ubuntu-latest env: - source-directory: ./cached_network_image_platform_web + source-directory: ./cached_network_image_web # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -134,7 +134,7 @@ jobs: runs-on: ubuntu-latest env: - source-directory: ./cached_network_image_platform_web + source-directory: ./cached_network_image_web # Steps represent a sequence of tasks that will be executed as part of the job steps: diff --git a/cached_network_image/CHANGELOG.md b/cached_network_image/CHANGELOG.md index c7b6156e..21f8e6c5 100644 --- a/cached_network_image/CHANGELOG.md +++ b/cached_network_image/CHANGELOG.md @@ -1,54 +1,75 @@ -## [3.3.2] - 2024-04-10 +## [3.4.0] - 2024-04-10 + * Change how errors are reported by ImageLoader. Emitting errors as streams instead of re-throwing. +* Improved debug console messages +* Update dependencies +* added static field defaultCacheManager to CachedNetworkImageProvider +* Expose scale of CachedNetworkImageProvider on CachedNetworkImage ## [3.3.1] - 2023-12-31 + * Adding an errorListener prevents automatic reporting to global error handler. ## [3.3.0] - 2023-09-25 + * Add error to ErrorListener * Update to Dart 3 * Remove [`load`](https://github.com/flutter/flutter/pull/132679), use `loadImage` instead `loadBuffer` Minor code clean-ups: + * Add topics in pubspec * Specify types * Update example ## [3.2.3] - 2022-11-25 + * Correctly dispose image stream handler ## [3.2.2] - 2022-08-31 + * loadBuffer is added and used instead of load ## [3.2.1] - 2022-05-16 + * Update to Flutter 3 ## [3.2.0] - 2021-11-29 + * Add option to set the log level of the cache manager, for example: + ```dart CachedNetworkImage.logLevel = CacheManagerLogLevel.debug; ``` + * Update cache manager dependency. ## [3.1.0+1] - 2021-11-04 + * Update Readme ## [3.1.0] - 2021-07-16 + * Separate Web and IO implementations ## [3.0.0] - 2021-03-27 + * Migrate to null safety * Fix "Cannot clone a disposed image" error * Update dependencies. ## [3.0.0-nullsafety] - 2021-01-02 + * Migrate to null safety - + ## [2.5.1] - 2021-03-09 + * Update dependencies ## [2.5.0] - 2020-12-22 + * Add support for resizing images in disk cache. + ```dart CachedNetworkImage( maxHeightDiskCache: 200, @@ -57,73 +78,92 @@ CachedNetworkImage( ``` ## [2.4.1] - 2020-12-01 + * Fix a bug that an image is disposed when it shouldn't. ## [2.4.0] - 2020-11-30 + * Added support for a cache key which is different from the image url. ## [2.3.3] - 2020-10-16 + * Support for flutter_cache_manager 2.x.x. ## [2.3.2] - 2020-09-10 + * Fixed placeholders and error widgets, those are not always centered anymore. * Evict an image from ImageCache if image fails to load. * Added method to evict an image from memory and disk cache. ## [2.3.1] - 2020-08-25 + * Fixed fading when the image has no placeholder or progress indicator. ## [2.3.0] - 2020-08-25 + * Improved image loading by using OctoImage. OctoImage uses the native callbacks of the ImageProvider instead of loading the file when the ImageWidget is build the first time. * Set minimal Flutter version to 1.20.0; first compatible stable version. * Added choice for rendering of images on web. Defaults to standard HTML ImageElement, but gives the option to use a custom HTTP Get for headers and skia support. -* Use a MultiImageStreamCompleter for when an image that is available in the cache is updated. +* Use a MultiImageStreamCompleter for when an image that is available in the cache is updated. ## [2.3.0-rc] - 2020-06-20 + * Added choice for rendering of images on web. Defaults to standard HTML ImageElement, but gives the option to use a custom HTTP Get for headers and skia support. -* Use a MultiImageStreamCompleter for when an image that is available in the cache is updated. +* Use a MultiImageStreamCompleter for when an image that is available in the cache is updated. * Increase minimal version of Flutter to 1.19.0-2.0.pre (currently requires Beta) due to an error listener bug. ## [2.3.0-beta.1] - 2020-05-28 + * Improved web support: support for headers and skia. ## [2.3.0-beta] - 2020-05-20 + * Rewrote image widget by using OctoImage. ## [2.2.0+1] - 2020-05-05 + * Fix ImageProvider not using provided headers. ## [2.2.0] - 2020-04-30 + * Upgrades on CachedNetworkImageProvider: - * Support for download progress. - * Basic web support (no caching). + * Support for download progress. + * Basic web support (no caching). ## [2.1.0+1] - 2020-04-10 + * Update minimal Dart sdk version ## [2.1.0] - 2020-04-10 + * Update CacheManager * Added option for progress indicator ## [2.0.0] - 2019-12-31 + * Public release of 2.0 version ## [2.0.0-rc.1] - 2019-11-04 + * Revert scaling of image due to issues with BoxFit. ## [2.0.0-rc] - 2019-10-17 + * BREAKING CHANGE: Compatibility for [breaking change in Flutter 1.10.15](https://groups.google.com/forum/#!topic/flutter-announce/lUKzLAd8OG8) ## [1.1.3] - 2019-11-04 + * Revert scaling of image due to issues with BoxFit. ## [1.1.2+1] - 2019-10-17 + * Fix for widgets declared with infinite size. ## [1.1.2] - 2019-10-16 + * Add filterQuality property. * Scale image to size when showing in widget. * Better error handling. @@ -131,6 +171,7 @@ CachedNetworkImage( * Update cache manager to 1.1.2. ## [1.1.1] - 2019-07-23 + * Updated cache manager for error handling fix ## [1.1.0] - 2019-07-13 @@ -141,24 +182,30 @@ CachedNetworkImage( * Added extra example to show the imageBuilder ## [1.0.0] - 2019-06-27 + * Updated dependencies ## [0.8.0] - 2019-05-06 + * Fixed compile error on informationCollector by temporarily disabling it. ## [0.7.0] - 2019-03-06 + * BREAKING CHANGE: Renamed ErrorWidgetBuilder to LoadingErrorWidgetBuilder * LoadingErrorWidgetBuilder returns an Object instead of an Exception * Fixed BoxFit to also work when size is not defined ## [0.6.2] - 2019-02-27 + * Added option to blend image with color * Added option in CacheManager to clear the cache ## [0.6.1] - 2019-02-25 BREAKING CHANGES + * No longer assume infinite size. ## [0.6.0] - 2019-02-18 BREAKING CHANGES + * Breaking changes in API and behaviour * Very much improved though * Adapted for new cache manager library @@ -167,26 +214,33 @@ CachedNetworkImage( * Added optional builder to customize the image ## [0.5.1] - 2018-11-19 + * Fixed error throwing ## [0.5.0] - 2018-10-13 + * Updated cache manager for http 0.12.0 ## [0.4.2] - 2018-08-30 + * Updated cache manager dependency ## [0.4.1] - 2018-04-27 + * Improved error handling when a file could not be loaded. ## [0.4.0] - 2018-04-14 + * Added optional headers. * Changed to Dart 2.0 * Fixed bug when updating widget with new url ## [0.3.0] - 2018-02-09 + * Added CachedNetworkImage with placeholder and error widgets. ## [0.2.1] - 2018-01-08 + * Moved from OneFrameImageStreamCompleter to MultiFrameImageStreamCompleter. * Updated CacheManager dependency for critical bug fix. @@ -203,7 +257,9 @@ CachedNetworkImage( [here](https://github.com/flutter/flutter/wiki/Updating-Flutter-projects-to-Gradle-4.1-and-Android-Studio-Gradle-plugin-3.0.1). ## [0.0.2] - 10 December 2017 + Added an ImageProvider and improved documentation ## [0.0.1] - 2 December 2017 + Initial release, should be polished diff --git a/cached_network_image/pubspec.yaml b/cached_network_image/pubspec.yaml index 1a5fc2c5..bde34a07 100644 --- a/cached_network_image/pubspec.yaml +++ b/cached_network_image/pubspec.yaml @@ -6,18 +6,18 @@ topics: - cache - image - network-image -version: 3.3.2 +version: 3.4.0 environment: sdk: ^3.0.0 flutter: '>=3.10.0' dependencies: - cached_network_image_platform_interface: ^4.0.0 - cached_network_image_web: ^1.2.0 + cached_network_image_platform_interface: ^4.1.0 + cached_network_image_web: ^1.3.0 flutter: sdk: flutter flutter_cache_manager: ^3.4.0 - octo_image: ^2.0.0 + octo_image: ^2.1.0 dev_dependencies: file: '>=7.0.0 <8.0.0' diff --git a/cached_network_image_platform_interface/CHANGELOG.md b/cached_network_image_platform_interface/CHANGELOG.md index 3b5acf52..f904ba43 100644 --- a/cached_network_image_platform_interface/CHANGELOG.md +++ b/cached_network_image_platform_interface/CHANGELOG.md @@ -1,13 +1,22 @@ +## [4.1.0] - 2023-12-31 + +* Update dependencies +* Update SDK version to 3.0.0 + ## [4.0.0] - 2023-12-31 + * Removed errorListener from ImageLoader interface ## [3.0.0] - 2023-09-25 + * Add error to ErrorListener * Specify types * Remove [`load`](https://github.com/flutter/flutter/pull/132679), use `loadImage` instead `loadBuffer` ## [2.0.0] - 2022-08-31 + * Added loadBufferAsync for Flutter 3.3 ## [1.0.0] - 2021-07-16 + * Initial release diff --git a/cached_network_image_web/CHANGELOG.md b/cached_network_image_web/CHANGELOG.md index 5437ac55..a36515ac 100644 --- a/cached_network_image_web/CHANGELOG.md +++ b/cached_network_image_web/CHANGELOG.md @@ -1,20 +1,31 @@ -## [1.2.0] - 2024-04-29 +## [1.3.0] - 2024-08-01 + +* Update dependencies +* Update SDK version to 3.0.0 + +## [1.2.0] - 2024-04-29 + * Replace deprecated `webOnlyInstantiateImageCodecFromUrl` to `createImageCodecFromUrl` from `dart:ui_web` ## [1.1.1] - 2023-12-31 + * Removed errorListener from ImageLoader interface ## [1.1.0] - 2023-09-25 + * Add error to ErrorListener * Specify types * Update example * Remove [`load`](https://github.com/flutter/flutter/pull/132679), use `loadImage` instead `loadBuffer` ## [1.0.2] - 2022-08-31 + * Added loadBufferAsync and deprecated loadAsync ## [1.0.1] - 2021-08-02 + * Bug: fixed CORS issues in HTML image version. ## [1.0.0] - 2021-07-16 + * Initial release