Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 8 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
22 changes: 8 additions & 14 deletions package/README.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 2 additions & 0 deletions package/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion package/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 2 additions & 0 deletions package/react-native-quick-sqlite.podspec
Original file line number Diff line number Diff line change
@@ -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'

Expand Down
Loading