@stablemates/workhorse-prisma 0.1.0-beta.2 → 0.1.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 (2) hide show
  1. package/README.md +9 -7
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -2,9 +2,10 @@
2
2
 
3
3
  The Prisma ORM provider for enqueuing Workhorse jobs through Prisma transactions.
4
4
 
5
- > **Public beta:** Workhorse is usable for evaluation and early production adoption, but 0.x minor
6
- > releases may break compatibility, including the schema. There is no upgrade path between 0.x
7
- > releases; ordered migrations begin at 1.0.0.
5
+ > **Public beta:** Workhorse is usable for evaluation and early production adoption. A 0.x minor
6
+ > release may change behaviour, so read the changelog before you upgrade. It will not ask you to
7
+ > recreate your database: migrations are ordered, and inside a major line a migration only adds, so
8
+ > a running deployment upgrades in place.
8
9
 
9
10
  ## Install
10
11
 
@@ -29,10 +30,11 @@ await prisma.$transaction(async (tx) => {
29
30
 
30
31
  ## Package boundary
31
32
 
32
- The adapter never disconnects a caller-owned Prisma client unless `close` is configured. Workhorse
33
- core owns schema installation and changes. Pass a `pg` pool as `notificationPool` for
34
- `LISTEN/NOTIFY`; otherwise workers poll. Database errors become `PrismaQueryError`, with the original
35
- error in `cause` and a nested PostgreSQL code copied to `code` when Prisma exposes one.
33
+ The adapter never disconnects a caller-owned Prisma client unless `close` is configured.
34
+ [Workhorse core](https://workhorse.run/docs/installation) owns schema installation and changes.
35
+ Pass a `pg` pool as `notificationPool` for `LISTEN/NOTIFY`; otherwise workers poll. Database errors
36
+ become `PrismaQueryError`, with the original error in `cause` and a nested PostgreSQL code copied to
37
+ `code` when Prisma exposes one.
36
38
 
37
39
  ## Next
38
40
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stablemates/workhorse-prisma",
3
- "version": "0.1.0-beta.2",
3
+ "version": "0.1.2",
4
4
  "description": "Public beta Prisma ORM provider for Workhorse",
5
5
  "homepage": "https://workhorse.run",
6
6
  "bugs": {
@@ -35,11 +35,11 @@
35
35
  "@types/pg": "^8.15.5",
36
36
  "pg": "^8.16.3",
37
37
  "prisma": "6.19.3",
38
- "@stablemates/workhorse": "0.1.0-beta.2"
38
+ "@stablemates/workhorse": "0.1.2"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@prisma/client": ">=6 <7",
42
- "@stablemates/workhorse": ">=0.1.0-beta.1 <0.2.0"
42
+ "@stablemates/workhorse": ">=0.1.0 <0.2.0"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=22"