Skip to content

Commit

Permalink
react-native-themis 0.15.2 (#1025)
Browse files Browse the repository at this point in the history
* Update iOS and Android settings

* Update minimum iOS to 12.4 because React-Native requires 12.4

* Update CHANGELOG.md

Co-authored-by: vixentael <[email protected]>

---------

Co-authored-by: vixentael <[email protected]>
  • Loading branch information
radetsky and vixentael committed Oct 3, 2023
1 parent 856e945 commit c761a83
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 16 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@

Changes that are currently in development and have not been released yet.

## [0.15.2](https://github.com/cossacklabs/themis/releases/tag/0.15.2), October 03 2023

### Android, ReactNative wrappers
Updated versions of dependencies. New minimum versions of iOS, Android are set.
- Target API level 33
- Minimum API level 21
- Minumum iOS set to 12.4 due to ReactNative requirements

## [0.15.1](https://github.com/cossacklabs/themis/releases/tag/0.15.1), September 13 2023

### Swift, Objective-C wrappers
Expand Down
2 changes: 1 addition & 1 deletion src/wrappers/themis/react-native-themis/BUILD.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ git clone https://github.com/cossacklabs/themis.git
cd themis
carthage bootstrap
./scripts/create_xcframeworks.sh
unzip -d .. src/wrappers/themis/react-native-themis/ios build/xcf_output/themis.xcframework.zip
unzip -d src/wrappers/themis/react-native-themis/ios build/xcf_output/themis.xcframework.zip
cd src/wrappers/themis/react-native-themis
yarn

13 changes: 6 additions & 7 deletions src/wrappers/themis/react-native-themis/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ def safeExtGet(prop, fallback) {
}

android {
compileSdkVersion safeExtGet('Themis_compileSdkVersion', 29)
compileSdkVersion safeExtGet('Themis_compileSdkVersion', 33)
defaultConfig {
minSdkVersion safeExtGet('Themis_minSdkVersion', 19)
targetSdkVersion safeExtGet('Themis_targetSdkVersion', 29)
minSdkVersion safeExtGet('Themis_minSdkVersion', 21)
targetSdkVersion safeExtGet('Themis_targetSdkVersion', 33)
versionCode 1
versionName "1.0"

Expand All @@ -37,8 +37,8 @@ android {
disable 'GradleCompatible'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
}

Expand All @@ -56,6 +56,5 @@ repositories {
dependencies {
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+" // From node_modules
implementation 'com.cossacklabs.com:themis:0.13.1'

implementation 'com.cossacklabs.com:themis:0.15.2'
}
14 changes: 7 additions & 7 deletions src/wrappers/themis/react-native-themis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-themis",
"version": "0.15.0",
"version": "0.15.2",
"description": "Themis React Native is a convenient cryptographic library for data protection",
"react-native": "src/index",
"source": "src/index",
Expand Down Expand Up @@ -61,8 +61,8 @@
"@react-native-community/eslint-config": "^2.0.0",
"@release-it/conventional-changelog": "^2.0.0",
"@types/jest": "^26.0.0",
"@types/react": "^16.9.19",
"@types/react-native": "0.62.13",
"@types/react": "^18.2.24",
"@types/react-native": "0.72.3",
"buffer": "^6.0.3",
"commitlint": "^11.0.0",
"eslint": "^7.2.0",
Expand All @@ -72,11 +72,11 @@
"jest": "^26.0.1",
"pod-install": "^0.1.0",
"prettier": "^2.0.5",
"react": "16.13.1",
"react-native": "0.69.4",
"react": "18.2.0",
"react-native": "0.72.5",
"react-native-builder-bob": "^0.18.0",
"release-it": "^15.3.0",
"typescript": "^4.1.3"
"release-it": "^16.2.1",
"typescript": "^5.2.2"
},
"peerDependencies": {
"buffer": "^6.0.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Pod::Spec.new do |s|
s.homepage = package["homepage"]
s.license = package["license"]
s.authors = package["author"]
s.platforms = { :ios => "10.0" }
s.platforms = { :ios => "12.4" }
s.source = { :git => "https://github.com/cossacklabs/themis.git", :tag => "#{s.version}" }

s.vendored_frameworks = 'ios/themis.xcframework'
Expand Down

0 comments on commit c761a83

Please sign in to comment.