Skip to content

Conversation

@stevensJourney
Copy link
Collaborator

@stevensJourney stevensJourney commented Nov 24, 2025

Overview

This allows clients to specify application metadata when calling powerSync.connect. This Record of String values is logged in the PowerSync service logs, which can be used for debugging and analytics. For context: powersync-ja/powersync-service#413

The Example Node and Supabase React Todolist demos have been updated to post their application versions to the service.

powerSync.connect(connector, {
  appMetadata: {
    app_version: APP_VERSION
  }
});

Tested this on Staging by running the example-node demo, connecting to a staging instance.
image

@changeset-bot
Copy link

changeset-bot bot commented Nov 24, 2025

🦋 Changeset detected

Latest commit: d021f53

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
@powersync/react-native Minor
@powersync/common Minor
@powersync/node Minor
@powersync/web Minor
@powersync/capacitor Minor
@powersync/adapter-sql-js Patch
@powersync/op-sqlite Patch
@powersync/tanstack-react-query Patch
@powersync/diagnostics-app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@stevensJourney stevensJourney marked this pull request as ready for review December 8, 2025 13:35
@Chriztiaan
Copy link
Contributor

Looks good to me, no issues from my side.

@stevensJourney stevensJourney merged commit 616c2a1 into main Dec 10, 2025
9 checks passed
@stevensJourney stevensJourney deleted the app-metadata branch December 10, 2025 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants