@shivaedev/effect-changes-prisma 0.2.0 → 0.2.1

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1 - 2026-09-28
4
+
5
+ ### Changed
6
+
7
+ - Pin the `@prisma/client` peer dependency to exactly 7.10.0, the version the
8
+ package is now tested against, instead of 7.9.1.
9
+
3
10
  ## 0.2.0 - 2026-09-26
4
11
 
5
12
  ### Added
package/README.md CHANGED
@@ -138,9 +138,9 @@ const violations = checkCoverage({
138
138
  - The client handed to `use` wraps write methods of mapped models, so their results are plain promises: pass them to `transaction`, not to the array form of `$transaction`, and do not chain fluent relation calls on them. Calling `$transaction` on that client runs outside the binding; use `transaction`.
139
139
  - A relation write nested in `data` records only the top-level model.
140
140
  - Prisma's interactive transaction timeout (5 seconds by default) still applies; pass `{ timeout }` to `transaction` for a longer one.
141
- - The client's timeout is read from Prisma's internal client configuration, which Prisma `7.9.1` keeps on the client. If a later Prisma moves it, `transaction` sets no deadline of its own, and a body that outlives Prisma's timeout stops at its first query after the transaction closes; pass `{ timeout }` to have it interrupted on time.
141
+ - The client's timeout is read from Prisma's internal client configuration, which Prisma `7.10.0` keeps on the client. If a later Prisma moves it, `transaction` sets no deadline of its own, and a body that outlives Prisma's timeout stops at its first query after the transaction closes; pass `{ timeout }` to have it interrupted on time.
142
142
  - `checkCoverage` matches tables by name, not by schema.
143
143
  - `writtenTables` does not see a `TRUNCATE` inside the test transaction: `TRUNCATE` resets the transaction's insert, update and delete counts in `pg_stat_xact_user_tables`, so they fall back to the baseline, and a table that was written and then truncated counts as unwritten.
144
144
  - Delivery is in-process, as for every effect-changes channel.
145
145
 
146
- Tested with Prisma `7.9.1` and `@prisma/adapter-pg` on PostgreSQL 18, and Effect `4.0.0-rc.112`.
146
+ Tested with Prisma `7.10.0` and `@prisma/adapter-pg` on PostgreSQL 18, and Effect `4.0.0-rc.112`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shivaedev/effect-changes-prisma",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Commit-bound change channels for Prisma Classic: automatic change recording, publish after $transaction commits, and a test-time coverage check",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -40,16 +40,16 @@
40
40
  "@shivaedev/effect-changes": "0.1.0"
41
41
  },
42
42
  "peerDependencies": {
43
- "@prisma/client": "7.9.1",
43
+ "@prisma/client": "7.10.0",
44
44
  "effect": "4.0.0-rc.112"
45
45
  },
46
46
  "devDependencies": {
47
- "@prisma/adapter-pg": "7.9.1",
48
- "@prisma/client": "7.9.1",
47
+ "@prisma/adapter-pg": "7.10.0",
48
+ "@prisma/client": "7.10.0",
49
49
  "@types/node": "24.10.1",
50
50
  "@typescript/native": "npm:typescript@7.0.2",
51
51
  "effect": "4.0.0-rc.112",
52
- "prisma": "7.9.1",
52
+ "prisma": "7.10.0",
53
53
  "typescript": "npm:@typescript/typescript6@6.0.2",
54
54
  "vitest": "4.1.9"
55
55
  },