Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 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
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Changelog

## 0.0.1-BETA1

* Improve API by changing from Builder pattern to simply instantiating the database `PowerSyncDatabase`
E.g. `val db = PowerSyncDatabase(factory, schema)`
* Use callback context in transactions
E.g. `db.writeTransaction{ ctx -> ctx.execute(...) }`
* Removed unnecessary expiredAt field
* Added table max column validation as there is a hard limit of 63 columns
* Moved SQLDelight models to a separate module to reduce export size
* Replaced default Logger with [Kermit Logger](https://kermit.touchlab.co/) which allows users to more easily use and/or change Logger settings
* Add `retryDelay` and `crudThrottle` options when setting up database connection
* Changed `_viewNameOverride` to `viewNameOverride`
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

# PowerSync Kotlin Multiplatform SDK

## Alpha release
## Beta release

This SDK is currently in an alpha release. If you find a bug or issue, please open a [GitHub issue](https://github.com/powersync-ja/powersync-kotlin/issues). Questions or feedback can be posted on
This SDK is currently in a beta release. If you find a bug or issue, please open a [GitHub issue](https://github.com/powersync-ja/powersync-kotlin/issues). Questions or feedback can be posted on
our [community Discord](https://discord.gg/powersync) - we'd love to hear from you.

## SDK Features
Expand Down Expand Up @@ -50,11 +50,10 @@ Demo applications are located in the [`demos/`](./demos) directory. See their re

## Current Limitations / Future work

The PowerSync Kotlin Multiplatform SDK is currently in an alpha release and is not yet suitable for production use.
The PowerSync Kotlin Multiplatform SDK is currently in a beta release and can be used in production if you’ve tested extensively.

Current limitations:

- Debugging via configurable logging is not yet implemented.
- Integration with SQLDelight schema and API generation (ORM) is not yet supported.
- Supports only a single database file.

Expand Down
4 changes: 2 additions & 2 deletions core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ This is a Kotlin Multiplatform project targeting Android, iOS platforms, with th

## Note on SQLDelight

The PowerSync core module, internally makes use of [SQLDelight](https://cashapp.github.io/sqldelight) for it database API and typesafe database query generation.
The PowerSync core module, internally makes use of [SQLDelight](https://cashapp.github.io/sqldelight) for it database API and typesafe database query generation.

With the Alpha release, the PowerSync core module does not support integrating with SQLDelight from client applications.
With the Beta release, the PowerSync core module does not support integrating with SQLDelight from client applications.
8 changes: 4 additions & 4 deletions demos/hello-powersync/README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Hello-PowerSync Demo App

This is a minimal demo app demonstrating use of the PowerSync Kotlin Mutiplatform SDK together
with [Supabase](https://supabase.com/) in a basic Kotlin Multiplatform Compose App.
with [Supabase](https://supabase.com/) in a basic Kotlin Multiplatform Compose App.

The app lists customers and allows you to add or delete rows.
Data is [synced to users globally](https://docs.powersync.com/usage/sync-rules/example-global-data). For more advanced sync rules and functionality, see the [PowerSync+Supabase Todo-List](../supabase-todolist/README.md) demo application.

Supported KMP targets: Android and iOS.

## Alpha release
## Beta release

The Kotlin Multiplatform SDK is currently in an alpha release. If you find a bug or issue, please
The Kotlin Multiplatform SDK is currently in a beta release. If you find a bug or issue, please
open a [GitHub issue](https://github.com/powersync-ja/powersync-kotlin/issues). Questions or
feedback can be posted on our [community Discord](https://discord.gg/powersync) - we'd love to hear
from you.
Expand Down Expand Up @@ -102,4 +102,4 @@ Choose a run configuration for the Android (`composeApp`) or iOS (`iosApp`) targ

* `/iosApp` contains iOS applications. Even if you’re sharing your UI with Compose Multiplatform,
you need this entry point for your iOS app. This is also where you should add SwiftUI code for
your project.
your project.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ development=true
RELEASE_SIGNING_ENABLED=true
# Library config
GROUP=com.powersync
LIBRARY_VERSION=0.0.1-ALPHA17
LIBRARY_VERSION=0.0.1-BETA1
GITHUB_REPO=https://github.com/powersync-ja/powersync-kotlin.git
# POM
POM_URL=https://github.com/powersync-ja/powersync-kotlin/
Expand Down