Skip to content

Commit 96fb734

Browse files
committed
Merge branch 'main' into fix/add-transaction-locks
2 parents 9ec4284 + 20914c5 commit 96fb734

File tree

31 files changed

+1690
-1048
lines changed

31 files changed

+1690
-1048
lines changed

.github/workflows/build-android-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55
types: [published]
66

77
jobs:
8-
build_release:
9-
name: Build Android Example App (release, new architecture)
8+
build:
9+
name: Build Android Example App (release)
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4

.github/workflows/build-android.yml

Lines changed: 4 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -27,55 +27,18 @@ on:
2727
- "**/nitro.json"
2828

2929
jobs:
30-
build_new:
31-
name: Build Android Example App (new architecture)
30+
build:
31+
name: Build Android Example App
3232
runs-on: ubuntu-latest
3333
steps:
34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v5
3535
- uses: oven-sh/setup-bun@v2
3636

3737
- name: Install npm dependencies (bun)
3838
run: bun install
3939

4040
- name: Setup JDK 17
41-
uses: actions/setup-java@v4
42-
with:
43-
distribution: "zulu"
44-
java-version: 17
45-
java-package: jdk
46-
47-
- name: Restore Gradle cache
48-
uses: actions/cache@v4
49-
with:
50-
path: |
51-
~/.gradle/caches
52-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
53-
restore-keys: |
54-
${{ runner.os }}-gradle-
55-
- name: Run Gradle Build for example/android/
56-
working-directory: example/android
57-
run: ./gradlew assembleDebug --no-daemon --build-cache
58-
59-
# Gradle cache doesn't like daemons
60-
- name: Stop Gradle Daemon
61-
working-directory: example/android
62-
run: ./gradlew --stop
63-
64-
build_old:
65-
name: Build Android Example App (old architecture)
66-
runs-on: ubuntu-latest
67-
steps:
68-
- uses: actions/checkout@v4
69-
- uses: oven-sh/setup-bun@v2
70-
71-
- name: Install npm dependencies (bun)
72-
run: bun install
73-
74-
- name: Disable new architecture in gradle.properties
75-
run: sed -i "s/newArchEnabled=true/newArchEnabled=false/g" example/android/gradle.properties
76-
77-
- name: Setup JDK 17
78-
uses: actions/setup-java@v4
41+
uses: actions/setup-java@v5
7942
with:
8043
distribution: "zulu"
8144
java-version: 17

.github/workflows/build-ios.yml

Lines changed: 3 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ env:
3232
USE_CCACHE: 1
3333

3434
jobs:
35-
build_new:
36-
name: Build iOS Example App (new architecture)
35+
build:
36+
name: Build iOS Example App
3737
runs-on: macOS-15
3838
steps:
3939
- uses: actions/checkout@v4
@@ -48,7 +48,7 @@ jobs:
4848
- name: Setup Ruby (bundle)
4949
uses: ruby/setup-ruby@v1
5050
with:
51-
ruby-version: 2.7.2
51+
ruby-version: 3.3.0
5252
bundler-cache: true
5353
working-directory: example/ios
5454

@@ -59,53 +59,7 @@ jobs:
5959
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock', '**/Gemfile.lock') }}
6060
restore-keys: |
6161
${{ runner.os }}-pods-
62-
- name: Install Pods
63-
working-directory: example/ios
64-
run: pod install
65-
- name: Build App
66-
working-directory: example/ios
67-
run: "set -o pipefail && xcodebuild \
68-
CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ \
69-
-derivedDataPath build -UseModernBuildSystem=YES \
70-
-workspace NitroSQLiteExample.xcworkspace \
71-
-scheme NitroSQLiteExample \
72-
-sdk iphonesimulator \
73-
-configuration Debug \
74-
-destination 'platform=iOS Simulator,name=iPhone 16' \
75-
build \
76-
CODE_SIGNING_ALLOWED=NO"
77-
78-
build_old:
79-
name: Build iOS Example App (old architecture)
80-
runs-on: macOS-15
81-
steps:
82-
- uses: actions/checkout@v4
83-
- uses: oven-sh/setup-bun@v2
84-
85-
- name: Install npm dependencies (bun)
86-
run: bun install
87-
88-
- name: Disable new architecture in Podfile
89-
run: sed -i "" "s/ENV\['RCT_NEW_ARCH_ENABLED'\] = '1'/ENV['RCT_NEW_ARCH_ENABLED'] = '0'/g" example/ios/Podfile
9062
91-
- name: Restore buildcache
92-
uses: mikehardy/buildcache-action@v2
93-
continue-on-error: true
94-
95-
- name: Setup Ruby (bundle)
96-
uses: ruby/setup-ruby@v1
97-
with:
98-
ruby-version: 2.7.2
99-
bundler-cache: true
100-
working-directory: example/ios
101-
102-
- name: Restore Pods cache
103-
uses: actions/cache@v4
104-
with:
105-
path: example/ios/Pods
106-
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock', '**/Gemfile.lock') }}
107-
restore-keys: |
108-
${{ runner.os }}-pods-
10963
- name: Install Pods
11064
working-directory: example/ios
11165
run: pod install

bun.lock

Lines changed: 111 additions & 229 deletions
Large diffs are not rendered by default.

bunfig.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
[install]
22
# Opt out from isolated installs
33
linker = "hoisted"
4-
linkWorkspacePackages = true

config/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"extends": "@tsconfig/react-native/tsconfig.json",
3+
"include": ["**/*.ts", "**/*.tsx"],
34
"exclude": [
45
"**/node_modules",
6+
"**/Pods",
57
"**/lib",
68
"**/.eslintrc.js",
79
"**/.prettierrc.js",
@@ -15,6 +17,7 @@
1517
"allowUnreachableCode": false,
1618
"allowUnusedLabels": false,
1719
"esModuleInterop": true,
20+
"experimentalDecorators": true,
1821
"forceConsistentCasingInFileNames": true,
1922
"jsx": "react",
2023
"lib": ["ESNext"],

example/.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.3.0

example/Gemfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
source 'https://rubygems.org'
2+
23
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
3-
ruby '3.3.0'
4+
ruby ">= 3.3.0"
45

56
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
67
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
78
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
89
gem 'xcodeproj', '< 1.26.0'
910
gem 'concurrent-ruby', '< 1.3.4'
11+
12+
# Ruby 3.4.0 has removed some libraries from the standard library.
13+
gem 'bigdecimal'
14+
gem 'logger'
15+
gem 'benchmark'
16+
gem 'mutex_m'

example/Gemfile.lock

Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,27 @@ GEM
55
base64
66
nkf
77
rexml
8-
activesupport (7.1.3.3)
8+
activesupport (7.2.3)
99
base64
10+
benchmark (>= 0.3)
1011
bigdecimal
11-
concurrent-ruby (~> 1.0, >= 1.0.2)
12+
concurrent-ruby (~> 1.0, >= 1.3.1)
1213
connection_pool (>= 2.2.5)
1314
drb
1415
i18n (>= 1.6, < 2)
16+
logger (>= 1.4.2)
1517
minitest (>= 5.1)
16-
mutex_m
17-
tzinfo (~> 2.0)
18-
addressable (2.8.6)
19-
public_suffix (>= 2.0.2, < 6.0)
18+
securerandom (>= 0.3)
19+
tzinfo (~> 2.0, >= 2.0.5)
20+
addressable (2.8.7)
21+
public_suffix (>= 2.0.2, < 7.0)
2022
algoliasearch (1.27.5)
2123
httpclient (~> 2.8, >= 2.8.3)
2224
json (>= 1.5.1)
2325
atomos (0.1.3)
24-
base64 (0.2.0)
25-
bigdecimal (3.1.8)
26+
base64 (0.3.0)
27+
benchmark (0.5.0)
28+
bigdecimal (3.3.1)
2629
claide (1.1.0)
2730
cocoapods (1.15.2)
2831
addressable (~> 2.8)
@@ -62,55 +65,60 @@ GEM
6265
netrc (~> 0.11)
6366
cocoapods-try (1.2.0)
6467
colored2 (3.1.2)
65-
concurrent-ruby (1.2.3)
66-
connection_pool (2.4.1)
67-
drb (2.2.1)
68+
concurrent-ruby (1.3.3)
69+
connection_pool (2.5.4)
70+
drb (2.2.3)
6871
escape (0.0.4)
69-
ethon (0.16.0)
72+
ethon (0.15.0)
7073
ffi (>= 1.15.0)
71-
ffi (1.16.3)
74+
ffi (1.17.2)
7275
fourflusher (2.3.1)
7376
fuzzy_match (2.0.4)
7477
gh_inspector (1.1.3)
75-
httpclient (2.8.3)
76-
i18n (1.14.5)
78+
httpclient (2.9.0)
79+
mutex_m
80+
i18n (1.14.7)
7781
concurrent-ruby (~> 1.0)
78-
json (2.7.2)
79-
minitest (5.23.1)
82+
json (2.15.2)
83+
logger (1.7.0)
84+
minitest (5.26.0)
8085
molinillo (0.8.0)
81-
mutex_m (0.2.0)
86+
mutex_m (0.3.0)
8287
nanaimo (0.3.0)
8388
nap (1.1.0)
8489
netrc (0.11.0)
8590
nkf (0.2.0)
8691
public_suffix (4.0.7)
87-
rexml (3.2.8)
88-
strscan (>= 3.0.9)
92+
rexml (3.4.4)
8993
ruby-macho (2.5.1)
90-
strscan (3.1.0)
91-
typhoeus (1.4.1)
92-
ethon (>= 0.9.0)
94+
securerandom (0.4.1)
95+
typhoeus (1.5.0)
96+
ethon (>= 0.9.0, < 0.16.0)
9397
tzinfo (2.0.6)
9498
concurrent-ruby (~> 1.0)
95-
xcodeproj (1.24.0)
99+
xcodeproj (1.25.1)
96100
CFPropertyList (>= 2.3.3, < 4.0)
97101
atomos (~> 0.1.3)
98102
claide (>= 1.0.2, < 2.0)
99103
colored2 (~> 3.1)
100104
nanaimo (~> 0.3.0)
101-
rexml (~> 3.2.4)
105+
rexml (>= 3.3.6, < 4.0)
102106

103107
PLATFORMS
104108
ruby
105109

106110
DEPENDENCIES
107111
activesupport (>= 6.1.7.5, != 7.1.0)
112+
benchmark
113+
bigdecimal
108114
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
109115
concurrent-ruby (< 1.3.4)
116+
logger
117+
mutex_m
110118
xcodeproj (< 1.26.0)
111119

112120
RUBY VERSION
113121
ruby 3.3.0p0
114122

115123
BUNDLED WITH
116-
2.5.10
124+
2.5.3

example/android/app/src/debug/AndroidManifest.xml

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

0 commit comments

Comments
 (0)