Skip to content

Releases: oblador/react-native-image-progress

1.2.0

02 Jan 13:27
Compare
Choose a tag to compare
  • Added TypeScript definitions
  • Fix premature style re-render
  • Fix imageStyle prop type

1.1.1

30 May 21:34
e82dce2
Compare
Choose a tag to compare
  • Migrated to getDerivedStateFromProps to fix warnings.
  • Fixed error state being cleared by onLoadEnd with FastImage. #76

1.1.0

24 Feb 22:40
Compare
Choose a tag to compare
  • Add imageStyle prop by @rgabs
  • Fix children warnings for static images by @shuaibird
  • Fix progress indicator not removed for static images when using FastImage by @PizzaLiu
  • Expose measure method to the underlying Image by @kamal

1.0.1

05 Jul 19:51
Compare
Choose a tag to compare
  • Fixes regression where width and height styles would be ignored for static assets.

1.0.0

03 Jul 21:12
Compare
Choose a tag to compare
  • Breaking: Children are now always rendered, even during loading.
  • Potentially breaking: Fixes deprecation warnings added in React Native 0.43-0.45.
  • Adds support for custom error messages or image fallbacks using the renderError prop.
  • Adds support for custom image components via createImageProgress.
  • Fixes a bug where the indicator will sometimes continue spinning even when the image fails to load.
  • Expose static getSize & prefetch functions from Image.

0.6.0

25 Jul 13:21
Compare
Choose a tag to compare
  • Refactors to use unified ActivityIndicator component.

0.5.0

24 May 22:55
Compare
Choose a tag to compare
  • Separates React and React Native imports as required by React Native 0.26.
  • ProgressBarAndroid is now default indicator on Android.
  • No more peerDependencies.
  • Breaking change: Project refactored to ES2016, if importing subcomponents with require consider using import instead or something like require('react-native-progress/Bar').default.

0.4.0

02 Nov 13:39
Compare
Choose a tag to compare

Breaking changes

  • Progress indicators have been externalized to the react-native-progress module.
  • Progress indicator props are now passed as an object on the indicatorProps prop.
  • color and background color props are now deprecated.

Other changes:

  • Loading now has an indeterminate state when image is loading but no data has been received.
  • Added threshold prop to remove flashing of loading indicator when images are cached.
  • Removed lodash dependency.

0.3.1

25 Oct 23:59
Compare
Choose a tag to compare
  • Fixes a bug where loading indicator would be shown even if the image is already in the image cache.
  • Only requires the few parts of lodash this module actually uses, which reduces bundle size/memory usage.

0.3.0

15 Oct 15:40
Compare
Choose a tag to compare

Breaking changes:

  • Dropped React Native 0.8 support.
  • Passing indicator color as a style no longer works, use attribute instead.
  • Color is no longer passed to the renderIndicator function.

Other changes:

  • Better support for React Native 0.12+
  • Doesn't show indicators on platforms that doesn't support underlying onLoad* events (Android in other words).