You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/powersync/README.md
+8-10Lines changed: 8 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -20,17 +20,17 @@ flutter pub add powersync
20
20
21
21
Our [full SDK reference](https://docs.powersync.com/client-sdk-references/flutter) contains everything you need to know to get started implementing PowerSync in your project.
22
22
23
-
## **Web support - Open alpha**
23
+
## **Web support - Beta**
24
24
25
-
Web support in version 1.6.0 is currently in its alpha stage. This README has been updated to reflect changes relevant to this alpha release.
25
+
Web support in version 1.9.0 is currently in a beta release. This means it is safe to use in production, provided that you've tested your use cases.
26
26
27
27
### Demo app
28
28
29
-
The easiest way to test out the alpha is to run the [Supabase Todo-List](./demos/supabase-todolist) demo app:
29
+
The easiest way to test Flutter Web support is to run the [Supabase Todo-List](https://github.com/powersync-ja/powersync.dart/tree/main/demos/supabase-todolist) demo app:
- Note: If you are an existing user updating to the latest code after a git pull, run `melos exec 'flutter pub upgrade'` in the repo's root and make sure it succeeds.
33
+
- Note: If you are an existing user updating to the latest code after a git pull, run `melos exec 'flutter pub upgrade'` in the repo's root directory and make sure it succeeds.
34
34
35
35
2. Run `melos prepare` in the repo's root
36
36
3. cd into the `demos/supabase-todolist` folder
@@ -42,14 +42,14 @@ The easiest way to test out the alpha is to run the [Supabase Todo-List](./demos
42
42
Install the latest version of the package, for example:
43
43
44
44
```
45
-
flutter pub add powersync:'^1.6.0'
45
+
flutter pub add powersync:'^1.9.0'
46
46
```
47
47
48
48
The latest version can be found [here](https://pub.dev/packages/powersync/versions).
49
49
50
50
### Additional config
51
51
52
-
Web support requires `sqlite3.wasm` and `powersync_db.worker.js` assets to be served from the web application. They can be downloaded to the `web` directory by running the following command in your application's root folder.
52
+
Web support requires `sqlite3.wasm` and worker (`powersync_db.worker.js` and `powersync_sync.worker.js`) assets to be served from the web application. They can be downloaded to the `web` directory by running the following command in your application's root folder.
53
53
54
54
```dart
55
55
dart run powersync:setup_web
@@ -59,9 +59,7 @@ The same code is used for initializing native and web `PowerSyncDatabase` client
59
59
60
60
### Limitations
61
61
62
-
The API for web is essentially the same as for native platforms. Some features within `PowerSyncDatabase` clients are not available.
63
-
64
-
Multiple tab support is not yet available. Using multiple tabs will break.
62
+
The API for Web is essentially the same as for native platforms, however, some features within `PowerSyncDatabase` clients are not available.
0 commit comments