Skip to content

Commit b07e766

Browse files
committed
Add version 2.4.0
1 parent bfef0ba commit b07e766

File tree

6 files changed

+27
-5
lines changed

6 files changed

+27
-5
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## [2.4.0]
2+
3+
### Changed
4+
5+
* [iOS] 🚨 `LUTFilter` tile configurations are not parsed from the `lutURI` filename anymore and the default changed from a 8x8 to a 5x5 tile configuration. Please use the newly added configuration options to configure the tile layout independent of the filename.
6+
7+
### Added
8+
9+
* Added tile configuration options for `LUTFilter`.
10+
111
## [2.3.2]
212

313
### Fixed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ For older React Native versions autolinking is not available and PhotoEditor SDK
8181
}
8282
dependencies {
8383
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61"
84-
classpath 'ly.img.android.sdk:plugin:7.1.10'
84+
classpath 'ly.img.android.sdk:plugin:7.1.13'
8585
}
8686
}
8787
```
88-
In order to update PhotoEditor SDK for Android replace the version string `7.1.10` with a [newer release](https://github.com/imgly/pesdk-android-demo/releases).
88+
In order to update PhotoEditor SDK for Android replace the version string `7.1.13` with a [newer release](https://github.com/imgly/pesdk-android-demo/releases).
8989

9090
3. Configure PhotoEditor SDK for Android by opening the `android/app/build.gradle` file (**not** `android/build.gradle`) and adding the following lines under `apply plugin: "com.android.application"`:
9191
```groovy

RNPhotoEditorSDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ Pod::Spec.new do |s|
1818

1919
s.dependency 'React'
2020
s.dependency 'React-RCTImage'
21-
s.dependency 'PhotoEditorSDK', '~> 10.7'
21+
s.dependency 'PhotoEditorSDK', '~> 10.9'
2222
end

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ imglyConfig {
2020
}
2121
}
2222

23-
def MIN_LY_IMG_ANDROID_SDK_PLUGIN_VERSION = "7.1.10"
23+
def MIN_LY_IMG_ANDROID_SDK_PLUGIN_VERSION = "7.1.13"
2424

2525
task checkVersion {
2626
if (imglyConfig.convertToVersionNumber(imglyConfig.getVersion()) < imglyConfig.convertToVersionNumber(MIN_LY_IMG_ANDROID_SDK_PLUGIN_VERSION)) {

configuration.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,6 +1182,18 @@ export type Filter = LUTFilter | DuoToneFilter;
11821182
export interface LUTFilter extends NamedItem {
11831183
/** A URI for the look up table (LUT) image. */
11841184
lutURI: AssetURI;
1185+
/**
1186+
* The number of horizontal tiles in the LUT image.
1187+
* @example // Defaults to:
1188+
* 5
1189+
*/
1190+
horizontalTileCount?: number;
1191+
/**
1192+
* The number of vertical tiles in the LUT image.
1193+
* @example // Defaults to:
1194+
* 5
1195+
*/
1196+
verticalTileCount?: number;
11851197
}
11861198

11871199
/** A duotone image filter. */

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-photoeditorsdk",
33
"title": "React Native module for PhotoEditor SDK",
4-
"version": "2.3.2",
4+
"version": "2.4.0",
55
"description": "A React Native module for PhotoEditor SDK. Integrate the photo editor into your own HTML5, iOS or Android app - in minutes!",
66
"main": "index.js",
77
"typings": "index.d.ts",

0 commit comments

Comments
 (0)