Skip to content

Releases: wKovacs64/react-native-responsive-image-view

v3.0.0

27 Feb 05:56
8a72082
Compare
Choose a tag to compare

Major Changes

  • #239 0490d52 Thanks @wKovacs64! - Update major dev dependencies (react-native 0.78 and React 19) and refactor some internals.

    BREAKING CHANGES

    Component Import

    • The ResponsiveImageView component is now a named export instead of the default export. Migrate easily:

      -import ResponsiveImageView from 'react-native-responsive-image-view';
      +import { ResponsiveImageView } from 'react-native-responsive-image-view';

    TypeScript

    • ResponsiveImageViewProps is now a type rather than an interface (should only impact you if you were extending it)

    Features and Fixes

    • You shouldn't have to memoize the onLoad and onError callbacks anymore if you were doing so previously
    • ResponsiveImageView return type changed from React.ReactElement<ResponsiveImageViewProps> | null to React.JSX.Element | null which is more accurate
    • New UseResponsiveImageViewOptions type for hook options

v2.2.0

06 Apr 20:12
d66cab7
Compare
Choose a tag to compare

Minor Changes

  • #190 9d00c38 Thanks @wKovacs64! - Convert project to TypeScript. Removes the prop-types peer dependency.

v2.1.0

17 Jan 23:36
636a5fe
Compare
Choose a tag to compare

2.1.0 (2021-01-17)

Features

v2.0.1

07 May 02:46
1a43ee5
Compare
Choose a tag to compare

2.0.1 (2020-05-07)

Bug Fixes

  • prefer Image.resolveAssetSource over direct import (#80) (1a43ee5)

v2.0.0

14 Mar 02:20
95f9015
Compare
Choose a tag to compare

2.0.0 (2019-03-14)

Features

BREAKING CHANGES