From 4277cf587450bb177b15eda5dc071bc48fd6a904 Mon Sep 17 00:00:00 2001 From: Christoph Pader Date: Fri, 13 Nov 2026 11:27:31 +0100 Subject: [PATCH] chore: warn QuickSQLite users to migrate to NitroSQLite Co-authored-by: Codex --- README.md | 22 ++++++++-------------- package/README.md | 22 ++++++++-------------- package/android/build.gradle | 2 ++ package/package.json | 2 +- package/react-native-quick-sqlite.podspec | 2 ++ 5 files changed, 21 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index e79c4e1b..3180ed93 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,11 @@ -## 🚧 `react-native-quick-sqlite` (DEPRECATED) +# QuickSQLite is deprecated -> [!IMPORTANT] -> `react-native-quick-sqlite` has been deprecated in favor of [`react-native-nitro-sqlite`](https://github.com/margelo/react-native-nitro-sqlite). -> +`react-native-quick-sqlite` is no longer maintained. Switch to [NitroSQLite](https://github.com/margelo/react-native-nitro-sqlite), its maintained successor. -Please go to the [`react-native-nitro-sqlite`](https://github.com/margelo/react-native-nitro-sqlite) repository instead. +```sh +npm uninstall react-native-quick-sqlite +npm install react-native-nitro-sqlite react-native-nitro-modules +npx pod-install +``` -This is our new [Nitro module](https://nitro.margelo.com/) implementation of this library. - -Nitro modules is a React Native library that let's us make the codebase more readable and easier to maintain. This way, we're able to fix bugs faster and implement new features! 🚀 - -### Future releases - -From major version `9.0.0` on, this library will be shipped in the NPM package `react-native-nitro-sqlite`. New features are going to be implemented there. - -We will still provide bug fixes to `react-native-quick-sqlite@8.x.x` for the coming weeks/months. +Follow the [migration guide](https://sqlite.margelo.com/docs/guides/migrate-from-quick-sqlite) to update your imports and database calls, preserve existing database files, and rebuild your app. Check the [supported React Native versions](https://sqlite.margelo.com/docs) before upgrading. diff --git a/package/README.md b/package/README.md index e79c4e1b..3180ed93 100644 --- a/package/README.md +++ b/package/README.md @@ -1,17 +1,11 @@ -## 🚧 `react-native-quick-sqlite` (DEPRECATED) +# QuickSQLite is deprecated -> [!IMPORTANT] -> `react-native-quick-sqlite` has been deprecated in favor of [`react-native-nitro-sqlite`](https://github.com/margelo/react-native-nitro-sqlite). -> +`react-native-quick-sqlite` is no longer maintained. Switch to [NitroSQLite](https://github.com/margelo/react-native-nitro-sqlite), its maintained successor. -Please go to the [`react-native-nitro-sqlite`](https://github.com/margelo/react-native-nitro-sqlite) repository instead. +```sh +npm uninstall react-native-quick-sqlite +npm install react-native-nitro-sqlite react-native-nitro-modules +npx pod-install +``` -This is our new [Nitro module](https://nitro.margelo.com/) implementation of this library. - -Nitro modules is a React Native library that let's us make the codebase more readable and easier to maintain. This way, we're able to fix bugs faster and implement new features! 🚀 - -### Future releases - -From major version `9.0.0` on, this library will be shipped in the NPM package `react-native-nitro-sqlite`. New features are going to be implemented there. - -We will still provide bug fixes to `react-native-quick-sqlite@8.x.x` for the coming weeks/months. +Follow the [migration guide](https://sqlite.margelo.com/docs/guides/migrate-from-quick-sqlite) to update your imports and database calls, preserve existing database files, and rebuild your app. Check the [supported React Native versions](https://sqlite.margelo.com/docs) before upgrading. diff --git a/package/android/build.gradle b/package/android/build.gradle index 8bbfd2da..ff1c5be2 100644 --- a/package/android/build.gradle +++ b/package/android/build.gradle @@ -14,6 +14,8 @@ buildscript { } } +logger.warn("[react-native-quick-sqlite] DEPRECATED: QuickSQLite is no longer maintained. Switch to NitroSQLite.\nInstall: npm install react-native-nitro-sqlite react-native-nitro-modules\nMigration guide: https://sqlite.margelo.com/docs/guides/migrate-from-quick-sqlite") + def reactNativeArchitectures() { def value = rootProject.getProperties().get("reactNativeArchitectures") return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"] diff --git a/package/package.json b/package/package.json index f49c7a6e..9dfc2b44 100644 --- a/package/package.json +++ b/package/package.json @@ -1,6 +1,6 @@ { "name": "react-native-quick-sqlite", - "version": "8.2.7", + "version": "8.2.8", "description": "Fast SQLite for react-native", "source": "./src/index.ts", "main": "./lib/commonjs/index", diff --git a/package/react-native-quick-sqlite.podspec b/package/react-native-quick-sqlite.podspec index 373f52f5..583427df 100644 --- a/package/react-native-quick-sqlite.podspec +++ b/package/react-native-quick-sqlite.podspec @@ -1,5 +1,7 @@ require "json" +Pod::UI.warn "[react-native-quick-sqlite] DEPRECATED: QuickSQLite is no longer maintained. Switch to NitroSQLite.\nInstall: npm install react-native-nitro-sqlite react-native-nitro-modules\nMigration guide: https://sqlite.margelo.com/docs/guides/migrate-from-quick-sqlite" + package = JSON.parse(File.read(File.join(__dir__, "package.json"))) folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'