@shivaedev/effect-changes-prisma 0.3.0 → 0.3.2

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +2 -0
  3. package/package.json +13 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.2 - 2026-10-04
4
+
5
+ ### Changed
6
+
7
+ - Imports that leave their folder go through `#` aliases declared in the `imports` field of `package.json`: `#*.ts` resolves to `src` under the `source` condition and to `dist` otherwise, and `#test/*` names a test file. The published modules and declarations name the package's own files through these aliases.
8
+
9
+ ## 0.3.1 - 2026-10-04
10
+
11
+ ### Changed
12
+
13
+ - The README and the package description say plainly that the package works with PostgreSQL only.
14
+
3
15
  ## 0.3.0 - 2026-10-04
4
16
 
5
17
  ### Changed
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Commit-bound change channels for Prisma Classic (`@prisma/client` with interactive `$transaction`). Writes to mapped models record their changes automatically; the changes publish once, deduplicated, after the transaction commits, and never for a rollback. A test-time coverage check reports writes that no recorded change accounts for.
4
4
 
5
+ It works with PostgreSQL only. The coverage check reads PostgreSQL's `pg_stat_xact_user_tables`, `isolationLevel` takes the levels Prisma accepts on PostgreSQL, and every test runs against PostgreSQL.
6
+
5
7
  It binds a [`@shivaedev/effect-changes`](../effect-changes) channel to Prisma: the channel semantics (owners, savepoint merge and discard, batches, sink failures, test seams) are the same, see [commit-bound changes](../../docs/framework/changes.md).
6
8
 
7
9
  ```ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shivaedev/effect-changes-prisma",
3
- "version": "0.3.0",
4
- "description": "Commit-bound change channels for Prisma Classic: automatic change recording, publish after $transaction commits, and a test-time coverage check",
3
+ "version": "0.3.2",
4
+ "description": "Commit-bound change channels for Prisma Classic on PostgreSQL only: automatic change recording, publish after $transaction commits, and a test-time coverage check",
5
5
  "homepage": "https://github.com/ShivaeDev/platform/tree/main/packages/effect-changes-prisma#readme",
6
6
  "bugs": {
7
7
  "url": "https://github.com/ShivaeDev/platform/issues"
@@ -14,6 +14,14 @@
14
14
  "license": "MIT",
15
15
  "sideEffects": false,
16
16
  "type": "module",
17
+ "imports": {
18
+ "#test/*": "./test/*",
19
+ "#*.ts": {
20
+ "source": "./src/*.ts",
21
+ "types": "./dist/*.d.ts",
22
+ "default": "./dist/*.js"
23
+ }
24
+ },
17
25
  "exports": {
18
26
  ".": {
19
27
  "types": "./dist/index.d.ts",
@@ -30,13 +38,13 @@
30
38
  "README.md"
31
39
  ],
32
40
  "dependencies": {
33
- "@shivaedev/effect-changes": "0.1.0",
34
- "@shivaedev/types": "0.1.0"
41
+ "@shivaedev/effect-changes": "0.1.1",
42
+ "@shivaedev/types": "0.1.1"
35
43
  },
36
44
  "devDependencies": {
37
45
  "@prisma/adapter-pg": "7.10.0",
38
46
  "@prisma/client": "7.10.0",
39
- "@shivaedev/quality": "0.7.0",
47
+ "@shivaedev/quality": "0.7.3",
40
48
  "@types/node": "24.10.1",
41
49
  "@typescript/native": "npm:typescript@7.0.2",
42
50
  "effect": "4.0.0-rc.112",