Upgrading the Client SDK

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

https://pub.dev/packages/powersync/changelog

Then, run the below command in your project folder:

flutter pub upgrade powersync

Run the below command in your project folder:

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

For Yarn, run the below command in your project folder:

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

For NPM/PNPM, replace yarn with npm or pnpm in the above command.

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

Last updated