Skip to content

Commit fb97273

Browse files
committed
Merge branch 'main' into op-sqlite-tests
2 parents ceae348 + f5abaf1 commit fb97273

File tree

25 files changed

+25309
-18805
lines changed

25 files changed

+25309
-18805
lines changed

.changeset/cuddly-news-carry.md

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

.changeset/giant-ladybugs-dress.md

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

.changeset/polite-news-sneeze.md

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

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,25 @@ _[PowerSync](https://www.powersync.com) is a sync engine for building local-firs
3030

3131
- Vue composables for PowerSync.
3232

33-
- [packages/tanstack-query](./packages/tanstack-query/README.md)
33+
- [packages/tanstack-query](./packages/tanstack-react-query/README.md)
3434

35-
- Tanstack Query integration for React.
35+
- [TanStack Query](https://tanstack.com/query/) integration for React.
3636

3737
- [packages/attachments](./packages/attachments/README.md)
3838

39-
- Attachments helper package for React Native and JavaScript/TypeScript projects.
39+
- Attachments helper package for React Native and JavaScript/TypeScript projects.
4040

4141
- [packages/kysely-driver](./packages/kysely-driver/README.md)
4242

43-
- Kysely integration (ORM) for React Native and JavaScript/TypeScript projects.
43+
- [Kysely](https://kysely.dev/) integration (ORM) for React Native and JavaScript/TypeScript projects.
4444

4545
- [packages/drizzle-driver](./packages/drizzle-driver/README.md)
4646

47-
- Drizzle integration (ORM) for React Native and JavaScript/TypeScript projects.
47+
- [Drizzle](https://orm.drizzle.team/) integration (ORM) for React Native and JavaScript/TypeScript projects.
4848

4949
- [packages/powersync-op-sqlite](./packages/powersync-op-sqlite/README.md)
5050

51-
- OP-SQLite integration for React Native projects.
51+
- [OP-SQLite](https://github.com/OP-Engineering/op-sqlite) integration for React Native projects. Alternative to the default usage of [react-native-quick-sqlite](https://github.com/powersync-ja/react-native-quick-sqlite).
5252

5353
- [packages/common](./packages/common/README.md)
5454
- Shared package: TypeScript implementation of a PowerSync database connector and streaming sync bucket implementation.
@@ -139,7 +139,7 @@ Merging a PR with Changesets will automatically create a PR with version bumps.
139139

140140
## React Native Quick SQLite Development
141141

142-
The PowerSync React Native SDK uses [a fork of react-native-quick-sqlite](https://github.com/powersync-ja/react-native-quick-sqlite)
142+
By default, the PowerSync React Native SDK uses [a fork of react-native-quick-sqlite](https://github.com/powersync-ja/react-native-quick-sqlite)
143143

144144
Testing live development changes to `@journeyapps/react-native-quick-sqlite` will not work with standard `yarn link` commands. Metro does not work well with symlinks <https://github.com/facebook/metro/issues/286>.
145145

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"description": "monorepo for powersync javascript sdks",
66
"main": "index.js",
77
"scripts": {
8-
"build:packages": "pnpm run --filter './packages/**' -r build",
9-
"build:packages:prod": "pnpm run --filter './packages/**' -r build:prod",
10-
"clean:packages": "pnpm run --filter './packages/**' -r clean",
11-
"watch:packages": "pnpm run --parallel --filter './packages/**' -r build -w",
8+
"build:packages": "pnpm run --filter {./packages/**} -r build",
9+
"build:packages:prod": "pnpm run --filter {./packages/**} -r build:prod",
10+
"clean:packages": "pnpm run --filter {./packages/**} -r clean",
11+
"watch:packages": "pnpm run --parallel --filter {./packages/**} -r build -w",
1212
"changeset:version": "pnpm changeset version && pnpm install --lockfile-only --frozen-lockfile=false",
1313
"build": "pnpm run -r build",
1414
"ci:publish": "changeset publish && git push --follow-tags",

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.29.0"
32+
"@powersync/common": "workspace:^1.30.0"
3333
},
3434
"devDependencies": {
3535
"@powersync/common": "workspace:*",

packages/common/CHANGELOG.md

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

3+
## 1.30.0
4+
5+
### Minor Changes
6+
7+
- 2949d58: - Add `trackPreviousValues` option on `Table` which sets `CrudEntry.previousValues` to previous values on updates.
8+
- Add `trackMetadata` option on `Table` which adds a `_metadata` column that can be used for updates.
9+
The configured metadata is available through `CrudEntry.metadata`.
10+
- Add `ignoreEmptyUpdates` option which skips creating CRUD entries for updates that don't change any values.
11+
12+
### Patch Changes
13+
14+
- c30cbef: Fix applying bucket state around partial syncs.
15+
316
## 1.29.0
417

518
### 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.29.0",
3+
"version": "1.30.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.29.0",
29+
"@powersync/common": "workspace:^1.30.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.29.0"
29+
"@powersync/common": "workspace:^1.30.0"
3030
},
3131
"dependencies": {
3232
"kysely": "^0.28.0"

0 commit comments

Comments
 (0)