@fabricorg/policy-opa 0.4.0 → 0.4.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/CHANGELOG.md +13 -0
  2. package/package.json +71 -70
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @fabricorg/policy-opa
2
2
 
3
+ ## 0.4.2 — 2026-07-20
4
+
5
+ ### Patch
6
+
7
+ - Expand the `@fabricorg/platform` peer range to support 0.8 external mutation governance
8
+ contracts; the OPA adapter API and runtime behavior are unchanged.
9
+
10
+ ## 0.4.1 — 2026-07-19
11
+
12
+ ### Patch
13
+
14
+ - Expand the `@fabricorg/platform` peer range to support both 0.6 and 0.7.
15
+
3
16
  ## 0.4.0 — 2026-05-17
4
17
 
5
18
  ### Minor
package/package.json CHANGED
@@ -1,71 +1,72 @@
1
1
  {
2
- "name": "@fabricorg/policy-opa",
3
- "version": "0.4.0",
4
- "description": "Open Policy Agent (OPA) adapter for @fabricorg/platform. Wraps a Rego decision behind Fabric's PolicyEvaluator contract — Fabric keeps policyId.vN canonical for audit; engine evidence carries OPA provenance (decision path, input hash, bundle revision). Zero coupling to a specific OPA SDK; structurally typed client.",
5
- "keywords": [
6
- "fabric",
7
- "fabricorg",
8
- "policy",
9
- "opa",
10
- "open-policy-agent",
11
- "rego",
12
- "authorization",
13
- "policy-engine"
14
- ],
15
- "license": "MIT",
16
- "author": "Fabric",
17
- "repository": {
18
- "type": "git",
19
- "url": "https://github.com/Fabric-Pro/fabric-platform.git",
20
- "directory": "packages/policy-opa"
21
- },
22
- "homepage": "https://github.com/Fabric-Pro/fabric-platform#readme",
23
- "bugs": {
24
- "url": "https://github.com/Fabric-Pro/fabric-platform/issues"
25
- },
26
- "type": "module",
27
- "sideEffects": false,
28
- "main": "./dist/index.cjs",
29
- "types": "./dist/index.d.ts",
30
- "exports": {
31
- ".": {
32
- "import": {
33
- "types": "./dist/index.d.ts",
34
- "default": "./dist/index.js"
35
- },
36
- "require": {
37
- "types": "./dist/index.d.cts",
38
- "default": "./dist/index.cjs"
39
- }
40
- }
41
- },
42
- "files": [
43
- "dist",
44
- "README.md",
45
- "CHANGELOG.md",
46
- "LICENSE"
47
- ],
48
- "peerDependencies": {
49
- "@fabricorg/platform": "^0.5.0"
50
- },
51
- "dependencies": {},
52
- "devDependencies": {
53
- "@types/node": "^22.10.0",
54
- "tsup": "^8.5.0",
55
- "typescript": "^5.7.3",
56
- "vitest": "^4.1.5",
57
- "@fabricorg/platform": "0.5.0"
58
- },
59
- "engines": {
60
- "node": ">=20"
61
- },
62
- "publishConfig": {
63
- "access": "public"
64
- },
65
- "scripts": {
66
- "clean": "rm -rf dist tsconfig.tsbuildinfo",
67
- "build": "tsup",
68
- "type-check": "tsc --noEmit",
69
- "test": "vitest run --passWithNoTests"
70
- }
71
- }
2
+ "name": "@fabricorg/policy-opa",
3
+ "version": "0.4.2",
4
+ "description": "Open Policy Agent (OPA) adapter for @fabricorg/platform. Wraps a Rego decision behind Fabric's PolicyEvaluator contract — Fabric keeps policyId.vN canonical for audit; engine evidence carries OPA provenance (decision path, input hash, bundle revision). Zero coupling to a specific OPA SDK; structurally typed client.",
5
+ "keywords": [
6
+ "fabric",
7
+ "fabricorg",
8
+ "policy",
9
+ "opa",
10
+ "open-policy-agent",
11
+ "rego",
12
+ "authorization",
13
+ "policy-engine"
14
+ ],
15
+ "license": "MIT",
16
+ "author": "Fabric",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/Fabric-Pro/fabric-platform.git",
20
+ "directory": "packages/policy-opa"
21
+ },
22
+ "homepage": "https://github.com/Fabric-Pro/fabric-platform#readme",
23
+ "bugs": {
24
+ "url": "https://github.com/Fabric-Pro/fabric-platform/issues"
25
+ },
26
+ "type": "module",
27
+ "sideEffects": false,
28
+ "main": "./dist/index.cjs",
29
+ "types": "./dist/index.d.ts",
30
+ "exports": {
31
+ ".": {
32
+ "import": {
33
+ "types": "./dist/index.d.ts",
34
+ "default": "./dist/index.js"
35
+ },
36
+ "require": {
37
+ "types": "./dist/index.d.cts",
38
+ "default": "./dist/index.cjs"
39
+ }
40
+ }
41
+ },
42
+ "files": [
43
+ "dist",
44
+ "README.md",
45
+ "CHANGELOG.md",
46
+ "LICENSE"
47
+ ],
48
+ "scripts": {
49
+ "clean": "rm -rf dist tsconfig.tsbuildinfo",
50
+ "build": "tsup",
51
+ "type-check": "tsc --noEmit",
52
+ "test": "vitest run --passWithNoTests",
53
+ "prepublishOnly": "pnpm clean && pnpm build && pnpm test"
54
+ },
55
+ "peerDependencies": {
56
+ "@fabricorg/platform": "^0.6.0 || ^0.7.0 || ^0.8.0"
57
+ },
58
+ "dependencies": {},
59
+ "devDependencies": {
60
+ "@fabricorg/platform": "workspace:*",
61
+ "@types/node": "^22.10.0",
62
+ "tsup": "^8.5.0",
63
+ "typescript": "^5.7.3",
64
+ "vitest": "^4.1.5"
65
+ },
66
+ "engines": {
67
+ "node": ">=20"
68
+ },
69
+ "publishConfig": {
70
+ "access": "public"
71
+ }
72
+ }