@checkstack/queue-api 0.3.8 → 0.3.10
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 +26 -0
- package/package.json +3 -3
- package/src/queue-plugin.ts +1 -1
- package/tsconfig.json +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @checkstack/queue-api
|
|
2
2
|
|
|
3
|
+
## 0.3.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 13373ce: Break the publish-time dependency cycle between `@checkstack/backend-api` and `@checkstack/cache-api` / `@checkstack/queue-api`.
|
|
8
|
+
|
|
9
|
+
`cache-api` and `queue-api` only ever used `Logger` and `Migration` from `backend-api` as `import type`, yet declared `@checkstack/backend-api` as a runtime dependency. In the monorepo this is harmless (everything resolves via `workspace:*`), but once published, `bun publish` freezes each `workspace:*` into a concrete pin of the _other_ package's then-current version. Because the dependency is mutual, a consumer installing these packages from the registry must resolve `backend-api -> cache-api -> backend-api -> ...` backward through release history until it reaches ancient versions that shipped raw `workspace:*` ranges and a long-removed `@checkstack/cache-api@0.1.0` pin - which fail to resolve. This surfaced as `bun install` errors (and a missing `checkstack-dev` binary) in freshly scaffolded standalone plugins.
|
|
10
|
+
|
|
11
|
+
`Logger` and `Migration` now live in `@checkstack/common` (a dependency-free leaf package). `@checkstack/backend-api` re-exports both for backward compatibility, so existing `import type { Logger, Migration } from "@checkstack/backend-api"` call sites are unchanged. `cache-api` and `queue-api` now depend on `@checkstack/common` instead of `@checkstack/backend-api`, removing the cycle.
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [13373ce]
|
|
14
|
+
- @checkstack/common@0.14.0
|
|
15
|
+
|
|
16
|
+
## 0.3.9
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [9dcc848]
|
|
21
|
+
- Updated dependencies [9dcc848]
|
|
22
|
+
- Updated dependencies [9dcc848]
|
|
23
|
+
- Updated dependencies [9dcc848]
|
|
24
|
+
- Updated dependencies [9dcc848]
|
|
25
|
+
- Updated dependencies [9dcc848]
|
|
26
|
+
- Updated dependencies [9dcc848]
|
|
27
|
+
- @checkstack/backend-api@0.21.0
|
|
28
|
+
|
|
3
29
|
## 0.3.8
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@checkstack/queue-api",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.10",
|
|
4
4
|
"license": "Elastic-2.0",
|
|
5
5
|
"checkstack": {
|
|
6
6
|
"type": "tooling"
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "src/index.ts",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@checkstack/
|
|
11
|
+
"@checkstack/common": "0.13.0",
|
|
12
12
|
"zod": "^4.0.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@checkstack/tsconfig": "0.0.7",
|
|
16
|
-
"@checkstack/scripts": "0.
|
|
16
|
+
"@checkstack/scripts": "0.4.0"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
19
|
"typecheck": "tsgo -b",
|
package/src/queue-plugin.ts
CHANGED
|
@@ -6,7 +6,7 @@ import type {
|
|
|
6
6
|
ListJobsOptions,
|
|
7
7
|
ListJobsResult,
|
|
8
8
|
} from "./queue";
|
|
9
|
-
import type { Migration, Logger } from "@checkstack/
|
|
9
|
+
import type { Migration, Logger } from "@checkstack/common";
|
|
10
10
|
|
|
11
11
|
export interface QueuePlugin<Config = unknown> {
|
|
12
12
|
id: string;
|