kysely-postgrejs 1.2.2 โ 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -1
- package/README.md +7 -7
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
<!-- rman:documented-up-to
|
|
3
|
+
<!-- rman:documented-up-to cdcf901c6a59d7d9b06d3f67030f0236e68dfee8 -->
|
|
4
|
+
|
|
5
|
+
## v1.2.3 (2026-11-27)
|
|
6
|
+
|
|
7
|
+
### ๐ Documentation
|
|
8
|
+
|
|
9
|
+
- point at the postgrejs notes where they now live (5c26440)
|
|
10
|
+
- add the security policy, code of conduct and issue templates (e0a39b8)
|
|
11
|
+
- move doc/ to docs/ (86da877)
|
|
12
|
+
|
|
13
|
+
### ๐ฆ Build System
|
|
14
|
+
|
|
15
|
+
- install and publish with pnpm (0012140)
|
|
16
|
+
|
|
17
|
+
### ๐ค Continuous Integration
|
|
18
|
+
|
|
19
|
+
- guard main, declare the test job's permissions and move coverage to the release (9c803d0)
|
|
20
|
+
|
|
21
|
+
### ๐งน Chores
|
|
22
|
+
|
|
23
|
+
- sync lockfile [skip ci] (cdd4227)
|
|
24
|
+
- share the Claude settings and keep session notes local (7a0c720)
|
|
25
|
+
- bring the shared config files back to the preset templates (0223a9a)
|
|
26
|
+
- ignore the graphify git hooks (c443254)
|
|
27
|
+
- **deps:** catch the manifest ranges up with what is installed (2bd33f2)
|
|
28
|
+
|
|
29
|
+
### ๐ฌ General Changes
|
|
30
|
+
|
|
31
|
+
- Merge pull request #9 from panates/chore/standards (d544682)
|
|
32
|
+
|
|
33
|
+
---
|
|
4
34
|
|
|
5
35
|
## v1.2.2 (2026-11-15)
|
|
6
36
|
|
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ ms against 37.2 ms, on 4.1 MB a call against 51.6 MB - `pg` reads that column as
|
|
|
16
16
|
size, off the JS heap where a heap figure alone cannot see it. A 100k-element `int4[]` runs 3.9x, on
|
|
17
17
|
2.2 MB against 22.9 MB. Ordinary queries gain less and gain it repeatably: a point read is the
|
|
18
18
|
faster of the two in 100 of 101 alternated pairs. All of it measured through Kysely against Kysely's
|
|
19
|
-
own `PostgresDialect` over `pg`, on the same server: [`
|
|
19
|
+
own `PostgresDialect` over `pg`, on the same server: [`docs/BENCHMARKS.md`](docs/BENCHMARKS.md).
|
|
20
20
|
|
|
21
21
|
<!-- /bench:intro -->
|
|
22
22
|
|
|
@@ -296,7 +296,7 @@ baseline would be taken with both clients already up, so what a client allocates
|
|
|
296
296
|
would sit under the window rather than in it. The figure is `heapUsed + external`, since a `bytea`
|
|
297
297
|
arrives as a `Buffer` and lives outside the JS heap entirely.
|
|
298
298
|
|
|
299
|
-
Run it yourself with `
|
|
299
|
+
Run it yourself with `pnpm run bench`; [`docs/BENCHMARKS.md`](docs/BENCHMARKS.md) has the held-memory
|
|
300
300
|
and high-water figures, the wire counts, and the rest of the method.
|
|
301
301
|
|
|
302
302
|
## Tested against Kysely's own suite
|
|
@@ -414,16 +414,16 @@ The unit tests need nothing; the live ones need a PostgreSQL at `127.0.0.1:5432`
|
|
|
414
414
|
`PGDATABASE` override.
|
|
415
415
|
|
|
416
416
|
```sh
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
417
|
+
pnpm test # unit + live tests
|
|
418
|
+
pnpm run citest # the same, with coverage
|
|
419
|
+
pnpm run typecheck # type check without emitting
|
|
420
420
|
rman lint # eslint, with the organization's flags
|
|
421
421
|
rman check # circular dependencies
|
|
422
422
|
rman build # compile into build/, ready to publish
|
|
423
423
|
|
|
424
424
|
scripts/run-kysely-suite.sh # Kysely's own suite, on its own database
|
|
425
|
-
|
|
426
|
-
|
|
425
|
+
pnpm run bench # the benchmark, against pg through Kysely
|
|
426
|
+
pnpm run bench:report # render the last run into the docs
|
|
427
427
|
```
|
|
428
428
|
|
|
429
429
|
The tests come in two kinds, and the split is deliberate:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kysely-postgrejs",
|
|
3
3
|
"description": "Kysely dialect for PostgreJS - run a Kysely query builder on PostgreJS's wire-protocol client",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.3",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"peerDependencies": {
|
|
@@ -48,4 +48,4 @@
|
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
}
|
|
51
|
-
}
|
|
51
|
+
}
|