Skip to content

Commit 04ec125

Browse files
committed
Merge branch 'master' into offline-demo
2 parents 0c79c90 + 5123578 commit 04ec125

File tree

27 files changed

+620
-115
lines changed

27 files changed

+620
-115
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ on:
99
# This action is not compatible with tags such as `powersync-v1.1.1`
1010
# marvinpinto/action-automatic-releases struggles to generate changelogs
1111
# Be sure to manually tag the commit to trigger this action
12-
- 'v*'
12+
- "powersync-v[0-9]+.[0-9]+.[0-9]+"
1313

1414
jobs:
1515
build:
1616
runs-on: ubuntu-latest
17+
permissions:
18+
contents: write
1719

1820
steps:
1921
- name: Checkout Repository
@@ -22,8 +24,8 @@ jobs:
2224
- name: Install Flutter
2325
uses: subosito/flutter-action@v2
2426
with:
25-
flutter-version: '3.x'
26-
channel: 'stable'
27+
flutter-version: "3.x"
28+
channel: "stable"
2729

2830
- name: Install Melos
2931
run: flutter pub global activate melos
@@ -32,10 +34,11 @@ jobs:
3234
run: melos prepare
3335

3436
- name: Create Draft Release
35-
uses: 'marvinpinto/action-automatic-releases@latest'
36-
with:
37-
repo_token: '${{ secrets.GITHUB_TOKEN }}'
38-
prerelease: true # TODO update when out of alpha
39-
draft: true
40-
files: |
41-
assets/powersync_db.worker.js
37+
env:
38+
GH_TOKEN: ${{ github.token }}
39+
GH_REPO: ${{ github.repository }}
40+
run: |
41+
tag="${{ github.ref_name }}"
42+
body="Release $tag"
43+
gh release create --draft "$tag" --title "$tag" --notes "$body" --generate-notes --prerelease
44+
gh release upload "${{ github.ref_name }}" packages/powersync/assets/powersync_db.worker.js

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ pubspec_overrides.yaml
1111
build
1212

1313
# Shared assets
14-
assets
14+
assets/*
15+
# exception to the rule
16+
!assets/.gitkeep
1517

1618
# Web assets
1719
powersync_db.worker.js
20+
powersync_db.worker.js*
1821
sqlite3.wasm
1922

2023
#Core binaries

CHANGELOG.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,81 @@
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-07-31
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.6.3`](#powersync---v163)
19+
- [`powersync_attachments_helper` - `v0.6.3`](#powersync_attachments_helper---v063)
20+
21+
---
22+
23+
#### `powersync` - `v1.6.3`
24+
25+
- **FIX**: Move JS to dev dependencies and lower version range ">=0.6.7 <0.8.0"
26+
27+
#### `powersync_attachments_helper` - `v0.6.3`
28+
29+
- Update a dependency to the latest release.
30+
31+
## 2024-07-30
32+
33+
### Changes
34+
35+
---
36+
37+
Packages with breaking changes:
38+
39+
- There are no breaking changes in this release.
40+
41+
Packages with other changes:
42+
43+
- [`powersync` - `v1.6.2`](#powersync---v162)
44+
- [`powersync_attachments_helper` - `v0.6.2`](#powersync_attachments_helper---v062)
45+
46+
---
47+
48+
#### `powersync` - `v1.6.2`
49+
50+
- **FEAT**: Introduces a custom script to download the sqlite3 wasm and powersync worker files. The command `dart run powersync:setup_web` must be run in the application's folder.
51+
52+
#### `powersync_attachments_helper` - `v0.6.2`
53+
54+
- Update a dependency to the latest release.
55+
56+
## 2024-07-29
57+
58+
### Changes
59+
60+
---
61+
62+
Packages with breaking changes:
63+
64+
- There are no breaking changes in this release.
65+
66+
Packages with other changes:
67+
68+
- [`powersync` - `v1.6.1`](#powersync---v161)
69+
- [`powersync_attachments_helper` - `v0.6.1`](#powersync_attachments_helper---v061)
70+
71+
---
72+
73+
#### `powersync` - `v1.6.1`
74+
75+
- **FIX**: Reintroduce waitForFirstSync.
76+
77+
#### `powersync_attachments_helper` - `v0.6.1`
78+
79+
- Update a dependency to the latest release.
80+
681
## 2024-07-25
782

883
### Changes

demos/django-todolist/pubspec.lock

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# Generated by pub
22
# See https://dart.dev/tools/pub/glossary#lockfile
33
packages:
4+
args:
5+
dependency: transitive
6+
description:
7+
name: args
8+
sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a"
9+
url: "https://pub.dev"
10+
source: hosted
11+
version: "2.5.0"
412
async:
513
dependency: transitive
614
description:
@@ -25,6 +33,14 @@ packages:
2533
url: "https://pub.dev"
2634
source: hosted
2735
version: "1.3.0"
36+
checked_yaml:
37+
dependency: transitive
38+
description:
39+
name: checked_yaml
40+
sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff
41+
url: "https://pub.dev"
42+
source: hosted
43+
version: "2.0.3"
2844
clock:
2945
dependency: transitive
3046
description:
@@ -136,14 +152,14 @@ packages:
136152
url: "https://pub.dev"
137153
source: hosted
138154
version: "4.0.2"
139-
js:
155+
json_annotation:
140156
dependency: transitive
141157
description:
142-
name: js
143-
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
158+
name: json_annotation
159+
sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1"
144160
url: "https://pub.dev"
145161
source: hosted
146-
version: "0.7.1"
162+
version: "4.9.0"
147163
leak_tracker:
148164
dependency: transitive
149165
description:
@@ -294,14 +310,30 @@ packages:
294310
path: "../../packages/powersync"
295311
relative: true
296312
source: path
297-
version: "1.6.0"
313+
version: "1.6.3"
298314
powersync_flutter_libs:
299315
dependency: "direct overridden"
300316
description:
301317
path: "../../packages/powersync_flutter_libs"
302318
relative: true
303319
source: path
304320
version: "0.1.0"
321+
pub_semver:
322+
dependency: transitive
323+
description:
324+
name: pub_semver
325+
sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c"
326+
url: "https://pub.dev"
327+
source: hosted
328+
version: "2.1.4"
329+
pubspec_parse:
330+
dependency: transitive
331+
description:
332+
name: pubspec_parse
333+
sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8
334+
url: "https://pub.dev"
335+
source: hosted
336+
version: "1.3.0"
305337
shared_preferences:
306338
dependency: "direct main"
307339
description:
@@ -515,6 +547,14 @@ packages:
515547
url: "https://pub.dev"
516548
source: hosted
517549
version: "1.0.4"
550+
yaml:
551+
dependency: transitive
552+
description:
553+
name: yaml
554+
sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5"
555+
url: "https://pub.dev"
556+
source: hosted
557+
version: "3.1.2"
518558
sdks:
519559
dart: ">=3.4.0 <4.0.0"
520560
flutter: ">=3.22.0"

demos/django-todolist/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010
dependencies:
1111
flutter:
1212
sdk: flutter
13-
powersync: ^1.6.0
13+
powersync: ^1.6.3
1414
path_provider: ^2.1.1
1515
path: ^1.8.3
1616
logging: ^1.2.0

demos/local-only-todolist/pubspec.lock

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ packages:
4141
url: "https://pub.dev"
4242
source: hosted
4343
version: "3.6.1"
44+
args:
45+
dependency: transitive
46+
description:
47+
name: args
48+
sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a"
49+
url: "https://pub.dev"
50+
source: hosted
51+
version: "2.5.0"
4452
async:
4553
dependency: transitive
4654
description:
@@ -105,6 +113,14 @@ packages:
105113
url: "https://pub.dev"
106114
source: hosted
107115
version: "1.3.0"
116+
checked_yaml:
117+
dependency: transitive
118+
description:
119+
name: checked_yaml
120+
sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff
121+
url: "https://pub.dev"
122+
source: hosted
123+
version: "2.0.3"
108124
clock:
109125
dependency: transitive
110126
description:
@@ -264,14 +280,14 @@ packages:
264280
url: "https://pub.dev"
265281
source: hosted
266282
version: "4.2.0"
267-
js:
283+
json_annotation:
268284
dependency: transitive
269285
description:
270-
name: js
271-
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
286+
name: json_annotation
287+
sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1"
272288
url: "https://pub.dev"
273289
source: hosted
274-
version: "0.7.1"
290+
version: "4.9.0"
275291
jwt_decode:
276292
dependency: transitive
277293
description:
@@ -454,14 +470,30 @@ packages:
454470
path: "../../packages/powersync"
455471
relative: true
456472
source: path
457-
version: "1.6.0"
473+
version: "1.6.3"
458474
powersync_flutter_libs:
459475
dependency: "direct overridden"
460476
description:
461477
path: "../../packages/powersync_flutter_libs"
462478
relative: true
463479
source: path
464480
version: "0.1.0"
481+
pub_semver:
482+
dependency: transitive
483+
description:
484+
name: pub_semver
485+
sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c"
486+
url: "https://pub.dev"
487+
source: hosted
488+
version: "2.1.4"
489+
pubspec_parse:
490+
dependency: transitive
491+
description:
492+
name: pubspec_parse
493+
sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8
494+
url: "https://pub.dev"
495+
source: hosted
496+
version: "1.3.0"
465497
realtime_client:
466498
dependency: transitive
467499
description:
@@ -811,6 +843,14 @@ packages:
811843
url: "https://pub.dev"
812844
source: hosted
813845
version: "6.5.0"
846+
yaml:
847+
dependency: transitive
848+
description:
849+
name: yaml
850+
sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5"
851+
url: "https://pub.dev"
852+
source: hosted
853+
version: "3.1.2"
814854
yet_another_json_isolate:
815855
dependency: transitive
816856
description:

0 commit comments

Comments
 (0)