Skip to content

Commit 7590cc5

Browse files
authored
Merge pull request #632 from powersync-ja/changeset-release/main
Version Packages
2 parents f878609 + c83e5dc commit 7590cc5

File tree

24 files changed

+710
-910
lines changed

24 files changed

+710
-910
lines changed

.changeset/heavy-turkeys-end.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

.changeset/short-gifts-turn.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.changeset/slimy-cougars-rush.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/weak-chairs-complain.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/attachments/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"test": "pnpm build && vitest"
3030
},
3131
"peerDependencies": {
32-
"@powersync/common": "workspace:^1.32.0"
32+
"@powersync/common": "workspace:^1.33.0"
3333
},
3434
"devDependencies": {
3535
"@powersync/common": "workspace:*",

packages/common/CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# @powersync/common
22

3+
## 1.33.0
4+
5+
### Minor Changes
6+
7+
- cbb20c0: This adds a new (and currently experimental) sync client implementation
8+
implemented natively in the PowerSync SQLite extension.
9+
10+
This implementation will eventually become the default, but we encourage
11+
interested users to try it out. In particular, we expect that it can improve
12+
sync performance (especially on platforms with challenging JS performance,
13+
like React Native).
14+
15+
On all our JavaScript SDKs, the new implementation can be enabled with a
16+
sync option entry when connecting:
17+
18+
```JS
19+
await db.connect(new MyConnector(), {
20+
clientImplementation: SyncClientImplementation.RUST
21+
});
22+
```
23+
24+
Since the new client implements the same protocol, you can also migrate back
25+
to the JavaScript client later by removing the `clientImplementation` option.
26+
27+
**However**: After enabling the `RUST` client, you cannot downgrade your
28+
PowerSync SDK below this version. When enabled for the first time, databases
29+
will be migrated. The JavaScript sync client from this and later SDK versions
30+
understands the new format, but the client from an older SDK version will not!
31+
32+
### Patch Changes
33+
34+
- 7e8bb1a: Include metadata and previous values when serializing CRUD entries to JSON.
35+
336
## 1.32.0
437

538
### Minor Changes

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@powersync/common",
3-
"version": "1.32.0",
3+
"version": "1.33.0",
44
"publishConfig": {
55
"registry": "https://registry.npmjs.org/",
66
"access": "public"

packages/drizzle-driver/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"test": "vitest"
2727
},
2828
"peerDependencies": {
29-
"@powersync/common": "workspace:^1.32.0",
29+
"@powersync/common": "workspace:^1.33.0",
3030
"drizzle-orm": "<1.0.0"
3131
},
3232
"devDependencies": {

packages/kysely-driver/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"test": "pnpm build && vitest"
2727
},
2828
"peerDependencies": {
29-
"@powersync/common": "workspace:^1.32.0"
29+
"@powersync/common": "workspace:^1.33.0"
3030
},
3131
"dependencies": {
3232
"kysely": "^0.28.0"

packages/node/CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
# @powersync/node
22

3+
## 0.6.0
4+
5+
### Minor Changes
6+
7+
- cbb20c0: This adds a new (and currently experimental) sync client implementation
8+
implemented natively in the PowerSync SQLite extension.
9+
10+
This implementation will eventually become the default, but we encourage
11+
interested users to try it out. In particular, we expect that it can improve
12+
sync performance (especially on platforms with challenging JS performance,
13+
like React Native).
14+
15+
On all our JavaScript SDKs, the new implementation can be enabled with a
16+
sync option entry when connecting:
17+
18+
```JS
19+
await db.connect(new MyConnector(), {
20+
clientImplementation: SyncClientImplementation.RUST
21+
});
22+
```
23+
24+
Since the new client implements the same protocol, you can also migrate back
25+
to the JavaScript client later by removing the `clientImplementation` option.
26+
27+
**However**: After enabling the `RUST` client, you cannot downgrade your
28+
PowerSync SDK below this version. When enabled for the first time, databases
29+
will be migrated. The JavaScript sync client from this and later SDK versions
30+
understands the new format, but the client from an older SDK version will not!
31+
32+
### Patch Changes
33+
34+
- 0446f15: Update PowerSync core extension to 0.4.0
35+
- Updated dependencies [cbb20c0]
36+
- Updated dependencies [7e8bb1a]
37+
- @powersync/common@1.33.0
38+
339
## 0.5.0
440

541
### Minor Changes

0 commit comments

Comments
 (0)