@strapi/strapi 4.11.3 → 4.12.0-beta.0

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/ee/license.js CHANGED
@@ -9,9 +9,13 @@ const machineId = require('../lib/utils/machine-id');
9
9
  const DEFAULT_FEATURES = {
10
10
  bronze: [],
11
11
  silver: [],
12
- // Set a null retention duration to allow the user to override it
13
- // The default of 90 days is set in the audit logs service
14
- gold: ['sso', { name: 'audit-logs', options: { retentionDays: null } }, 'review-workflows'],
12
+ gold: [
13
+ { name: 'sso' },
14
+ // Set a null retention duration to allow the user to override it
15
+ // The default of 90 days is set in the audit logs service
16
+ { name: 'audit-logs', options: { retentionDays: null } },
17
+ { name: 'review-workflows' },
18
+ ],
15
19
  };
16
20
 
17
21
  const publicKey = fs.readFileSync(join(__dirname, 'resources/key.pub'));
@@ -291,7 +291,7 @@ const getDiffHandler = (engine, { force, action }) => {
291
291
  if (
292
292
  uid === 'admin::workflow' ||
293
293
  uid === 'admin::workflow-stage' ||
294
- endPath?.startsWith('strapi_reviewWorkflows_')
294
+ endPath?.startsWith('strapi_stage')
295
295
  ) {
296
296
  workflowsStatus = diff.kind;
297
297
  }
@@ -45,6 +45,11 @@ export interface Strapi {
45
45
  */
46
46
  readonly config: any;
47
47
 
48
+ /**
49
+ * Getter for the Strapi admin container
50
+ */
51
+ readonly admin: any;
52
+
48
53
  /**
49
54
  * Getter for the Strapi auth container
50
55
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/strapi",
3
- "version": "4.11.3",
3
+ "version": "4.12.0-beta.0",
4
4
  "description": "An open source headless CMS solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier. Databases supported: MySQL, MariaDB, PostgreSQL, SQLite",
5
5
  "keywords": [
6
6
  "strapi",
@@ -81,19 +81,19 @@
81
81
  "dependencies": {
82
82
  "@koa/cors": "3.4.3",
83
83
  "@koa/router": "10.1.1",
84
- "@strapi/admin": "4.11.3",
85
- "@strapi/data-transfer": "4.11.3",
86
- "@strapi/database": "4.11.3",
87
- "@strapi/generate-new": "4.11.3",
88
- "@strapi/generators": "4.11.3",
89
- "@strapi/logger": "4.11.3",
90
- "@strapi/permissions": "4.11.3",
91
- "@strapi/plugin-content-manager": "4.11.3",
92
- "@strapi/plugin-content-type-builder": "4.11.3",
93
- "@strapi/plugin-email": "4.11.3",
94
- "@strapi/plugin-upload": "4.11.3",
95
- "@strapi/typescript-utils": "4.11.3",
96
- "@strapi/utils": "4.11.3",
84
+ "@strapi/admin": "4.12.0-beta.0",
85
+ "@strapi/data-transfer": "4.12.0-beta.0",
86
+ "@strapi/database": "4.12.0-beta.0",
87
+ "@strapi/generate-new": "4.12.0-beta.0",
88
+ "@strapi/generators": "4.12.0-beta.0",
89
+ "@strapi/logger": "4.12.0-beta.0",
90
+ "@strapi/permissions": "4.12.0-beta.0",
91
+ "@strapi/plugin-content-manager": "4.12.0-beta.0",
92
+ "@strapi/plugin-content-type-builder": "4.12.0-beta.0",
93
+ "@strapi/plugin-email": "4.12.0-beta.0",
94
+ "@strapi/plugin-upload": "4.12.0-beta.0",
95
+ "@strapi/typescript-utils": "4.12.0-beta.0",
96
+ "@strapi/utils": "4.12.0-beta.0",
97
97
  "bcryptjs": "2.4.3",
98
98
  "boxen": "5.1.2",
99
99
  "chalk": "4.1.2",
@@ -142,5 +142,5 @@
142
142
  "node": ">=14.19.1 <=18.x.x",
143
143
  "npm": ">=6.0.0"
144
144
  },
145
- "gitHead": "aac28413ada24fb8fff55c2908343cc3b8a2a3e0"
145
+ "gitHead": "b965b428a445bdbc81fb4b70120237f2d48e7647"
146
146
  }