@sensinum/strapi-plugin-xecp 5.1.0 → 5.3.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/README.md +14 -3
- package/dist/admin/App-BbgV5mHU.mjs +2809 -0
- package/dist/admin/App-OXf6qXjU.js +74 -0
- package/dist/admin/TruncatedTypography-B8iYkeNP.js +12 -0
- package/dist/admin/{TruncatedTypography-BIh1V9g2.mjs → TruncatedTypography-BA_MhPw6.mjs} +4 -4
- package/dist/admin/de-9eabZie2.mjs +288 -0
- package/dist/admin/de-BN51VcbT.js +1 -0
- package/dist/admin/en-DI1XKd0e.js +1 -0
- package/dist/admin/en-tFIwzuCy.mjs +288 -0
- package/dist/admin/fr-BRWFIMrf.mjs +288 -0
- package/dist/admin/fr-lAhQzMjM.js +1 -0
- package/dist/admin/index-BU_gTHIE.mjs +110 -0
- package/dist/admin/index-C5CJ1Sy4.js +1 -0
- package/dist/admin/index-CT94KSzm.mjs +656 -0
- package/dist/admin/index-CmLDGvPV.js +1 -0
- package/dist/admin/{index-Dr164lAs.mjs → index-SQ5frWDn.mjs} +96 -90
- package/dist/admin/{index-CzhrALSL.js → index-ghS-FZ_7.js} +8 -8
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +3 -2
- package/dist/admin/pl-CSVwN6jF.js +1 -0
- package/dist/admin/pl-DLMBD4Lc.mjs +288 -0
- package/dist/admin/{queryKeys-rUHP1d6p.mjs → queryKeys-LazhiKSv.mjs} +5 -4
- package/dist/admin/queryKeys-Y6_AOyGq.js +1 -0
- package/dist/server/index.js +7 -7
- package/dist/server/index.mjs +8776 -8080
- package/package.json +48 -22
- package/dist/admin/App-DnN-IvA2.mjs +0 -1947
- package/dist/admin/App-fzbS9IJs.js +0 -30
- package/dist/admin/TruncatedTypography-IG2-4h8c.js +0 -12
- package/dist/admin/de-CXusi8Qg.mjs +0 -203
- package/dist/admin/de-DB2gq7qr.js +0 -1
- package/dist/admin/en-BuzP59R9.js +0 -1
- package/dist/admin/en-Dw6HZo7C.mjs +0 -203
- package/dist/admin/fr-CyBDGDh1.mjs +0 -203
- package/dist/admin/fr-ISZXcmX2.js +0 -1
- package/dist/admin/index-BPA-rtqa.js +0 -1
- package/dist/admin/index-CUUBtl-O.mjs +0 -113
- package/dist/admin/index-DDj2bCYO.mjs +0 -653
- package/dist/admin/index-DGBlS60G.js +0 -1
- package/dist/admin/pl-Ds5SR76s.js +0 -1
- package/dist/admin/pl-mwGoOpdR.mjs +0 -203
- package/dist/admin/queryKeys-B_GC_f73.js +0 -1
package/README.md
CHANGED
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
<a href="https://www.npmjs.org/package/@sensinum/strapi-plugin-xecp">
|
|
12
12
|
<img src="https://img.shields.io/npm/dm/@sensinum/strapi-plugin-xecp.svg" alt="Monthly download on NPM" />
|
|
13
13
|
</a>
|
|
14
|
-
<a href="https://
|
|
15
|
-
|
|
16
|
-
</a>
|
|
14
|
+
<a href="https://github.com/Sensinum/strapi-plugin-xecp/actions/workflows/ci.yml">
|
|
15
|
+
<img src="https://github.com/Sensinum/strapi-plugin-xecp/actions/workflows/ci.yml/badge.svg" alt="CI" />
|
|
16
|
+
</a>
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
19
|
---
|
|
@@ -44,6 +44,7 @@ This plugin brings Cross Environment Content Promotion (XECP) to Strapi: move se
|
|
|
44
44
|
- **Sync Job Control**: Start, monitor, cancel, and resume snapshot syncs (extra requests queue while one is running).
|
|
45
45
|
- **Configurable Scope**: Include or exclude content types from the promotion graph.
|
|
46
46
|
- **Media-Aware Promotion**: Copy Media Library files when include media is on (media fields, Blocks images, and Markdown file links).
|
|
47
|
+
- **Draft or Publish**: Promote as a draft by default, or publish selected documents (and the related content they bring along) in the same step.
|
|
47
48
|
|
|
48
49
|
## 🎨 Admin Panel Features
|
|
49
50
|
|
|
@@ -63,6 +64,12 @@ Snapshot syncs use a **shared queue**: only one sync job runs at a time on the i
|
|
|
63
64
|
|
|
64
65
|
On the home page, users pick a content type, review differences between local entries and the snapshot, select what to promote (including related content when applicable), and can turn on include media to copy Media Library files. XECP then pushes the selected entries to the target.
|
|
65
66
|
|
|
67
|
+
### Draft or publish
|
|
68
|
+
|
|
69
|
+
Promoted content is saved as a **draft** on the target by default, so nothing goes live until it is published. Check **Publish** for a document in the promote dialog to publish it instead; related content promoted with it is published too, and only once its relations are in place. Content types without draft & publish are always published.
|
|
70
|
+
|
|
71
|
+
The promotion results show which entries were published and which were saved as drafts. Comparison reflects the target's published content, so drafts keep showing as **New** or **Changed** until they are published.
|
|
72
|
+
|
|
66
73
|
## ⚠️ Important Considerations
|
|
67
74
|
|
|
68
75
|
### Schema compatibility
|
|
@@ -81,6 +88,10 @@ If the graph is deeper than this limit, the home page can warn that max depth wa
|
|
|
81
88
|
|
|
82
89
|
XECP uses Strapi's default Content API endpoints to retrieve, create, and update content on the target environment. All default endpoints used by XECP must remain available, and their standard response structures must not be modified. Replacing these endpoints or changing their responses may prevent snapshot synchronization, comparison, or content promotion from working correctly.
|
|
83
90
|
|
|
91
|
+
### Private fields
|
|
92
|
+
|
|
93
|
+
Strapi's Content API never returns private fields (fields marked **Private** in the Content-Type Builder, or listed as private attributes in the app's configuration), so XECP cannot read their values on the target. Entity comparison ignores them: a change made only to a private field does not mark an entry as changed. A private field cannot be used as a unique key or as an environment-specific field. The comparison view shows how many fields of the selected content type are private, with the list in a tooltip.
|
|
94
|
+
|
|
84
95
|
### Target environment credentials
|
|
85
96
|
|
|
86
97
|
The target API token is stored encrypted using the plugin `encryptionKey`. Use a dedicated **Custom** API token with at least:
|