Skip to content

Commit 295ef01

Browse files
committed
Merge remote-tracking branch 'origin/main' into benchmarks
2 parents f433573 + 55b58d6 commit 295ef01

File tree

25 files changed

+290
-179
lines changed

25 files changed

+290
-179
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

.github/workflows/release.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Compile Assets and Create Draft Release
44
on:
55
push:
66
tags:
7-
- "powersync-v[0-9]+.[0-9]+.[0-9]+"
7+
- 'powersync-v[0-9]+.[0-9]+.[0-9]+'
88

99
jobs:
1010
build:
@@ -19,8 +19,8 @@ jobs:
1919
- name: Install Flutter
2020
uses: subosito/flutter-action@v2
2121
with:
22-
flutter-version: "3.x"
23-
channel: "stable"
22+
flutter-version: '3.x'
23+
channel: 'stable'
2424

2525
- name: Install Melos
2626
run: flutter pub global activate melos
@@ -34,6 +34,9 @@ jobs:
3434
GH_REPO: ${{ github.repository }}
3535
run: |
3636
tag="${{ github.ref_name }}"
37-
body="Release $tag"
38-
gh release create --draft "$tag" --title "$tag" --notes "$body" --generate-notes
37+
version="${tag#powersync-v}"
38+
changes=$(awk "/## $version/{flag=1;next}/##/{flag=0}flag" packages/powersync/CHANGELOG.md)
39+
body="Release $tag
40+
$changes"
41+
gh release create "$tag" --title "$tag" --notes "$body"
3942
gh release upload "${{ github.ref_name }}" packages/powersync/assets/powersync_db.worker.js packages/powersync/assets/powersync_sync.worker.js

CHANGELOG.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,60 @@
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+
34+
## 2024-11-04
35+
36+
### Changes
37+
38+
---
39+
40+
Packages with breaking changes:
41+
42+
- There are no breaking changes in this release.
43+
44+
Packages with other changes:
45+
46+
- [`powersync` - `v1.9.1`](#powersync---v191)
47+
- [`powersync_attachments_helper` - `v0.6.15`](#powersync_attachments_helper---v0615)
48+
49+
---
50+
51+
#### `powersync` - `v1.9.1`
52+
53+
- Flutter Web Beta release
54+
55+
#### `powersync_attachments_helper` - `v0.6.15`
56+
57+
- Flutter Web Beta release
58+
59+
660
## 2024-11-01
761

862
### Changes

RELEASING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ git push --follow-tags
2727

2828
**Note: This will launch the `release.yaml` and `publish.yaml` github actions in `.github/workflows`. So only run it when you are absolutely sure you want to release.**
2929

30-
A version bump and tag push for `powersync` will also create a draft github release for the powersync web worker. The worker needs to be manually published in the GitHub [releases](https://github.com/powersync-ja/powersync.dart/releases).
30+
A version bump and tag push for `powersync` will also create a Github release for the PowerSync web workers. Verify the release exists and is published in the [releases](https://github.com/powersync-ja/powersync.dart/releases).

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.0
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.0
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.0
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.0
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.14
13-
powersync: ^1.9.0
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:

0 commit comments

Comments
 (0)