Skip to content

Commit 5123578

Browse files
authored
Merge pull request #135 from powersync-ja/chore/downgrade-js-version
Downgrade JS dependency to version >=0.6.7 <0.8.0
2 parents 73380f0 + d85be8c commit 5123578

File tree

15 files changed

+49
-57
lines changed

15 files changed

+49
-57
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,31 @@
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+
631
## 2024-07-30
732

833
### Changes

demos/django-todolist/pubspec.lock

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,6 @@ packages:
152152
url: "https://pub.dev"
153153
source: hosted
154154
version: "4.0.2"
155-
js:
156-
dependency: transitive
157-
description:
158-
name: js
159-
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
160-
url: "https://pub.dev"
161-
source: hosted
162-
version: "0.7.1"
163155
json_annotation:
164156
dependency: transitive
165157
description:
@@ -318,7 +310,7 @@ packages:
318310
path: "../../packages/powersync"
319311
relative: true
320312
source: path
321-
version: "1.6.1"
313+
version: "1.6.3"
322314
powersync_flutter_libs:
323315
dependency: "direct overridden"
324316
description:

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.2
13+
powersync: ^1.6.3
1414
path_provider: ^2.1.1
1515
path: ^1.8.3
1616
logging: ^1.2.0

demos/supabase-anonymous-auth/pubspec.lock

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -184,14 +184,6 @@ packages:
184184
url: "https://pub.dev"
185185
source: hosted
186186
version: "4.0.2"
187-
js:
188-
dependency: transitive
189-
description:
190-
name: js
191-
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
192-
url: "https://pub.dev"
193-
source: hosted
194-
version: "0.7.1"
195187
json_annotation:
196188
dependency: transitive
197189
description:
@@ -374,7 +366,7 @@ packages:
374366
path: "../../packages/powersync"
375367
relative: true
376368
source: path
377-
version: "1.6.1"
369+
version: "1.6.3"
378370
powersync_flutter_libs:
379371
dependency: "direct overridden"
380372
description:

demos/supabase-anonymous-auth/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
flutter:
1212
sdk: flutter
1313

14-
powersync: ^1.6.2
14+
powersync: ^1.6.3
1515
path_provider: ^2.1.1
1616
supabase_flutter: ^2.0.2
1717
path: ^1.8.3

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -184,14 +184,6 @@ packages:
184184
url: "https://pub.dev"
185185
source: hosted
186186
version: "4.0.2"
187-
js:
188-
dependency: transitive
189-
description:
190-
name: js
191-
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
192-
url: "https://pub.dev"
193-
source: hosted
194-
version: "0.7.1"
195187
json_annotation:
196188
dependency: transitive
197189
description:
@@ -374,7 +366,7 @@ packages:
374366
path: "../../packages/powersync"
375367
relative: true
376368
source: path
377-
version: "1.6.1"
369+
version: "1.6.3"
378370
powersync_flutter_libs:
379371
dependency: "direct overridden"
380372
description:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
flutter:
1212
sdk: flutter
1313

14-
powersync: ^1.6.2
14+
powersync: ^1.6.3
1515
path_provider: ^2.1.1
1616
supabase_flutter: ^2.0.2
1717
path: ^1.8.3

demos/supabase-simple-chat/pubspec.lock

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -200,14 +200,6 @@ packages:
200200
url: "https://pub.dev"
201201
source: hosted
202202
version: "0.19.0"
203-
js:
204-
dependency: transitive
205-
description:
206-
name: js
207-
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
208-
url: "https://pub.dev"
209-
source: hosted
210-
version: "0.7.1"
211203
json_annotation:
212204
dependency: transitive
213205
description:
@@ -390,7 +382,7 @@ packages:
390382
path: "../../packages/powersync"
391383
relative: true
392384
source: path
393-
version: "1.6.1"
385+
version: "1.6.3"
394386
powersync_flutter_libs:
395387
dependency: "direct overridden"
396388
description:

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.6.2
40+
powersync: ^1.6.3
4141
path_provider: ^2.1.1
4242
path: ^1.8.3
4343
logging: ^1.2.0

demos/supabase-todolist/pubspec.lock

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -280,14 +280,6 @@ packages:
280280
url: "https://pub.dev"
281281
source: hosted
282282
version: "4.2.0"
283-
js:
284-
dependency: transitive
285-
description:
286-
name: js
287-
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
288-
url: "https://pub.dev"
289-
source: hosted
290-
version: "0.7.1"
291283
json_annotation:
292284
dependency: transitive
293285
description:
@@ -478,14 +470,14 @@ packages:
478470
path: "../../packages/powersync"
479471
relative: true
480472
source: path
481-
version: "1.6.1"
473+
version: "1.6.3"
482474
powersync_attachments_helper:
483475
dependency: "direct main"
484476
description:
485477
path: "../../packages/powersync_attachments_helper"
486478
relative: true
487479
source: path
488-
version: "0.6.1"
480+
version: "0.6.3"
489481
powersync_flutter_libs:
490482
dependency: "direct overridden"
491483
description:

demos/supabase-todolist/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ environment:
1010
dependencies:
1111
flutter:
1212
sdk: flutter
13-
powersync_attachments_helper: ^0.6.2
14-
powersync: ^1.6.2
13+
powersync_attachments_helper: ^0.6.3
14+
powersync: ^1.6.3
1515
path_provider: ^2.1.1
1616
supabase_flutter: ^2.0.1
1717
path: ^1.8.3

packages/powersync/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.6.3
2+
3+
- **FIX**: Move JS to dev dependencies and lower version range ">=0.6.7 <0.8.0"
4+
15
## 1.6.2
26

37
- **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.

packages/powersync/pubspec.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: powersync
2-
version: 1.6.2
2+
version: 1.6.3
33
homepage: https://powersync.com
44
repository: https://github.com/powersync-ja/powersync.dart
55
description: PowerSync Flutter SDK - keep PostgreSQL databases in sync with on-device SQLite databases.
@@ -11,7 +11,6 @@ dependencies:
1111
sdk: flutter
1212

1313
sqlite_async: ^0.8.1
14-
1514
universal_io: ^2.0.0
1615
sqlite3_flutter_libs: ^0.5.23
1716
powersync_flutter_libs: ^0.1.0
@@ -22,7 +21,6 @@ dependencies:
2221
logging: ^1.1.1
2322
collection: ^1.17.0
2423
fetch_client: ^1.1.2
25-
js: ^0.7.0
2624
pubspec_parse: ^1.3.0
2725
args: ^2.5.0
2826
pub_semver: ^2.1.4
@@ -38,6 +36,7 @@ dev_dependencies:
3836
shelf_static: ^1.1.2
3937
stream_channel: ^2.1.2
4038
path: ^1.8.3
39+
js: ">=0.6.7 <0.8.0"
4140

4241
platforms:
4342
android:

packages/powersync_attachments_helper/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.6.3
2+
3+
- Update a dependency to the latest release.
4+
15
## 0.6.2
26

37
- Update a dependency to the latest release.

packages/powersync_attachments_helper/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: powersync_attachments_helper
22
description: A helper library for handling attachments when using PowerSync.
3-
version: 0.6.2
3+
version: 0.6.3
44
repository: https://github.com/powersync-ja/powersync.dart
55
homepage: https://www.powersync.com/
66
environment:
@@ -10,7 +10,7 @@ dependencies:
1010
flutter:
1111
sdk: flutter
1212

13-
powersync: ^1.6.2
13+
powersync: ^1.6.3
1414
logging: ^1.2.0
1515
sqlite_async: ^0.8.1
1616
path_provider: ^2.0.13

0 commit comments

Comments
 (0)