Skip to content

Commit 55b58d6

Browse files
authored
Merge pull request #208 from powersync-ja/indexeddb-flushing
IndexedDB flushing
2 parents f03f15a + f940b30 commit 55b58d6

File tree

19 files changed

+124
-80
lines changed

19 files changed

+124
-80
lines changed

.github/workflows/demos.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,3 @@ jobs:
2929
run: |
3030
./.github/workflows/scripts/copy-config.sh
3131
melos analyze:demos
32-
33-
test:
34-
runs-on: ubuntu-latest
35-
steps:
36-
- uses: actions/checkout@v3
37-
- name: Install Flutter
38-
uses: subosito/flutter-action@v2
39-
with:
40-
flutter-version: "3.x"
41-
channel: "stable"
42-
- name: Install melos
43-
run: flutter pub global activate melos
44-
- name: Install dependencies
45-
run: melos prepare
46-
- name: Run flutter tests
47-
run: melos test
48-
- name: Run dart tests
49-
run: melos test:web

.github/workflows/packages.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,22 @@ jobs:
2929
run: melos analyze:packages
3030
- name: Publish dry-run
3131
run: melos publish --dry-run --yes
32-
- name: Check publish score
32+
33+
pana:
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: actions/checkout@v3
37+
- name: Install Flutter
38+
uses: subosito/flutter-action@v2
39+
with:
40+
flutter-version: "3.x"
41+
channel: "stable"
42+
43+
- name: Install Melos
44+
run: flutter pub global activate melos
45+
- name: Install dependencies
46+
run: melos prepare
47+
- name: Check pana score
3348
run: |
3449
flutter pub global activate pana
3550
melos analyze:packages:pana --no-select

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,34 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## 2024-11-06
7+
8+
### Changes
9+
10+
---
11+
12+
Packages with breaking changes:
13+
14+
- There are no breaking changes in this release.
15+
16+
Packages with other changes:
17+
18+
- [`powersync` - `v1.9.2`](#powersync---v192)
19+
- [`powersync_attachments_helper` - `v0.6.15+1`](#powersync_attachments_helper---v06151)
20+
21+
Packages with dependency updates only:
22+
23+
> 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.
24+
25+
- `powersync_attachments_helper` - `v0.6.15+1`
26+
27+
---
28+
29+
#### `powersync` - `v1.9.2`
30+
31+
- [Web] Automatically flush IndexedDB storage to fix durability issues
32+
33+
634
## 2024-11-04
735

836
### Changes

demos/django-todolist/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ environment:
1010
dependencies:
1111
flutter:
1212
sdk: flutter
13-
powersync: ^1.9.1
13+
powersync: ^1.9.2
1414
path_provider: ^2.1.1
1515
path: ^1.8.3
1616
logging: ^1.2.0
17-
sqlite_async: ^0.10.1
17+
sqlite_async: ^0.11.0
1818
http: ^1.2.1
1919
shared_preferences: ^2.2.3
2020

demos/supabase-anonymous-auth/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ dependencies:
1111
flutter:
1212
sdk: flutter
1313

14-
powersync: ^1.9.1
14+
powersync: ^1.9.2
1515
path_provider: ^2.1.1
1616
supabase_flutter: ^2.0.2
1717
path: ^1.8.3
1818
logging: ^1.2.0
19-
sqlite_async: ^0.10.1
19+
sqlite_async: ^0.11.0
2020
universal_io: ^2.2.2
2121

2222
dev_dependencies:

demos/supabase-edge-function-auth/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ dependencies:
1111
flutter:
1212
sdk: flutter
1313

14-
powersync: ^1.9.1
14+
powersync: ^1.9.2
1515
path_provider: ^2.1.1
1616
supabase_flutter: ^2.0.2
1717
path: ^1.8.3
1818
logging: ^1.2.0
19-
sqlite_async: ^0.10.1
19+
sqlite_async: ^0.11.0
2020
universal_io: ^2.2.2
2121

2222
dev_dependencies:

demos/supabase-simple-chat/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dependencies:
3737

3838
supabase_flutter: ^2.0.2
3939
timeago: ^3.6.0
40-
powersync: ^1.9.1
40+
powersync: ^1.9.2
4141
path_provider: ^2.1.1
4242
path: ^1.8.3
4343
logging: ^1.2.0

demos/supabase-todolist-drift/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ environment:
99
dependencies:
1010
flutter:
1111
sdk: flutter
12-
powersync_attachments_helper: ^0.6.15
13-
powersync: ^1.9.1
12+
powersync_attachments_helper: ^0.6.15+1
13+
powersync: ^1.9.2
1414
path_provider: ^2.1.1
1515
supabase_flutter: ^2.0.1
1616
path: ^1.8.3
1717
logging: ^1.2.0
1818
camera: ^0.10.5+7
1919
image: ^4.1.3
2020
universal_io: ^2.2.2
21-
sqlite_async: ^0.10.1
21+
sqlite_async: ^0.11.0
2222
drift: ^2.20.2
23-
drift_sqlite_async: ^0.2.0-alpha.3
23+
drift_sqlite_async: ^0.2.0
2424

2525
dev_dependencies:
2626
flutter_test:

demos/supabase-todolist-optional-sync/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ environment:
1010
dependencies:
1111
flutter:
1212
sdk: flutter
13-
powersync: ^1.9.1
13+
powersync: ^1.9.2
1414
path_provider: ^2.1.1
1515
supabase_flutter: ^2.0.1
1616
path: ^1.8.3
1717
logging: ^1.2.0
1818
camera: ^0.10.5+7
1919
image: ^4.1.3
2020
universal_io: ^2.2.2
21-
sqlite_async: ^0.10.1
21+
sqlite_async: ^0.11.0
2222

2323
dev_dependencies:
2424
flutter_test:

demos/supabase-todolist/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ environment:
1010
dependencies:
1111
flutter:
1212
sdk: flutter
13-
powersync_attachments_helper: ^0.6.15
14-
powersync: ^1.9.1
13+
powersync_attachments_helper: ^0.6.15+1
14+
powersync: ^1.9.2
1515
path_provider: ^2.1.1
1616
supabase_flutter: ^2.0.1
1717
path: ^1.8.3
1818
logging: ^1.2.0
1919
camera: ^0.10.5+7
2020
image: ^4.1.3
2121
universal_io: ^2.2.2
22-
sqlite_async: ^0.10.1
22+
sqlite_async: ^0.11.0
2323

2424
dev_dependencies:
2525
flutter_test:

0 commit comments

Comments
 (0)