From e68ed374f2bd665917614dc6c63d261f69db21f7 Mon Sep 17 00:00:00 2001 From: Mugi Khan Date: Thu, 25 Jul 2024 14:44:22 +0200 Subject: [PATCH 1/4] Bump versions Update readme and changelog --- CHANGELOG.md | 27 +++++++++++++++++++ demos/django-todolist/pubspec.lock | 2 +- demos/django-todolist/pubspec.yaml | 2 +- demos/supabase-anonymous-auth/pubspec.lock | 2 +- demos/supabase-anonymous-auth/pubspec.yaml | 2 +- .../supabase-edge-function-auth/pubspec.lock | 2 +- .../supabase-edge-function-auth/pubspec.yaml | 2 +- demos/supabase-simple-chat/pubspec.lock | 2 +- demos/supabase-simple-chat/pubspec.yaml | 2 +- demos/supabase-todolist/macos/Podfile.lock | 6 ++--- demos/supabase-todolist/pubspec.lock | 4 +-- demos/supabase-todolist/pubspec.yaml | 4 +-- packages/powersync/CHANGELOG.md | 4 +++ packages/powersync/pubspec.yaml | 2 +- .../powersync_attachments_helper/CHANGELOG.md | 4 +++ .../powersync_attachments_helper/pubspec.yaml | 4 +-- 16 files changed, 53 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 004dac34..241abd3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,33 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2024-07-25 + +### Changes + +--- + +Packages with breaking changes: + +- There are no breaking changes in this release. + +Packages with other changes: + +- [`powersync` - `v1.6.0`](#powersync---v160) +- [`powersync_attachments_helper` - `v0.6.0`](#powersync_attachments_helper---v060) + +Packages with dependency updates only: + +> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project. + +- `powersync_attachments_helper` - `v0.6.0` + +--- + +#### `powersync` - `v1.6.0` + +- `powersync` web support is now in beta! We have moved out of alpha and are now providing beta support. + ## 2024-07-18 ### Changes diff --git a/demos/django-todolist/pubspec.lock b/demos/django-todolist/pubspec.lock index 7c174a21..5776e899 100644 --- a/demos/django-todolist/pubspec.lock +++ b/demos/django-todolist/pubspec.lock @@ -294,7 +294,7 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.6.0-alpha.1" + version: "1.6.0" powersync_flutter_libs: dependency: "direct overridden" description: diff --git a/demos/django-todolist/pubspec.yaml b/demos/django-todolist/pubspec.yaml index efa8e86b..dfdb3a40 100644 --- a/demos/django-todolist/pubspec.yaml +++ b/demos/django-todolist/pubspec.yaml @@ -10,7 +10,7 @@ environment: dependencies: flutter: sdk: flutter - powersync: ^1.6.0-alpha.1 + powersync: ^1.6.0 path_provider: ^2.1.1 path: ^1.8.3 logging: ^1.2.0 diff --git a/demos/supabase-anonymous-auth/pubspec.lock b/demos/supabase-anonymous-auth/pubspec.lock index 31a30fdf..e58fa758 100644 --- a/demos/supabase-anonymous-auth/pubspec.lock +++ b/demos/supabase-anonymous-auth/pubspec.lock @@ -350,7 +350,7 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.6.0-alpha.1" + version: "1.6.0" powersync_flutter_libs: dependency: "direct overridden" description: diff --git a/demos/supabase-anonymous-auth/pubspec.yaml b/demos/supabase-anonymous-auth/pubspec.yaml index c9b2bab0..9248c6c8 100644 --- a/demos/supabase-anonymous-auth/pubspec.yaml +++ b/demos/supabase-anonymous-auth/pubspec.yaml @@ -11,7 +11,7 @@ dependencies: flutter: sdk: flutter - powersync: ^1.6.0-alpha.1 + powersync: ^1.6.0 path_provider: ^2.1.1 supabase_flutter: ^2.0.2 path: ^1.8.3 diff --git a/demos/supabase-edge-function-auth/pubspec.lock b/demos/supabase-edge-function-auth/pubspec.lock index 31a30fdf..e58fa758 100644 --- a/demos/supabase-edge-function-auth/pubspec.lock +++ b/demos/supabase-edge-function-auth/pubspec.lock @@ -350,7 +350,7 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.6.0-alpha.1" + version: "1.6.0" powersync_flutter_libs: dependency: "direct overridden" description: diff --git a/demos/supabase-edge-function-auth/pubspec.yaml b/demos/supabase-edge-function-auth/pubspec.yaml index 6529618d..e8af0b4d 100644 --- a/demos/supabase-edge-function-auth/pubspec.yaml +++ b/demos/supabase-edge-function-auth/pubspec.yaml @@ -11,7 +11,7 @@ dependencies: flutter: sdk: flutter - powersync: ^1.6.0-alpha.1 + powersync: ^1.6.0 path_provider: ^2.1.1 supabase_flutter: ^2.0.2 path: ^1.8.3 diff --git a/demos/supabase-simple-chat/pubspec.lock b/demos/supabase-simple-chat/pubspec.lock index 30d14da5..09f312e9 100644 --- a/demos/supabase-simple-chat/pubspec.lock +++ b/demos/supabase-simple-chat/pubspec.lock @@ -366,7 +366,7 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.6.0-alpha.1" + version: "1.6.0" powersync_flutter_libs: dependency: "direct overridden" description: diff --git a/demos/supabase-simple-chat/pubspec.yaml b/demos/supabase-simple-chat/pubspec.yaml index d0581a51..a45518a6 100644 --- a/demos/supabase-simple-chat/pubspec.yaml +++ b/demos/supabase-simple-chat/pubspec.yaml @@ -37,7 +37,7 @@ dependencies: supabase_flutter: ^2.0.2 timeago: ^3.6.0 - powersync: ^1.6.0-alpha.1 + powersync: ^1.6.0 path_provider: ^2.1.1 path: ^1.8.3 logging: ^1.2.0 diff --git a/demos/supabase-todolist/macos/Podfile.lock b/demos/supabase-todolist/macos/Podfile.lock index 5c75a944..98e82b5a 100644 --- a/demos/supabase-todolist/macos/Podfile.lock +++ b/demos/supabase-todolist/macos/Podfile.lock @@ -66,13 +66,13 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: app_links: 10e0a0ab602ffaf34d142cd4862f29d34b303b2a FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24 - path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c + path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46 powersync-sqlite-core: 4c38c8f470f6dca61346789fd5436a6826d1e3dd powersync_flutter_libs: 1eb1c6790a72afe08e68d4cc489d71ab61da32ee - shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695 + shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78 sqlite3: 292c3e1bfe89f64e51ea7fc7dab9182a017c8630 sqlite3_flutter_libs: 5ca46c1a04eddfbeeb5b16566164aa7ad1616e7b - url_launcher_macos: d2691c7dd33ed713bf3544850a623080ec693d95 + url_launcher_macos: 5f437abeda8c85500ceb03f5c1938a8c5a705399 PODFILE CHECKSUM: 236401fc2c932af29a9fcf0e97baeeb2d750d367 diff --git a/demos/supabase-todolist/pubspec.lock b/demos/supabase-todolist/pubspec.lock index 29a9d070..bfdeed50 100644 --- a/demos/supabase-todolist/pubspec.lock +++ b/demos/supabase-todolist/pubspec.lock @@ -454,14 +454,14 @@ packages: path: "../../packages/powersync" relative: true source: path - version: "1.6.0-alpha.1" + version: "1.6.0" powersync_attachments_helper: dependency: "direct main" description: path: "../../packages/powersync_attachments_helper" relative: true source: path - version: "0.6.0-alpha.1" + version: "0.6.0" powersync_flutter_libs: dependency: "direct overridden" description: diff --git a/demos/supabase-todolist/pubspec.yaml b/demos/supabase-todolist/pubspec.yaml index 54bf6304..b50daef2 100644 --- a/demos/supabase-todolist/pubspec.yaml +++ b/demos/supabase-todolist/pubspec.yaml @@ -10,8 +10,8 @@ environment: dependencies: flutter: sdk: flutter - powersync_attachments_helper: ^0.6.0-alpha.1 - powersync: ^1.6.0-alpha.1 + powersync_attachments_helper: ^0.6.0 + powersync: ^1.6.0 path_provider: ^2.1.1 supabase_flutter: ^2.0.1 path: ^1.8.3 diff --git a/packages/powersync/CHANGELOG.md b/packages/powersync/CHANGELOG.md index e1199e99..a17f6e45 100644 --- a/packages/powersync/CHANGELOG.md +++ b/packages/powersync/CHANGELOG.md @@ -1,5 +1,9 @@ ## 1.6.0-alpha.1 +- Web support is now in beta! We have moved out of alpha and are now providing beta support. + +## 1.6.0-alpha.1 + - Added support for client parameters when connecting. - Fix watch query parameter `triggerOnTables` to prepend powersync view names. - Upgrade dependency `sqlite_async` to version 0.8.1. diff --git a/packages/powersync/pubspec.yaml b/packages/powersync/pubspec.yaml index c351f275..93ddb681 100644 --- a/packages/powersync/pubspec.yaml +++ b/packages/powersync/pubspec.yaml @@ -1,5 +1,5 @@ name: powersync -version: 1.6.0-alpha.1 +version: 1.6.0 homepage: https://powersync.com repository: https://github.com/powersync-ja/powersync.dart description: PowerSync Flutter SDK - keep PostgreSQL databases in sync with on-device SQLite databases. diff --git a/packages/powersync_attachments_helper/CHANGELOG.md b/packages/powersync_attachments_helper/CHANGELOG.md index ac457a0c..6fa4b821 100644 --- a/packages/powersync_attachments_helper/CHANGELOG.md +++ b/packages/powersync_attachments_helper/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.6.0 + +- Update a dependency to the latest release. + ## 0.6.0-alpha.1 - Update a dependency to the latest release. diff --git a/packages/powersync_attachments_helper/pubspec.yaml b/packages/powersync_attachments_helper/pubspec.yaml index 4b620d8c..3c0aab91 100644 --- a/packages/powersync_attachments_helper/pubspec.yaml +++ b/packages/powersync_attachments_helper/pubspec.yaml @@ -1,6 +1,6 @@ name: powersync_attachments_helper description: A helper library for handling attachments when using PowerSync. -version: 0.6.0-alpha.1 +version: 0.6.0 repository: https://github.com/powersync-ja/powersync.dart homepage: https://www.powersync.com/ environment: @@ -10,7 +10,7 @@ dependencies: flutter: sdk: flutter - powersync: ^1.6.0-alpha.1 + powersync: ^1.6.0 logging: ^1.2.0 sqlite_async: ^0.8.1 path_provider: ^2.0.13 From 459ca463af45c3a32aa20e0989ac7a950c05ad2a Mon Sep 17 00:00:00 2001 From: Mugi Khan Date: Thu, 25 Jul 2024 14:50:04 +0200 Subject: [PATCH 2/4] Update alpha to beta --- packages/powersync/README.md | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/packages/powersync/README.md b/packages/powersync/README.md index 3d576be9..f3bf1c0e 100644 --- a/packages/powersync/README.md +++ b/packages/powersync/README.md @@ -20,15 +20,15 @@ flutter pub add powersync 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. -## **_ Web support - Open alpha _** +## **_ Web support - Open beta _** -Web support is currently in an alpha release. This Readme has been updated to reflect updates that are currently only relevant to this alpha release. +Web support is currently in an open beta. This Readme has been updated to reflect updates that are currently only relevant to this beta release. ### Demo app -The easiest way to test out the alpha is to run the [Supabase Todo-List](./demos/supabase-todolist) demo app: +The easiest way to test out the beta is to run the [Supabase Todo-List](./demos/supabase-todolist) demo app: -1. Checkout [this repo's](https://github.com/powersync-ja/powersync.dart/tree/alpha-release) `alpha_release` branch. +1. Checkout [this repo's](https://github.com/powersync-ja/powersync.dart/tree/master) `master` branch. - 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. @@ -39,24 +39,21 @@ The easiest way to test out the alpha is to run the [Supabase Todo-List](./demos ### Installing PowerSync in your own project -Install the latest alpha version of the package, for example: +Install the latest beta version of the package, for example: ``` -flutter pub add powersync:'^1.3.0-alpha.1' +flutter pub add powersync:'^1.6.0' ``` -The latest prerelease version can be found [here](https://pub.dev/packages/powersync/versions). +The latest version can be found [here](https://pub.dev/packages/powersync/versions). ### Additional config Web support requires `sqlite3.wasm` and `powersync_db.worker.js` assets to be served from the web application. This is typically achieved by placing the files in the project `web` directory. -- `sqlite3.wasm` can be found [here](https://github.com/powersync-ja/sqlite3.dart/releases/download/v0.1.0/sqlite3.wasm) +- `sqlite3.wasm` can be found [here](https://github.com/powersync-ja/sqlite3.dart/releases) - `powersync_db.worker.js` can be found in the repo's [releases](https://github.com/powersync-ja/powersync.dart/releases) page. -Currently the Drift SQLite library is used under the hood for DB connections. See [here](https://drift.simonbinder.eu/web/#getting-started) for detailed compatibility -and setup notes. - The same code is used for initializing native and web `PowerSyncDatabase` clients. ### Limitations From 00a03fe7af7461a2ee63526e424532c1175558a1 Mon Sep 17 00:00:00 2001 From: Mugi Khan Date: Thu, 25 Jul 2024 15:06:40 +0200 Subject: [PATCH 3/4] Fix changelog version --- packages/powersync/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/powersync/CHANGELOG.md b/packages/powersync/CHANGELOG.md index a17f6e45..9a6230a7 100644 --- a/packages/powersync/CHANGELOG.md +++ b/packages/powersync/CHANGELOG.md @@ -1,4 +1,4 @@ -## 1.6.0-alpha.1 +## 1.6.0 - Web support is now in beta! We have moved out of alpha and are now providing beta support. From 6c3f87c2909ab9f31179adf2c42dc55a45b95386 Mon Sep 17 00:00:00 2001 From: Mugi Khan Date: Thu, 25 Jul 2024 15:38:26 +0200 Subject: [PATCH 4/4] Revert to alpha messaging --- CHANGELOG.md | 2 +- packages/powersync/CHANGELOG.md | 2 +- packages/powersync/README.md | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 241abd3e..36ef82b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,7 +28,7 @@ Packages with dependency updates only: #### `powersync` - `v1.6.0` -- `powersync` web support is now in beta! We have moved out of alpha and are now providing beta support. +- `powersync` web support is now included in the standard release but remains in alpha. Web support may have some limitations or bugs. ## 2024-07-18 diff --git a/packages/powersync/CHANGELOG.md b/packages/powersync/CHANGELOG.md index 9a6230a7..fb0fd005 100644 --- a/packages/powersync/CHANGELOG.md +++ b/packages/powersync/CHANGELOG.md @@ -1,6 +1,6 @@ ## 1.6.0 -- Web support is now in beta! We have moved out of alpha and are now providing beta support. +- Web support is now included in the standard release but remains in alpha. Web support may have some limitations or bugs. ## 1.6.0-alpha.1 diff --git a/packages/powersync/README.md b/packages/powersync/README.md index f3bf1c0e..8268c9ae 100644 --- a/packages/powersync/README.md +++ b/packages/powersync/README.md @@ -20,13 +20,13 @@ flutter pub add powersync 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. -## **_ Web support - Open beta _** +## **_ Web support - Open alpha _** -Web support is currently in an open beta. This Readme has been updated to reflect updates that are currently only relevant to this beta release. +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. ### Demo app -The easiest way to test out the beta is to run the [Supabase Todo-List](./demos/supabase-todolist) demo app: +The easiest way to test out the alpha is to run the [Supabase Todo-List](./demos/supabase-todolist) demo app: 1. Checkout [this repo's](https://github.com/powersync-ja/powersync.dart/tree/master) `master` branch. @@ -39,7 +39,7 @@ The easiest way to test out the beta is to run the [Supabase Todo-List](./demos/ ### Installing PowerSync in your own project -Install the latest beta version of the package, for example: +Install the latest version of the package, for example: ``` flutter pub add powersync:'^1.6.0'