Flutter

In order to upgrade to a newer version of the PowerSync package, first check the changelog for any breaking changes.

Then, run the below command in your project folder:

flutter pub upgrade powersync

React Native & Expo

Run the below command in your project folder:

npm upgrade @powersync/react-native @journeyapps/react-native-quick-sqlite

JavaScript Web

Run the below command in your project folder:

npm upgrade @powersync/web @journeyapps/wa-sqlite

Kotlin Multiplatform

Update your project’s Gradle file (build.gradle.kts) with the latest version of the SDK.

Swift

Update the version number in Package.swift or via Xcode Package Dependencies as documented in the SDK’s installation instructions: Installation