Skip to content

Commit e4518e6

Browse files
authored
Merge branch 'invertase:main' into feat-support-alternate-databses
2 parents 0ccdd90 + f0cba0b commit e4518e6

207 files changed

Lines changed: 7557 additions & 3910 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/create_test_patches.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,9 @@ jobs:
3333
# Future ideas:
3434
# - make into an action, parameterize directories to pack, and package names to install
3535
# - name patches w/PR as "semver prerelease" and SHA as "semver build info". Needs patch-package enhancement.
36-
37-
# FIXME: when github runner bumped from 18.17.1 to 18.18+ we started seeing template copy errors
38-
# different files, could reproduce locally on linux with v18.18+ and v20.8.0. Pinning to
39-
# prior version (18.17.1) to see if it stabilizes
4036
- uses: actions/setup-node@v4
4137
with:
42-
node-version: 20
38+
node-version: 22
4339

4440
- uses: actions/cache/restore@v4
4541
name: Yarn Cache Restore

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
fetch-depth: 1
2424
- uses: actions/setup-node@v4
2525
with:
26-
node-version: 20
26+
node-version: 22
2727
- uses: actions/cache/restore@v4
2828
name: Yarn Cache Restore
2929
id: yarn-cache

.github/workflows/linting.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
fetch-depth: 1
2525
- uses: actions/setup-node@v4
2626
with:
27-
node-version: 20
27+
node-version: 22
2828
- name: Configure JDK
2929
uses: actions/setup-java@v4
3030
with:
3131
distribution: 'temurin'
32-
java-version: '17'
32+
java-version: '21'
3333
- uses: actions/cache/restore@v4
3434
name: Yarn Cache Restore
3535
id: yarn-cache
@@ -69,7 +69,7 @@ jobs:
6969
fetch-depth: 1
7070
- uses: actions/setup-node@v4
7171
with:
72-
node-version: 20
72+
node-version: 22
7373
- uses: actions/cache/restore@v4
7474
name: Yarn Cache Restore
7575
id: yarn-cache
@@ -104,7 +104,7 @@ jobs:
104104
fetch-depth: 1
105105
- uses: actions/setup-node@v4
106106
with:
107-
node-version: 20
107+
node-version: 22
108108
- uses: actions/cache/restore@v4
109109
name: Yarn Cache Restore
110110
id: yarn-cache
@@ -127,7 +127,7 @@ jobs:
127127
max_attempts: 3
128128
command: cd website && yarn
129129
- name: Generate TypeDoc
130-
run: node -e "require('./website/scripts/generate-typedoc').generateTypedoc()"
130+
run: cd website && yarn typedoc
131131
- uses: actions/cache/save@v4
132132
name: Yarn Cache Save
133133
if: "${{ github.ref == 'refs/heads/main' }}"

.github/workflows/pr_title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/setup-node@v4
2121
with:
22-
node-version: 20
22+
node-version: 22
2323
- uses: amannn/action-semantic-pull-request@v5
2424
with:
2525
validateSingleCommit: true

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
name: 'NPM'
1313
timeout-minutes: 30
1414
runs-on: ubuntu-latest
15+
permissions:
16+
id-token: write # to enable use of OIDC for npm provenance
1517
steps:
1618
- uses: actions/checkout@v4
1719
with:
@@ -21,7 +23,7 @@ jobs:
2123
token: ${{ secrets.GH_TOKEN }}
2224
- uses: actions/setup-node@v4
2325
with:
24-
node-version: 20
26+
node-version: 22
2527
- name: Yarn Install
2628
uses: nick-fields/retry@v3
2729
with:

.github/workflows/scripts/functions/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
},
1414
"main": "lib/index.js",
1515
"dependencies": {
16-
"firebase-admin": "^13.1.0",
16+
"firebase-admin": "^13.3.0",
1717
"firebase-functions": "^6.3.2"
1818
},
1919
"devDependencies": {
20-
"firebase-functions-test": "^3.4.0",
21-
"firebase-tools": "^13.31.1",
22-
"typescript": "^5.7.3"
20+
"firebase-functions-test": "^3.4.1",
21+
"firebase-tools": "^14.2.0",
22+
"typescript": "^5.8.3"
2323
},
2424
"private": true
2525
}

.github/workflows/scripts/functions/yarn.lock

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2334,9 +2334,9 @@ __metadata:
23342334
languageName: node
23352335
linkType: hard
23362336

2337-
"firebase-admin@npm:^13.1.0":
2338-
version: 13.1.0
2339-
resolution: "firebase-admin@npm:13.1.0"
2337+
"firebase-admin@npm:^13.3.0":
2338+
version: 13.3.0
2339+
resolution: "firebase-admin@npm:13.3.0"
23402340
dependencies:
23412341
"@fastify/busboy": "npm:^3.0.0"
23422342
"@firebase/database-compat": "npm:^2.0.0"
@@ -2355,13 +2355,13 @@ __metadata:
23552355
optional: true
23562356
"@google-cloud/storage":
23572357
optional: true
2358-
checksum: 10/703de42f0f26e1368b00bebc7d148fbc149e8b0444b9688b103c6bcdc723e15b86fc52716087f37d0da5e89d4ddb9ea10b91b1fe27b01a9a56f7c8dfe73d8714
2358+
checksum: 10/c1ac0872aafcd2e5014aebf84571b86907cae5e80b6cb83c575a05eeac338f3d0e308ecf7d99be8bfde7558d50b9d05edbbfa59069b1e78e57ba191f3edc322b
23592359
languageName: node
23602360
linkType: hard
23612361

2362-
"firebase-functions-test@npm:^3.4.0":
2363-
version: 3.4.0
2364-
resolution: "firebase-functions-test@npm:3.4.0"
2362+
"firebase-functions-test@npm:^3.4.1":
2363+
version: 3.4.1
2364+
resolution: "firebase-functions-test@npm:3.4.1"
23652365
dependencies:
23662366
"@types/lodash": "npm:^4.14.104"
23672367
lodash: "npm:^4.17.5"
@@ -2370,7 +2370,7 @@ __metadata:
23702370
firebase-admin: ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0
23712371
firebase-functions: ">=4.9.0"
23722372
jest: ">=28.0.0"
2373-
checksum: 10/96e47c007ab04c5cbeaa4ba98d331ae981fb29c8cdddfb66f9728c935d98708f1d21a0c6d77aee927cd59c0ecc829fada3fafde4b50494fcc07aaedcc59cdd27
2373+
checksum: 10/ba762992a8f5b95fc043c530011c0527018d8edd85270ab6a63d3a58964b5784f1d063d9f3a4377237c7a5eb8ff41bd7b5dc2cd8d1c3d66cbd8aace6e0d5487e
23742374
languageName: node
23752375
linkType: hard
23762376

@@ -2391,9 +2391,9 @@ __metadata:
23912391
languageName: node
23922392
linkType: hard
23932393

2394-
"firebase-tools@npm:^13.31.1":
2395-
version: 13.31.1
2396-
resolution: "firebase-tools@npm:13.31.1"
2394+
"firebase-tools@npm:^14.2.0":
2395+
version: 14.2.0
2396+
resolution: "firebase-tools@npm:14.2.0"
23972397
dependencies:
23982398
"@electric-sql/pglite": "npm:^0.2.16"
23992399
"@google-cloud/cloud-sql-connector": "npm:^1.3.3"
@@ -2465,7 +2465,7 @@ __metadata:
24652465
yaml: "npm:^2.4.1"
24662466
bin:
24672467
firebase: lib/bin/firebase.js
2468-
checksum: 10/c632752a003ba10c02d74feb1861f421d11c3c8ac7b8ac02f9155dc5fb0ffc81bdfe0f6cc10efaa2b424cdd26868ace7b57394c123f0e4110953405bb8472b04
2468+
checksum: 10/262a9ecd4de62f0cd323b96b57c6fdd677f2d2868da6f12d50085124d15460532157e41795f5c99b541990dde120599fd437cf18d66536119fa0ab3e9feed3df
24692469
languageName: node
24702470
linkType: hard
24712471

@@ -2600,11 +2600,11 @@ __metadata:
26002600
version: 0.0.0-use.local
26012601
resolution: "functions@workspace:."
26022602
dependencies:
2603-
firebase-admin: "npm:^13.1.0"
2603+
firebase-admin: "npm:^13.3.0"
26042604
firebase-functions: "npm:^6.3.2"
2605-
firebase-functions-test: "npm:^3.4.0"
2606-
firebase-tools: "npm:^13.31.1"
2607-
typescript: "npm:^5.7.3"
2605+
firebase-functions-test: "npm:^3.4.1"
2606+
firebase-tools: "npm:^14.2.0"
2607+
typescript: "npm:^5.8.3"
26082608
languageName: unknown
26092609
linkType: soft
26102610

@@ -5768,23 +5768,23 @@ __metadata:
57685768
languageName: node
57695769
linkType: hard
57705770

5771-
"typescript@npm:^5.7.3":
5772-
version: 5.7.3
5773-
resolution: "typescript@npm:5.7.3"
5771+
"typescript@npm:^5.8.3":
5772+
version: 5.8.3
5773+
resolution: "typescript@npm:5.8.3"
57745774
bin:
57755775
tsc: bin/tsc
57765776
tsserver: bin/tsserver
5777-
checksum: 10/6a7e556de91db3d34dc51cd2600e8e91f4c312acd8e52792f243c7818dfadb27bae677175fad6947f9c81efb6c57eb6b2d0c736f196a6ee2f1f7d57b74fc92fa
5777+
checksum: 10/65c40944c51b513b0172c6710ee62e951b70af6f75d5a5da745cb7fab132c09ae27ffdf7838996e3ed603bb015dadd099006658046941bd0ba30340cc563ae92
57785778
languageName: node
57795779
linkType: hard
57805780

5781-
"typescript@patch:typescript@npm%3A^5.7.3#optional!builtin<compat/typescript>":
5782-
version: 5.7.3
5783-
resolution: "typescript@patch:typescript@npm%3A5.7.3#optional!builtin<compat/typescript>::version=5.7.3&hash=5786d5"
5781+
"typescript@patch:typescript@npm%3A^5.8.3#optional!builtin<compat/typescript>":
5782+
version: 5.8.3
5783+
resolution: "typescript@patch:typescript@npm%3A5.8.3#optional!builtin<compat/typescript>::version=5.8.3&hash=5786d5"
57845784
bin:
57855785
tsc: bin/tsc
57865786
tsserver: bin/tsserver
5787-
checksum: 10/dc58d777eb4c01973f7fbf1fd808aad49a0efdf545528dab9b07d94fdcb65b8751742804c3057e9619a4627f2d9cc85547fdd49d9f4326992ad0181b49e61d81
5787+
checksum: 10/b9b1e73dabac5dc730c041325dbd9c99467c1b0d239f1b74ec3b90d831384af3e2ba973946232df670519147eb51a2c20f6f96163cea2b359f03de1e2091cc4f
57885788
languageName: node
57895789
linkType: hard
57905790

.github/workflows/tests_e2e_android.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828
jobs:
2929
android:
3030
name: Android
31-
runs-on: ubuntu-latest-l
31+
runs-on: ubuntu-latest
3232
timeout-minutes: 60
3333
strategy:
3434
fail-fast: false
@@ -47,6 +47,17 @@ jobs:
4747
env:
4848
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4949
steps:
50+
- name: Free Disk Space (Ubuntu)
51+
uses: AdityaGarg8/remove-unwanted-software@v5
52+
with:
53+
remove-dotnet: true
54+
remove-haskell: true
55+
remove-codeql: true
56+
remove-docker-images: true
57+
58+
- name: Post Free Disk Space (Ubuntu)
59+
run: df -h
60+
5061
- name: Enable KVM group perms
5162
run: |
5263
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
@@ -60,13 +71,13 @@ jobs:
6071
# Set up tool versions
6172
- uses: actions/setup-node@v4
6273
with:
63-
node-version: 20
74+
node-version: 22
6475

6576
- name: Configure JDK
6677
uses: actions/setup-java@v4
6778
with:
6879
distribution: 'temurin'
69-
java-version: '17'
80+
java-version: '21'
7081

7182
# Set path variables needed for caches
7283
- name: Set workflow variables
@@ -163,7 +174,7 @@ jobs:
163174
yarn tests:android:test-cover --headless
164175
yarn tests:android:test:jacoco-report
165176
166-
- uses: codecov/codecov-action@v4
177+
- uses: codecov/codecov-action@v5
167178
with:
168179
verbose: true
169180

.github/workflows/tests_e2e_ios.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,16 @@ concurrency:
2727
jobs:
2828
ios:
2929
name: iOS
30-
runs-on: macos-15-xlarge
30+
runs-on: macos-15
3131
# TODO matrix across APIs, at least 11 and 15 (lowest to highest)
3232
timeout-minutes: 60
3333
env:
3434
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
35+
CCACHE_SLOPPINESS: clang_index_store,file_stat_matches,include_file_ctime,include_file_mtime,ivfsoverlay,pch_defines,modules,system_headers,time_macros
36+
CCACHE_FILECLONE: true
37+
CCACHE_DEPEND: true
38+
CCACHE_INODECACHE: true
39+
CCACHE_LIMIT_MULTIPLE: 0.95
3540
strategy:
3641
fail-fast: false
3742
matrix:
@@ -41,13 +46,13 @@ jobs:
4146
# Set up tool versions
4247
- uses: actions/setup-node@v4
4348
with:
44-
node-version: 20
49+
node-version: 22
4550

4651
- name: Configure JDK
4752
uses: actions/setup-java@v4
4853
with:
4954
distribution: 'temurin'
50-
java-version: '17'
55+
java-version: '21'
5156

5257
- uses: maxim-lobanov/setup-xcode@v1
5358
with:
@@ -152,11 +157,6 @@ jobs:
152157
- name: Build iOS App Debug
153158
if: contains(matrix.buildmode, 'debug')
154159
run: |
155-
export CCACHE_SLOPPINESS=clang_index_store,file_stat_matches,include_file_ctime,include_file_mtime,ivfsoverlay,pch_defines,modules,system_headers,time_macros
156-
export CCACHE_FILECLONE=true
157-
export CCACHE_DEPEND=true
158-
export CCACHE_INODECACHE=true
159-
export CCACHE_LIMIT_MULTIPLE=0.95
160160
ccache -s
161161
export SKIP_BUNDLING=1
162162
export RCT_NO_LAUNCH_PACKAGER=1
@@ -170,11 +170,6 @@ jobs:
170170
- name: Build iOS App Release
171171
if: contains(matrix.buildmode, 'release')
172172
run: |
173-
export CCACHE_SLOPPINESS=clang_index_store,file_stat_matches,include_file_ctime,include_file_mtime,ivfsoverlay,pch_defines,modules,system_headers,time_macros
174-
export CCACHE_FILECLONE=true
175-
export CCACHE_DEPEND=true
176-
export CCACHE_INODECACHE=true
177-
export CCACHE_LIMIT_MULTIPLE=0.95
178173
ccache -s
179174
export RCT_NO_LAUNCH_PACKAGER=1
180175
set -o pipefail
@@ -244,7 +239,7 @@ jobs:
244239
name: simulator-${{ matrix.buildmode }}_log
245240
path: simulator.log
246241

247-
- uses: codecov/codecov-action@v4
242+
- uses: codecov/codecov-action@v5
248243
if: contains(matrix.buildmode, 'debug')
249244
with:
250245
verbose: true

.github/workflows/tests_e2e_other.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,25 @@ concurrency:
2727
jobs:
2828
other:
2929
name: Other
30-
runs-on: macos-15-xlarge
30+
runs-on: macos-15
3131
timeout-minutes: 100
3232
env:
3333
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
34+
CCACHE_SLOPPINESS: clang_index_store,file_stat_matches,include_file_ctime,include_file_mtime,ivfsoverlay,pch_defines,modules,system_headers,time_macros
35+
CCACHE_FILECLONE: true
36+
CCACHE_DEPEND: true
37+
CCACHE_INODECACHE: true
38+
CCACHE_LIMIT_MULTIPLE: 0.95
3439
steps:
3540
- uses: actions/setup-node@v4
3641
with:
37-
node-version: 20
42+
node-version: 22
3843

3944
- name: Configure JDK
4045
uses: actions/setup-java@v4
4146
with:
4247
distribution: 'temurin'
43-
java-version: '17'
48+
java-version: '21'
4449

4550
- uses: maxim-lobanov/setup-xcode@v1
4651
with:
@@ -129,11 +134,6 @@ jobs:
129134

130135
- name: Build macos App
131136
run: |
132-
export CCACHE_SLOPPINESS=clang_index_store,file_stat_matches,include_file_ctime,include_file_mtime,ivfsoverlay,pch_defines,modules,system_headers,time_macros
133-
export CCACHE_FILECLONE=true
134-
export CCACHE_DEPEND=true
135-
export CCACHE_INODECACHE=true
136-
export CCACHE_LIMIT_MULTIPLE=0.95
137137
ccache -s
138138
export SKIP_BUNDLING=1
139139
export RCT_NO_LAUNCH_PACKAGER=1
@@ -167,7 +167,7 @@ jobs:
167167
timeout-minutes: 20
168168
run: yarn tests:macos:test-cover
169169

170-
- uses: codecov/codecov-action@v4
170+
- uses: codecov/codecov-action@v5
171171
with:
172172
verbose: true
173173

0 commit comments

Comments
 (0)