Product Update
July 3, 2024
July 3, 2024
(updated)

PowerSync Update: June 2024

Kobie Botha

The release of PowerSync Open Edition at the end of May brought the first wave of self-hosted PowerSync users in June. We’re delighted by the uptake we’ve seen so far: opening access to this mature sync engine promises to add further momentum to the local-first movement.

June also included some other product highlights, let’s get into them.

Simplified Constructor for JavaScript SDKs

The JavaScript client constructor has been simplified along the lines of our Flutter/Dart SDK. It is now possible to create client databases as follows:

export const db = new PowerSyncDatabase({
   schema: AppSchema,
   database: {
     dbFilename: 'example.db'
   }
 });

Read the release notes

PowerSync Cloud: Sign Up With or Link Your GitHub Account

We’ve added GitHub as an SSO option for PowerSync Cloud, providing lower friction access for those who prefer this.

If you have already created a PowerSync account using your email, you can link your GitHub account for future sign-ins, provided the email addresses of the two accounts match. To do this, sign out of the Admin Portal and sign back in using "Sign in with GitHub" to connect your accounts.

Go to your dashboard

Flutter SDK Updated to Use Common Rust Core

V1.4 of our Flutter SDK introduced the use of the [.inline-code-snippet]powersync-sqlite-core[.inline-code-snippet] native extension. This is our common Rust core which means all PowerSync SDKs now use the same core logic for PowerSync functionality, improving maintainability and support.

Read the release notes

[Tutorial] Vue + PowerSync + Supabase

We’ve released a step-by-step tutorial for creating an offline-first ToDo app using Vue, Supabase and PowerSync. The tutorial starts with a base app in the repo that contains basic functionality and then integrates PowerSync, using Supabase as the backend Postgres database.

The fully implemented app is also available as a branch on the repo for reference.

Thanks to Poya Shad for working on this!

See the tutorial

[Post] WebSockets as Alternative to HTTP Streaming in RN

PowerSync engineer Steven Ontong wrote engineering notes on implementing WebSocket support in our React Native SDK and PowerSync Service. The article includes a summary of the pain points with HTTP streaming in React Native, the differences between the two connection methods, and how RSocket was used.

Read Steven’s post

LoFi Software Discord Dev Build Day

Dom Bauer, Conrad Hofmeyr and Kobie Botha hosted a PowerSync Build Day on the LoFi Software Development Discord server on June 14th.

The Build Day covered the process of building a chat app using React and the PowerSync Web SDK, and self-hosting the PowerSync Service using Docker. All clients synced with a shared Fly.io Postgres, with data sync managed through Sync Rules.

Watch the recording

Community Focus

Octolens, a free dive tracking app, is built with PowerSync and now available on the Apple App Store — congratulations to Ben Mahr!

Check out Octologs

Community member Guillem Puche published a full guide for creating a CRUD app that uses PowerSync to enable a local-first architecture and syncs to a Neon database. We’re impressed!

See Guillem’s guide

[Video] Local-First vs Offline-First in 100 seconds

We’ve launched a new video series that covers key concepts behind local-first development in a concise format. Let us know what you think!

That's it for the June update, happy coding!

Subscribe to receive updates

Thank you! Your submission has been received.
Oops! Something went wrong while submitting the form. Please try again.