Skip to content

Commit 8a72082

Browse files
chore: release (#241)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent abf7e52 commit 8a72082

File tree

4 files changed

+30
-29
lines changed

4 files changed

+30
-29
lines changed

.changeset/quick-cats-move.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# Change Log
22

3+
## 3.0.0
4+
5+
### Major Changes
6+
7+
- [#239](https://github.com/wKovacs64/react-native-responsive-image-view/pull/239) [`0490d52`](https://github.com/wKovacs64/react-native-responsive-image-view/commit/0490d5287bad2743f86193eda7ad18717f03db66) Thanks [@wKovacs64](https://github.com/wKovacs64)! - Update major dev dependencies (react-native 0.78 and React 19) and refactor some internals.
8+
9+
### BREAKING CHANGES
10+
11+
#### Component Import
12+
13+
- The `ResponsiveImageView` component is now a named export instead of the default export. Migrate easily:
14+
15+
```diff
16+
-import ResponsiveImageView from 'react-native-responsive-image-view';
17+
+import { ResponsiveImageView } from 'react-native-responsive-image-view';
18+
```
19+
20+
#### TypeScript
21+
22+
- `ResponsiveImageViewProps` is now a type rather than an interface (should only impact you if you were extending it)
23+
24+
### Features and Fixes
25+
26+
- You shouldn't have to memoize the `onLoad` and `onError` callbacks anymore if you were doing so previously
27+
- `ResponsiveImageView` return type changed from `React.ReactElement<ResponsiveImageViewProps> | null` to `React.JSX.Element | null` which is more accurate
28+
- New `UseResponsiveImageViewOptions` type for hook options
29+
330
## 2.2.0
431

532
### Minor Changes

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-responsive-image-view",
3-
"version": "2.2.0",
3+
"version": "3.0.0",
44
"description": "React Native component for scaling an Image within the parent View",
55
"keywords": [
66
"react",

0 commit comments

Comments
 (0)