From 9ae1750a3f2c543654a5de7e9e181595284f7b0b Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Mon, 14 Apr 2025 08:33:38 -0400 Subject: [PATCH 1/3] build: move to Realm 20 --- package-lock.json | 15 +++++++-------- package.json | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6130d7a..6abcda0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "promise-reflect": "^1.1.0", "react-native-uuid": "^2.0.1", - "realm": "^12.13.1" + "realm": "^20.1.0" }, "devDependencies": { "@babel/core": "^7.17.9", @@ -15646,10 +15646,9 @@ "peer": true }, "node_modules/realm": { - "version": "12.13.1", - "resolved": "https://registry.npmjs.org/realm/-/realm-12.13.1.tgz", - "integrity": "sha512-fAs70ZCBf1P7htVhOTrDMFHD6SzoGXVsALy6DpOPR6t0LXoK635cKxBMECX3bYdCgI7+riSfdoWXLA/7g5yTSQ==", - "deprecated": "This version uses Atlas Device Sync, please install `realm@community` and read https://github.com/realm/realm-js/blob/main/DEPRECATION.md for more information.", + "version": "20.1.0", + "resolved": "https://registry.npmjs.org/realm/-/realm-20.1.0.tgz", + "integrity": "sha512-m/8y4Yad8x++ZL6BCRvsr+AGqxKJg2jErcXW2ZO48CwNYjw9YRERv4V0JWsLw9sFkzVZIw1e4u9I/Dd+hmMhzw==", "hasInstallScript": true, "dependencies": { "@realm/fetch": "^0.1.1", @@ -28927,9 +28926,9 @@ "peer": true }, "realm": { - "version": "12.13.1", - "resolved": "https://registry.npmjs.org/realm/-/realm-12.13.1.tgz", - "integrity": "sha512-fAs70ZCBf1P7htVhOTrDMFHD6SzoGXVsALy6DpOPR6t0LXoK635cKxBMECX3bYdCgI7+riSfdoWXLA/7g5yTSQ==", + "version": "20.1.0", + "resolved": "https://registry.npmjs.org/realm/-/realm-20.1.0.tgz", + "integrity": "sha512-m/8y4Yad8x++ZL6BCRvsr+AGqxKJg2jErcXW2ZO48CwNYjw9YRERv4V0JWsLw9sFkzVZIw1e4u9I/Dd+hmMhzw==", "requires": { "@realm/fetch": "^0.1.1", "bson": "^4.7.2", diff --git a/package.json b/package.json index bca845f..7c753d0 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "dependencies": { "promise-reflect": "^1.1.0", "react-native-uuid": "^2.0.1", - "realm": "^12.13.1" + "realm": "^20.1.0" }, "devDependencies": { "@babel/core": "^7.17.9", From c1b07347246c6d919d62702172b702f0e7260b2a Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Mon, 14 Apr 2025 08:33:47 -0400 Subject: [PATCH 2/3] chore: ignore format v24 realm files --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index bb9cc93..0d0ff5d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ /coverage /.idea /reactNativeQueue.realm* +/reactNativeQueue.v23* *.iml From f0fc9ab7fea545fb8eb0bdad58153bb399b34111 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Mon, 14 Apr 2025 08:34:56 -0400 Subject: [PATCH 3/3] docs: add note about future v3 version --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 982dbe3..539ac44 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ This means it's very crucial to respect to select the proper version and respect | Queue Version | Realm Version | React Native | Hermes Support | |---------------|---------------|--------------|----------------| +| 3.0.0 | 20.1.0 | => 0.71.4 | Yes | | 2.5.0 | 12.13.1 | => 0.71.4 | Yes | | 2.4.0 | 12.6.1 | => 0.71.4 | Yes | | 2.3.0 | 12.5.0 | => 0.71.4 | Yes |