Skip to content

Commit dc04949

Browse files
Merge pull request #118 from powersync-ja/chore/modular-main
[Chore] Modular Main Update
2 parents f89a3b5 + 43eb945 commit dc04949

File tree

17 files changed

+189
-24
lines changed

17 files changed

+189
-24
lines changed

.changeset/funny-pianos-allow.md

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

.changeset/green-books-shout.md

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

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
test-service-container-build:
13-
name: Build and Test Powersync Service
13+
name: Build and Test PowerSync Service
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout

DEVELOP.md

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

1919
## Dependent Services
2020

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

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

@@ -36,7 +36,7 @@ One method to obtain access is to add the following to `/etc/hosts` (on Unix-lik
3636
127.0.0.1 mongo
3737
```
3838

39-
This will start all the services defined in the Self hosting demo except for the PowerSync service - which will be started from this repository.
39+
This will start all the services defined in the self-hosting demo except for the PowerSync Service - which will be started from this repository.
4040

4141
## Local Configuration
4242

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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 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)._
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, MongoDB or MySQL on the server-side._
66

77
# PowerSync Service
88

modules/module-postgres/src/types/types.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,10 @@ export function validatePort(port: string | number): number {
142142
if (typeof port == 'string') {
143143
port = parseInt(port);
144144
}
145-
if (port >= 1024 && port <= 49151) {
146-
return port;
147-
} else {
145+
if (port < 1024) {
148146
throw new Error(`Port ${port} not supported`);
149-
}
147+
}
148+
return port;
150149
}
151150

152151
/**

packages/service-core/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# @powersync/service-core
22

3+
## 0.8.7
4+
5+
### Patch Changes
6+
7+
- 6b72e6c: Improved Postgres connection port restrictions. Connections are now supported on ports >= 1024.
8+
9+
## 0.8.6
10+
11+
### Patch Changes
12+
13+
- 2d3bb6a: Fix "operation exceeded time limit" error
14+
- 17a6db0: Fix storageStats error in metrics endpoint when collections don't exist.
15+
- Updated dependencies [0f90b02]
16+
- @powersync/service-sync-rules@0.20.0
17+
318
## 0.8.5
419

520
### Patch Changes

packages/service-core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
"publishConfig": {
66
"access": "public"
77
},
8-
"version": "0.8.5",
8+
"version": "0.8.7",
99
"main": "dist/index.js",
1010
"license": "FSL-1.1-Apache-2.0",
1111
"type": "module",
1212
"scripts": {
1313
"build": "tsc -b",
1414
"build:tests": "tsc -b test/tsconfig.json",
1515
"test": "vitest",
16-
"clean": "rm -rf ./lib && tsc -b --clean"
16+
"clean": "rm -rf ./dist && tsc -b --clean"
1717
},
1818
"dependencies": {
1919
"@js-sdsl/ordered-set": "^4.4.2",

packages/sync-rules/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @powersync/service-sync-rules
22

3+
## 0.20.0
4+
5+
### Minor Changes
6+
7+
- 0f90b02: Support substring and json_keys functions in sync rules
8+
39
## 0.19.0
410

511
### Minor Changes

packages/sync-rules/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@powersync/service-sync-rules",
33
"repository": "https://github.com/powersync-ja/powersync-service",
4-
"version": "0.19.0",
4+
"version": "0.20.0",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"license": "FSL-1.1-Apache-2.0",

0 commit comments

Comments
 (0)