Skip to content

Commit

Permalink
powersync 1.1.0 / powersync_attachments_helper 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rkistner committed Jan 4, 2024
1 parent ff755b9 commit 7963da5
Show file tree
Hide file tree
Showing 14 changed files with 47 additions and 20 deletions.
4 changes: 2 additions & 2 deletions demos/supabase-anonymous-auth/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -406,14 +406,14 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
powersync_attachments_helper:
dependency: "direct main"
description:
path: "../../packages/powersync_attachments_helper"
relative: true
source: path
version: "0.1.3"
version: "0.1.4"
realtime_client:
dependency: transitive
description:
Expand Down
4 changes: 2 additions & 2 deletions demos/supabase-anonymous-auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ environment:
dependencies:
flutter:
sdk: flutter
powersync_attachments_helper: 0.1.0
powersync_attachments_helper: ^0.1.4

powersync: ^1.0.0
powersync: ^1.1.0
path_provider: ^2.1.1
supabase_flutter: ^2.0.2
path: ^1.8.3
Expand Down
4 changes: 2 additions & 2 deletions demos/supabase-edge-function-auth/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -406,14 +406,14 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
powersync_attachments_helper:
dependency: "direct main"
description:
path: "../../packages/powersync_attachments_helper"
relative: true
source: path
version: "0.1.3"
version: "0.1.4"
realtime_client:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion demos/supabase-edge-function-auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
sdk: flutter
powersync_attachments_helper: 0.1.0

powersync: ^1.0.0
powersync: ^1.1.0
path_provider: ^2.1.1
supabase_flutter: ^2.0.2
path: ^1.8.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@

#include "generated_plugin_registrant.h"

#include <gtk/gtk_plugin.h>
#include <sqlite3_flutter_libs/sqlite3_flutter_libs_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h>

void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) gtk_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "GtkPlugin");
gtk_plugin_register_with_registrar(gtk_registrar);
g_autoptr(FlPluginRegistrar) sqlite3_flutter_libs_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "Sqlite3FlutterLibsPlugin");
sqlite3_flutter_libs_plugin_register_with_registrar(sqlite3_flutter_libs_registrar);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#

list(APPEND FLUTTER_PLUGIN_LIST
gtk
sqlite3_flutter_libs
url_launcher_linux
)
Expand Down
2 changes: 1 addition & 1 deletion demos/supabase-simple-chat/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
realtime_client:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion demos/supabase-simple-chat/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies:

supabase_flutter: ^1.10.25
timeago: ^3.6.0
powersync: ^1.0.0
powersync: ^1.1.0
path_provider: ^2.1.1
path: ^1.8.3
logging: ^1.2.0
Expand Down
4 changes: 2 additions & 2 deletions demos/supabase-todolist/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -406,14 +406,14 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
powersync_attachments_helper:
dependency: "direct main"
description:
path: "../../packages/powersync_attachments_helper"
relative: true
source: path
version: "0.1.3"
version: "0.1.4"
realtime_client:
dependency: transitive
description:
Expand Down
4 changes: 2 additions & 2 deletions demos/supabase-todolist/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ environment:
dependencies:
flutter:
sdk: flutter
powersync_attachments_helper: 0.1.0
powersync_attachments_helper: ^0.1.4

powersync: ^1.0.0
powersync: ^1.1.0
path_provider: ^2.1.1
supabase_flutter: ^2.0.1
path: ^1.8.3
Expand Down
16 changes: 15 additions & 1 deletion packages/powersync/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## 1.1.0

- Fix delete operations rejected by the server not being reverted locally.
- Expand `SyncStatus` to include `connected`, `downloading`, `uploading` status, as well as the last errors.
- Fix `SyncStatus.connected` to be updated when calling `PowerSyncDatabase.disconnect()`.
- Fix network error messages only containing a single character in some cases.
- Update `sqlite_async` dependency:
- Supports catching errors in transactions and continuing the transaction.
- Add `tx.closed` and `db/tx.getAutoCommit()`
- Update `uuid` dependency:
- Now uses `CryptoRNG` from `uuid` package now that the performance improvements are upstream.
- Requires Dart ^3.2.0 / Flutter ^3.16.0.

## 1.0.0

- Start using stable version range.
Expand All @@ -7,7 +20,8 @@
- Improve HTTP error messages.
- Enable SQLite recursive triggers.
- Support overriding view names.
- Validate schema definitions for duplicates.
- *Breaking change:* Validate schema definitions for duplicates.
Remove `id` column and indexes from any tables in the schema if present.

## 0.4.1

Expand Down
2 changes: 1 addition & 1 deletion packages/powersync/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: powersync
version: 1.0.0
version: 1.1.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.
Expand Down
11 changes: 8 additions & 3 deletions packages/powersync_attachments_helper/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
## 0.1.4

- Update dependencies.
- Declare linux, macos and windows platform support.

## 0.1.3

- Update README
- Update README.

## 0.1.2

- Update example
- Update example.

## 0.1.1

- Amend pubspec.yml repository to correct url and use flutter sdk as dep
- Amend pubspec.yml repository to correct url and use flutter sdk as dependency.

## 0.1.0

Expand Down
7 changes: 5 additions & 2 deletions packages/powersync_attachments_helper/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: powersync_attachments_helper
description: A helper library for handling attachments when using PowerSync.
version: 0.1.3
version: 0.1.4
repository: https://github.com/powersync-ja/powersync.dart
homepage: https://www.powersync.com/
environment:
Expand All @@ -10,7 +10,7 @@ dependencies:
flutter:
sdk: flutter

powersync: ^1.0.0
powersync: ^1.1.0
logging: ^1.2.0
sqlite_async: ^0.6.0
path_provider: ^2.1.1
Expand All @@ -22,3 +22,6 @@ dev_dependencies:
platforms:
android:
ios:
linux:
macos:
windows:

0 comments on commit 7963da5

Please sign in to comment.