Skip to content

Merge master to alpha release #127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 37 commits into from
Jul 25, 2024
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
e327926
Readme update: Messaging/description of powersync
cahofmeyr May 30, 2024
e57381f
remove duplicate word
cahofmeyr May 30, 2024
e362fdb
Merge pull request #91 from powersync-ja/readme-update
cahofmeyr May 30, 2024
d812f78
Load and use PowerSync rust extension (#92)
mugikhan Jun 6, 2024
2fc5e35
Upgrade powersync-sqlite-core to version 0.1.7 for Android (#95)
mugikhan Jun 14, 2024
948139d
Bump powersync version (#96)
mugikhan Jun 14, 2024
4739f71
Update existing changelog message for powersync (#97)
mugikhan Jun 14, 2024
1903747
Override default macOS SQLite for tests (#99)
mugikhan Jun 18, 2024
98c8905
Check if abort future is completed before completing it (#100)
mugikhan Jun 19, 2024
0d63063
Upgrade sqlite_async (#105)
mugikhan Jun 25, 2024
e0fbf95
boilerplate
kobiebotha Jun 28, 2024
d7884da
the app :)
kobiebotha Jun 28, 2024
3f5bfce
more boilerplate
kobiebotha Jun 28, 2024
a0c92f8
fix deps and rename app name
kobiebotha Jun 28, 2024
71f07bf
Merge branch 'master' of github.com:powersync-ja/powersync.dart into …
kobiebotha Jun 28, 2024
eaf8075
bump to latest sqlite_async
kobiebotha Jun 28, 2024
83a4912
chore: fix pana score checks (#110)
stevensJourney Jul 1, 2024
5a3b686
snake_case apiclient
kobiebotha Jul 1, 2024
c90c66c
fix `dart analyze` output
kobiebotha Jul 1, 2024
f855317
`dart format`
kobiebotha Jul 1, 2024
83e1416
Merge branch 'master' into feature/django-todolist-demo
kobiebotha Jul 1, 2024
b7f4511
Merge pull request #108 from powersync-ja/feature/django-todolist-demo
kobiebotha Jul 1, 2024
8e37523
Add hasSynced and waitForFirstSync (#112)
mugikhan Jul 2, 2024
8576e28
Close http connections immediately on disconnect.
rkistner Jul 2, 2024
a6982e7
Fix some errors when closing client while connecting.
rkistner Jul 2, 2024
f886bbd
Remove retry delay when aborting.
rkistner Jul 2, 2024
1a5c224
More accurate connection counts.
rkistner Jul 2, 2024
6aac801
Merge branch 'master' into close-connections-on-disconnect
rkistner Jul 2, 2024
e4c8023
Merge pull request #115 from powersync-ja/close-connections-on-discon…
rkistner Jul 2, 2024
1c1dc10
Fix Future already completed when calling waitForFirstSync (#117)
mugikhan Jul 3, 2024
98cb5d8
[Feature] Added user parameters support when connecting (#98)
Chriztiaan Jul 10, 2024
e41c3e7
[Chore] Update Django Demo Readme (#120)
stevensJourney Jul 11, 2024
9e1e376
remove unneeded override (#121)
Dieterbe Jul 12, 2024
cde73d9
Fix watch query table names (#123)
mugikhan Jul 15, 2024
de5b7dd
[Fix] Offline has synced (#124)
stevensJourney Jul 16, 2024
0919586
Merge branch 'master' into chore/merge-master-alpha-release-2
mugikhan Jul 25, 2024
c289e8d
Fix tests
mugikhan Jul 25, 2024
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
7 changes: 7 additions & 0 deletions packages/powersync/lib/src/stream_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ Stream<Object?> ndjson(ByteStream input) {
return jsonInput;
}

/// Given a raw ByteStream, parse each line as JSON.
Stream<String> newlines(ByteStream input) {
final textInput = input.transform(convert.utf8.decoder);
final lineInput = textInput.transform(const convert.LineSplitter());
return lineInput;
}

void pauseAll(List<StreamSubscription> subscriptions) {
for (var sub in subscriptions) {
sub.pause();
Expand Down
Loading