From 7e56393c892f162c1d9c050c4a38d1b72b0c288a Mon Sep 17 00:00:00 2001 From: xerdnu Date: Tue, 31 Oct 2023 12:35:39 +0100 Subject: [PATCH] Patch v0.0.11 --- CHANGELOG.md | 8 ++++++++ android/src/main/AndroidManifest.xml | 2 +- .../main/java/com/reactlibrary/BlastedImageModule.java | 2 +- .../main/java/com/reactlibrary/BlastedImagePackage.java | 2 +- .../main/java/com/reactlibrary/BlastedViewManager.java | 2 +- index.js | 4 ++-- package.json | 2 +- 7 files changed, 15 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b34fc99..f97d89c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [0.0.11] (2023-10-31) + +#### Changes + +- Changed package name. +- Minor changes in JS code regarding logging. + ## [0.0.10] (2023-10-24) #### Improvements @@ -91,6 +98,7 @@ - Initial release. +[0.0.11]: https://github.com/xerdnu/react-native-blasted-image/compare/v0.0.10...v0.0.11 [0.0.10]: https://github.com/xerdnu/react-native-blasted-image/compare/v0.0.9...v0.0.10 [0.0.9]: https://github.com/xerdnu/react-native-blasted-image/compare/v0.0.8...v0.0.9 [0.0.8]: https://github.com/xerdnu/react-native-blasted-image/compare/v0.0.7...v0.0.8 diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index 41a92ab..224ad8e 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="com.xerdnu.blastedimage"> \ No newline at end of file diff --git a/android/src/main/java/com/reactlibrary/BlastedImageModule.java b/android/src/main/java/com/reactlibrary/BlastedImageModule.java index 730da5f..9575a7c 100644 --- a/android/src/main/java/com/reactlibrary/BlastedImageModule.java +++ b/android/src/main/java/com/reactlibrary/BlastedImageModule.java @@ -1,4 +1,4 @@ -package com.reactlibrary; +package com.xerdnu.blastedimage; import androidx.annotation.NonNull; import androidx.annotation.Nullable; diff --git a/android/src/main/java/com/reactlibrary/BlastedImagePackage.java b/android/src/main/java/com/reactlibrary/BlastedImagePackage.java index 0730fbd..9f37942 100644 --- a/android/src/main/java/com/reactlibrary/BlastedImagePackage.java +++ b/android/src/main/java/com/reactlibrary/BlastedImagePackage.java @@ -1,4 +1,4 @@ -package com.reactlibrary; +package com.xerdnu.blastedimage; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.NativeModule; diff --git a/android/src/main/java/com/reactlibrary/BlastedViewManager.java b/android/src/main/java/com/reactlibrary/BlastedViewManager.java index ee476d1..b0d8332 100644 --- a/android/src/main/java/com/reactlibrary/BlastedViewManager.java +++ b/android/src/main/java/com/reactlibrary/BlastedViewManager.java @@ -1,4 +1,4 @@ -package com.reactlibrary; +package com.xerdnu.blastedimage; import com.bumptech.glide.Glide; import com.facebook.react.uimanager.SimpleViewManager; diff --git a/index.js b/index.js index 1a27875..4c314d1 100644 --- a/index.js +++ b/index.js @@ -81,12 +81,12 @@ const BlastedImage = ({ source, width, height, style, resizeMode, isBackground, } = remainingStyle; if (typeof width === 'string' && width.includes('%')) { - console.log("Percentage-based width is not yet supported in BlastedImage. Please open an issue on github if you have a need for this."); + console.log("For maximum performance, BlastedImage does not support width defined as a percentage"); return; } if (typeof height === 'string' && height.includes('%')) { - console.log("Percentage-based height is not yet supported in BlastedImage. Please open an issue on github if you have a need for this."); + console.log("For maximum performance, BlastedImage does not support height defined as a percentage"); return; } diff --git a/package.json b/package.json index 9f37c4a..890dac8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-blasted-image", - "version": "0.0.10", + "version": "0.0.11", "description": "A simple yet powerful image component for React Native, powered by Glide and SDWebImage", "main": "index.js", "scripts": {