Skip to content

Commit 6dcfe68

Browse files
committed
Merge branch 'feat/modular-replication-architecture' into mongodb-alpha
2 parents fb52b59 + 2eb566a commit 6dcfe68

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1347
-2088
lines changed

.changeset/short-bats-sin.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@powersync/service-sync-rules': minor
3+
---
4+
5+
Warn when identifiers are automatically convererted to lower case.

.changeset/stupid-maps-buy.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@powersync/service-core': patch
3+
'@powersync/service-image': patch
4+
---
5+
6+
Fix checksum cache edge case with compacting

.changeset/weak-cats-hug.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@powersync/service-sync-rules': minor
3+
---
4+
5+
Optionally include original types in generated schemas as a comment.

.changeset/wet-gorillas-remember.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@powersync/service-sync-rules': minor
3+
---
4+
5+
Expand supported combinations of the IN operator

.changeset/young-rockets-behave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@powersync/service-core': patch
3+
---
4+
5+
Fix "JavaScript heap out of memory" on startup (slot health check)

.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Connections for tests
2-
MONGO_TEST_UR="mongodb://localhost:27017/powersync_test"
2+
MONGO_TEST_URL="mongodb://localhost:27017/powersync_test"
33
PG_TEST_URL="postgres://postgres:postgres@localhost:5432/powersync_test"

.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
**/.git
2+
**/node_modules
3+
dist
4+
lib
5+
pnpm-lock.yaml

DEVELOP.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pnpm build
2020

2121
The PowerSync service requires Postgres and MongoDB server connections. These configuration details can be specified in a `powersync.yaml` (or JSON) configuration file.
2222

23-
See the [Self hosting demo](https://github.com/powersync-ja/self-host-demo) for demos of starting these services.
23+
See the [self-hosting demo](https://github.com/powersync-ja/self-host-demo) for demos of starting these services.
2424

2525
A quick method for running all required services with a handy backend and frontend is to run the following in a checked-out `self-host-demo` folder.
2626

@@ -65,7 +65,7 @@ Some tests for these packages require a connection to MongoDB and Postgres. Conn
6565
These can be set in a terminal/shell
6666

6767
```bash
68-
export MONGO_TEST_UR="mongodb://localhost:27017/powersync_test"
68+
export MONGO_TEST_URL="mongodb://localhost:27017/powersync_test"
6969
export PG_TEST_URL="postgres://postgres:postgres@localhost:5432/powersync_test"
7070
```
7171

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
<a href="https://www.powersync.com" target="_blank"><img src="https://github.com/powersync-ja/.github/assets/7372448/d2538c43-c1a0-4c47-9a76-41462dba484f"/></a>
33
</p>
44

5-
_[PowerSync](https://www.powersync.com) is a Postgres-SQLite sync engine, which helps developers to create local-first real-time reactive apps that work seamlessly both online and offline._
5+
*[PowerSync](https://www.powersync.com) is a sync engine for building local-first apps with instantly-responsive UI/UX and simplified state transfer. Syncs between SQLite on the client-side and Postgres or MongoDB on the server-side (MySQL coming soon).*
66

77
# PowerSync Service
88

9-
`powersync-service` is the monorepo for the core [PowerSync service](https://docs.powersync.com/architecture/powersync-service).
9+
`powersync-service` is the monorepo for the core [PowerSync Service](https://docs.powersync.com/architecture/powersync-service).
1010

1111
The service can be started using the public Docker image. See the image [notes](./service/README.md)
1212

1313
# Monorepo Structure:
14+
1415
## Packages
1516

1617
- [packages/service-core](./packages/service-core/README.md)
@@ -19,7 +20,7 @@ The service can be started using the public Docker image. See the image [notes](
1920

2021
- [packages/jpgwire](./packages/jpgwire/README.md)
2122

22-
- Customized version of [pgwire](https://www.npmjs.com/package/pgwire?activeTab=dependencies)
23+
- Customized version of [pgwire](https://www.npmjs.com/package/pgwire?activeTab=dependencies) (used with Postgres)
2324

2425
- [packages/jsonbig](./packages/jsonbig/README.md)
2526

@@ -33,8 +34,8 @@ The service can be started using the public Docker image. See the image [notes](
3334

3435
- Library containing logic for PowerSync sync rules
3536

36-
- [packages/types](./packages/types/README.md)
37-
- Type definitions for the PowerSync service
37+
- [packages/types](./packages/types/)
38+
- Type definitions for the PowerSync Service
3839

3940
## Libraries
4041

@@ -46,19 +47,19 @@ The service can be started using the public Docker image. See the image [notes](
4647

4748
- [service](./service/README.md)
4849

49-
Contains the PowerSync service code. This project is used to build the `journeyapps/powersync-service` Docker image.
50+
Contains the PowerSync Service code. This project is used to build the `journeyapps/powersync-service` Docker image.
5051

5152
## Docs
5253

5354
- [docs](./docs/README.md)
5455

55-
Technical documentation regarding the implementation of PowerSync.
56+
Technical documentation regarding the implementation of PowerSync.
5657

5758
## Test Client
5859

5960
- [test-client](./test-client/README.md)
6061

61-
Contains a minimal client demonstrating direct usage of the HTTP stream sync API. This can be used to test sync rules in contexts such as automated testing.
62+
Contains a minimal client demonstrating direct usage of the HTTP stream sync API. This can be used to test sync rules in contexts such as automated testing.
6263

6364
# Developing
6465

libs/lib-services/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@
3333
"devDependencies": {
3434
"@types/lodash": "^4.17.5",
3535
"@types/uuid": "^9.0.4",
36-
"vitest": "^0.34.6"
36+
"vitest": "^2.1.1"
3737
}
3838
}

0 commit comments

Comments
 (0)