Skip to content

Commit

Permalink
Merge pull request #135 from powersync-ja/chore/downgrade-js-version
Browse files Browse the repository at this point in the history
Downgrade JS dependency to version >=0.6.7 <0.8.0
  • Loading branch information
mugikhan authored Jul 31, 2024
2 parents 73380f0 + d85be8c commit 5123578
Show file tree
Hide file tree
Showing 15 changed files with 49 additions and 57 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,31 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2024-07-31

### Changes

---

Packages with breaking changes:

- There are no breaking changes in this release.

Packages with other changes:

- [`powersync` - `v1.6.3`](#powersync---v163)
- [`powersync_attachments_helper` - `v0.6.3`](#powersync_attachments_helper---v063)

---

#### `powersync` - `v1.6.3`

- **FIX**: Move JS to dev dependencies and lower version range ">=0.6.7 <0.8.0"

#### `powersync_attachments_helper` - `v0.6.3`

- Update a dependency to the latest release.

## 2024-07-30

### Changes
Expand Down
10 changes: 1 addition & 9 deletions demos/django-todolist/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "4.0.2"
js:
dependency: transitive
description:
name: js
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
url: "https://pub.dev"
source: hosted
version: "0.7.1"
json_annotation:
dependency: transitive
description:
Expand Down Expand Up @@ -318,7 +310,7 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.6.1"
version: "1.6.3"
powersync_flutter_libs:
dependency: "direct overridden"
description:
Expand Down
2 changes: 1 addition & 1 deletion demos/django-todolist/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
dependencies:
flutter:
sdk: flutter
powersync: ^1.6.2
powersync: ^1.6.3
path_provider: ^2.1.1
path: ^1.8.3
logging: ^1.2.0
Expand Down
10 changes: 1 addition & 9 deletions demos/supabase-anonymous-auth/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "4.0.2"
js:
dependency: transitive
description:
name: js
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
url: "https://pub.dev"
source: hosted
version: "0.7.1"
json_annotation:
dependency: transitive
description:
Expand Down Expand Up @@ -374,7 +366,7 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.6.1"
version: "1.6.3"
powersync_flutter_libs:
dependency: "direct overridden"
description:
Expand Down
2 changes: 1 addition & 1 deletion demos/supabase-anonymous-auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
flutter:
sdk: flutter

powersync: ^1.6.2
powersync: ^1.6.3
path_provider: ^2.1.1
supabase_flutter: ^2.0.2
path: ^1.8.3
Expand Down
10 changes: 1 addition & 9 deletions demos/supabase-edge-function-auth/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "4.0.2"
js:
dependency: transitive
description:
name: js
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
url: "https://pub.dev"
source: hosted
version: "0.7.1"
json_annotation:
dependency: transitive
description:
Expand Down Expand Up @@ -374,7 +366,7 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.6.1"
version: "1.6.3"
powersync_flutter_libs:
dependency: "direct overridden"
description:
Expand Down
2 changes: 1 addition & 1 deletion demos/supabase-edge-function-auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
flutter:
sdk: flutter

powersync: ^1.6.2
powersync: ^1.6.3
path_provider: ^2.1.1
supabase_flutter: ^2.0.2
path: ^1.8.3
Expand Down
10 changes: 1 addition & 9 deletions demos/supabase-simple-chat/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.19.0"
js:
dependency: transitive
description:
name: js
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
url: "https://pub.dev"
source: hosted
version: "0.7.1"
json_annotation:
dependency: transitive
description:
Expand Down Expand Up @@ -390,7 +382,7 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.6.1"
version: "1.6.3"
powersync_flutter_libs:
dependency: "direct overridden"
description:
Expand Down
2 changes: 1 addition & 1 deletion demos/supabase-simple-chat/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies:

supabase_flutter: ^2.0.2
timeago: ^3.6.0
powersync: ^1.6.2
powersync: ^1.6.3
path_provider: ^2.1.1
path: ^1.8.3
logging: ^1.2.0
Expand Down
12 changes: 2 additions & 10 deletions demos/supabase-todolist/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -280,14 +280,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "4.2.0"
js:
dependency: transitive
description:
name: js
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
url: "https://pub.dev"
source: hosted
version: "0.7.1"
json_annotation:
dependency: transitive
description:
Expand Down Expand Up @@ -478,14 +470,14 @@ packages:
path: "../../packages/powersync"
relative: true
source: path
version: "1.6.1"
version: "1.6.3"
powersync_attachments_helper:
dependency: "direct main"
description:
path: "../../packages/powersync_attachments_helper"
relative: true
source: path
version: "0.6.1"
version: "0.6.3"
powersync_flutter_libs:
dependency: "direct overridden"
description:
Expand Down
4 changes: 2 additions & 2 deletions demos/supabase-todolist/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ environment:
dependencies:
flutter:
sdk: flutter
powersync_attachments_helper: ^0.6.2
powersync: ^1.6.2
powersync_attachments_helper: ^0.6.3
powersync: ^1.6.3
path_provider: ^2.1.1
supabase_flutter: ^2.0.1
path: ^1.8.3
Expand Down
4 changes: 4 additions & 0 deletions packages/powersync/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.6.3

- **FIX**: Move JS to dev dependencies and lower version range ">=0.6.7 <0.8.0"

## 1.6.2

- **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.
Expand Down
5 changes: 2 additions & 3 deletions packages/powersync/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: powersync
version: 1.6.2
version: 1.6.3
homepage: https://powersync.com
repository: https://github.com/powersync-ja/powersync.dart
description: PowerSync Flutter SDK - keep PostgreSQL databases in sync with on-device SQLite databases.
Expand All @@ -11,7 +11,6 @@ dependencies:
sdk: flutter

sqlite_async: ^0.8.1

universal_io: ^2.0.0
sqlite3_flutter_libs: ^0.5.23
powersync_flutter_libs: ^0.1.0
Expand All @@ -22,7 +21,6 @@ dependencies:
logging: ^1.1.1
collection: ^1.17.0
fetch_client: ^1.1.2
js: ^0.7.0
pubspec_parse: ^1.3.0
args: ^2.5.0
pub_semver: ^2.1.4
Expand All @@ -38,6 +36,7 @@ dev_dependencies:
shelf_static: ^1.1.2
stream_channel: ^2.1.2
path: ^1.8.3
js: ">=0.6.7 <0.8.0"

platforms:
android:
Expand Down
4 changes: 4 additions & 0 deletions packages/powersync_attachments_helper/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.6.3

- Update a dependency to the latest release.

## 0.6.2

- Update a dependency to the latest release.
Expand Down
4 changes: 2 additions & 2 deletions packages/powersync_attachments_helper/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: powersync_attachments_helper
description: A helper library for handling attachments when using PowerSync.
version: 0.6.2
version: 0.6.3
repository: https://github.com/powersync-ja/powersync.dart
homepage: https://www.powersync.com/
environment:
Expand All @@ -10,7 +10,7 @@ dependencies:
flutter:
sdk: flutter

powersync: ^1.6.2
powersync: ^1.6.3
logging: ^1.2.0
sqlite_async: ^0.8.1
path_provider: ^2.0.13
Expand Down

0 comments on commit 5123578

Please sign in to comment.