@object-ui/permissions 3.1.5 → 3.3.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +96 -0
  2. package/README.md +21 -1
  3. package/package.json +31 -8
package/CHANGELOG.md ADDED
@@ -0,0 +1,96 @@
1
+ # @object-ui/permissions
2
+
3
+ ## 3.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - @object-ui/types@3.3.1
8
+
9
+ ## 3.3.0
10
+
11
+ ### Patch Changes
12
+
13
+ - @object-ui/types@3.3.0
14
+
15
+ ## 3.2.0
16
+
17
+ ### Patch Changes
18
+
19
+ - @object-ui/types@3.2.0
20
+
21
+ ## 3.1.5
22
+
23
+ ### Patch Changes
24
+
25
+ - @object-ui/types@3.1.5
26
+
27
+ ## 3.1.4
28
+
29
+ ### Patch Changes
30
+
31
+ - @object-ui/types@3.1.4
32
+
33
+ ## 3.1.3
34
+
35
+ ### Patch Changes
36
+
37
+ - @object-ui/types@3.1.3
38
+
39
+ ## 3.1.2
40
+
41
+ ### Patch Changes
42
+
43
+ - @object-ui/types@3.1.2
44
+
45
+ ## 3.1.1
46
+
47
+ ### Patch Changes
48
+
49
+ - Updated dependencies
50
+ - @object-ui/types@3.1.1
51
+
52
+ ## 3.0.3
53
+
54
+ ### Patch Changes
55
+
56
+ - @object-ui/types@3.0.3
57
+
58
+ ## 3.0.2
59
+
60
+ ### Patch Changes
61
+
62
+ - @object-ui/types@3.0.2
63
+
64
+ ## 3.0.1
65
+
66
+ ### Patch Changes
67
+
68
+ - @object-ui/types@3.0.1
69
+
70
+ ## 3.0.0
71
+
72
+ ### Minor Changes
73
+
74
+ - 87979c3: Upgrade to @objectstack v3.0.0 and console bundle optimization
75
+ - Upgraded all @objectstack/\* packages from ^2.0.7 to ^3.0.0
76
+ - Breaking change migrations: Hub → Cloud namespace, definePlugin removed, PaginatedResult.value → .records, PaginatedResult.count → .total, client.meta.getObject() → client.meta.getItem()
77
+ - Console bundle optimization: split monolithic 3.7 MB chunk into 17 granular cacheable chunks (95% main entry reduction)
78
+ - Added gzip + brotli pre-compression via vite-plugin-compression2
79
+ - Lazy MSW loading for build:server (~150 KB gzip saved)
80
+ - Added bundle analysis with rollup-plugin-visualizer
81
+
82
+ ### Patch Changes
83
+
84
+ - Updated dependencies [87979c3]
85
+ - @object-ui/types@3.0.0
86
+
87
+ ## 2.0.0
88
+
89
+ ### Major Changes
90
+
91
+ - b859617: Release v1.0.0 — unify all package versions to 1.0.0
92
+
93
+ ### Patch Changes
94
+
95
+ - Updated dependencies [b859617]
96
+ - @object-ui/types@2.0.0
package/README.md CHANGED
@@ -121,6 +121,26 @@ const store = createPermissionStore(permissionConfig);
121
121
  store.check('read', 'orders'); // true | false
122
122
  ```
123
123
 
124
+ <!-- release-metadata:v3.3.0 -->
125
+
126
+ ## Compatibility
127
+
128
+ - **React:** 18.x or 19.x
129
+ - **Node.js:** ≥ 18
130
+ - **TypeScript:** ≥ 5.0 (strict mode)
131
+ - **`@objectstack/spec`:** ^3.3.0
132
+ - **`@objectstack/client`:** ^3.3.0
133
+ - **Tailwind CSS:** ≥ 3.4 (for packages with UI)
134
+
135
+ ## Links
136
+
137
+ - 📚 [Documentation](https://www.objectui.org/docs/packages/permissions)
138
+ - 📦 [npm package](https://www.npmjs.com/package/@object-ui/permissions)
139
+ - 📝 [Changelog](./CHANGELOG.md)
140
+ - 🐛 [Report an issue](https://github.com/objectstack-ai/objectui/issues)
141
+ - 🤝 [Contributing Guide](https://github.com/objectstack-ai/objectui/blob/main/CONTRIBUTING.md)
142
+ - 🗺️ [Roadmap](https://github.com/objectstack-ai/objectui/blob/main/ROADMAP.md)
143
+
124
144
  ## License
125
145
 
126
- MIT
146
+ MIT — see [LICENSE](./LICENSE).
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@object-ui/permissions",
3
- "version": "3.1.5",
3
+ "version": "3.3.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "RBAC permission system for Object UI with object/field/row-level access control, permission guards, and hooks.",
7
- "homepage": "https://www.objectui.org",
7
+ "homepage": "https://www.objectui.org/docs/packages/permissions",
8
8
  "repository": {
9
9
  "type": "git",
10
- "url": "https://github.com/objectstack-ai/objectui.git",
10
+ "url": "git+https://github.com/objectstack-ai/objectui.git",
11
11
  "directory": "packages/permissions"
12
12
  },
13
13
  "main": "./dist/index.js",
@@ -21,19 +21,42 @@
21
21
  }
22
22
  },
23
23
  "files": [
24
- "dist"
24
+ "dist",
25
+ "README.md",
26
+ "CHANGELOG.md",
27
+ "LICENSE"
25
28
  ],
26
29
  "peerDependencies": {
27
30
  "react": "^18.0.0 || ^19.0.0"
28
31
  },
29
32
  "dependencies": {
30
- "@object-ui/types": "3.1.5"
33
+ "@object-ui/types": "3.3.1"
31
34
  },
32
35
  "devDependencies": {
33
36
  "@types/react": "19.2.14",
34
- "react": "19.2.4",
35
- "typescript": "^5.9.3",
36
- "vitest": "^4.1.0"
37
+ "react": "19.2.5",
38
+ "typescript": "^6.0.3",
39
+ "vitest": "^4.1.5"
40
+ },
41
+ "keywords": [
42
+ "objectui",
43
+ "sdui",
44
+ "schema-driven-ui",
45
+ "react",
46
+ "tailwind",
47
+ "shadcn",
48
+ "objectstack",
49
+ "permissions",
50
+ "rbac",
51
+ "access-control",
52
+ "authorization"
53
+ ],
54
+ "author": "ObjectStack Team <team@objectstack.ai>",
55
+ "bugs": {
56
+ "url": "https://github.com/objectstack-ai/objectui/issues"
57
+ },
58
+ "publishConfig": {
59
+ "access": "public"
37
60
  },
38
61
  "scripts": {
39
62
  "build": "tsc",