Releases: wKovacs64/react-native-responsive-image-view
Releases · wKovacs64/react-native-responsive-image-view
v3.0.0
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
andonError
callbacks anymore if you were doing so previously ResponsiveImageView
return type changed fromReact.ReactElement<ResponsiveImageViewProps> | null
toReact.JSX.Element | null
which is more accurate- New
UseResponsiveImageViewOptions
type for hook options
-
v2.2.0
Minor Changes
- #190
9d00c38
Thanks @wKovacs64! - Convert project to TypeScript. Removes theprop-types
peer dependency.
v2.1.0
v2.0.1
v2.0.0
2.0.0 (2019-03-14)
Features
BREAKING CHANGES
[email protected]
and[email protected]
are the new minimum versions required.
Other than that, there are no migration steps necessary - your existing code will continue to work!
See https://facebook.github.io/react-native/blog/2019/03/12/releasing-react-native-059 for RN 0.59
release details. If you are unable to upgrade, you should continue using the latest 1.x release of
this library.