strapi-plugin-magic-sessionmanager 4.5.5 → 4.5.7

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 (36) hide show
  1. package/CHANGELOG.md +538 -0
  2. package/LICENSE +0 -7
  3. package/dist/{_chunks/Analytics-DM4_UffY.js → admin/Analytics-DxXG_BpS.js} +2 -2
  4. package/dist/{_chunks/Analytics--qB2cKuD.mjs → admin/Analytics-duuWFisW.mjs} +2 -2
  5. package/dist/{_chunks/App-DF-VsbDW.js → admin/App-CJjP4mbQ.js} +2 -2
  6. package/dist/{_chunks/App-CL5q29Mi.mjs → admin/App-GkMdfGI9.mjs} +2 -2
  7. package/dist/{_chunks/License-D9piCp34.mjs → admin/License-BNVOKPuY.mjs} +1 -1
  8. package/dist/{_chunks/License-Dmm1d3fQ.js → admin/License-C3t0cfsv.js} +1 -1
  9. package/dist/{_chunks/OnlineUsersWidget-DHsthkt0.mjs → admin/OnlineUsersWidget-B0-hghLO.mjs} +1 -1
  10. package/dist/{_chunks/OnlineUsersWidget-KchZ_ScS.js → admin/OnlineUsersWidget-exT4gzjW.js} +1 -1
  11. package/dist/{_chunks/Settings-CUNaxDWk.js → admin/Settings-B1d-Uwaw.js} +2 -2
  12. package/dist/{_chunks/Settings-D6ILgR9X.mjs → admin/Settings-Btj8nlF0.mjs} +2 -2
  13. package/dist/{_chunks/UpgradePage-D697BVWo.mjs → admin/UpgradePage-C2606kz1.mjs} +1 -1
  14. package/dist/{_chunks/UpgradePage-Dwrv7g8L.js → admin/UpgradePage-DnaxsmcR.js} +1 -1
  15. package/dist/{_chunks/index-CwxKazpc.mjs → admin/index-CX0Miz6f.mjs} +7 -10
  16. package/dist/{_chunks/index-CTxGMDHr.js → admin/index-Cdemkjz9.js} +7 -10
  17. package/dist/admin/index.js +3 -2
  18. package/dist/admin/index.mjs +1 -1
  19. package/dist/{_chunks/useLicense-BEbtA_Zo.js → admin/useLicense-BAdO5xWc.js} +1 -1
  20. package/dist/{_chunks/useLicense-B9WW9s_d.mjs → admin/useLicense-q66Wnl3m.mjs} +1 -1
  21. package/dist/server/index.js +11 -51976
  22. package/dist/server/index.mjs +11 -51966
  23. package/package.json +12 -7
  24. package/COPYRIGHT_NOTICE.txt +0 -20
  25. /package/dist/{_chunks → admin}/StyledButtons-Cz8oYhmc.mjs +0 -0
  26. /package/dist/{_chunks → admin}/StyledButtons-DDuxnYz8.js +0 -0
  27. /package/dist/{_chunks → admin}/de-CDA1V0rF.mjs +0 -0
  28. /package/dist/{_chunks → admin}/de-I-Q-pWqu.js +0 -0
  29. /package/dist/{_chunks → admin}/en-Bd7_h-4e.js +0 -0
  30. /package/dist/{_chunks → admin}/en-DzmOCyzQ.mjs +0 -0
  31. /package/dist/{_chunks → admin}/es-BcAx18XG.js +0 -0
  32. /package/dist/{_chunks → admin}/es-Cx-SN6qV.mjs +0 -0
  33. /package/dist/{_chunks → admin}/fr-DCzYMuJ-.js +0 -0
  34. /package/dist/{_chunks → admin}/fr-DXlXE5Eo.mjs +0 -0
  35. /package/dist/{_chunks → admin}/pt-21-MAb72.js +0 -0
  36. /package/dist/{_chunks → admin}/pt-zsdTSjba.mjs +0 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,538 @@
1
+ ## [4.5.7](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.5.6...v4.5.7) (2026-04-20)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** bump devDependencies (sdk-plugin v6, design-system 2.2, styled-components 6.4) ([bf9a743](https://github.com/Schero94/Magic-Sessionmanager/commit/bf9a7433995dc96c23f8f4a149081fe858b7332f)), closes [package.json#exports](https://github.com/package.json/issues/exports)
7
+
8
+ ## [4.5.6](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.5.5...v4.5.6) (2026-04-20)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **enduser:** honest logout message + consistent 5xx envelope across session controller ([7e5f6b8](https://github.com/Schero94/Magic-Sessionmanager/commit/7e5f6b81781d494981a2eae835e2ec11d7eda3d2))
14
+
15
+ ## [4.5.5](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.5.4...v4.5.5) (2026-04-20)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **security:** enforce plugin-access permission on every admin route ([7935a63](https://github.com/Schero94/Magic-Sessionmanager/commit/7935a6304bfebeb17d17fdc1146917bf3185eef0))
21
+
22
+ ## [4.5.4](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.5.3...v4.5.4) (2026-04-20)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * **login,logout:** no-login-drop-off for OAuth/TOTP, add /logout-others ([afeebb2](https://github.com/Schero94/Magic-Sessionmanager/commit/afeebb2e7ab4b74d8f261975a5720d4c9d7ac9e6))
28
+
29
+ ## [4.5.3](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.5.2...v4.5.3) (2026-04-20)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * **ux,dx:** communicate termination reason, consistent 401s, grace-aware endpoints ([3eb5bc2](https://github.com/Schero94/Magic-Sessionmanager/commit/3eb5bc25bf55d78d7f7f84f286d45e1fa4c2ceeb))
35
+
36
+ ## [4.5.2](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.5.1...v4.5.2) (2026-04-20)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * **settings:** implement geofencing UI, dynamic cleanupInterval, retention cleanup ([50d7ee0](https://github.com/Schero94/Magic-Sessionmanager/commit/50d7ee0ca2a5b7bf3016aae72f1ab5a3b0d34d63))
42
+
43
+ ## [4.5.1](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.5.0...v4.5.1) (2026-04-20)
44
+
45
+
46
+ ### Bug Fixes
47
+
48
+ * **settings:** wire sessionCreationGraceMs and cleanupUseDbDirect end-to-end ([782278c](https://github.com/Schero94/Magic-Sessionmanager/commit/782278ce21be7ef431fdbafb99185df68fd618c2))
49
+
50
+ # [4.5.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.4.7...v4.5.0) (2026-04-20)
51
+
52
+
53
+ ### Bug Fixes
54
+
55
+ * **rbac:** keep routes functional, only hide UI for unpermitted roles ([97744f7](https://github.com/Schero94/Magic-Sessionmanager/commit/97744f75a56305176c8136a6cbeaf778d30bfce8))
56
+ * **session,security:** close 11 correctness and hardening gaps ([7742c9c](https://github.com/Schero94/Magic-Sessionmanager/commit/7742c9c7c56022c40c7a753a5848d19dc6f90aac))
57
+
58
+
59
+ ### Features
60
+
61
+ * **notifications,security:** slack webhook, new-location alerts, lockout ([ccfe87a](https://github.com/Schero94/Magic-Sessionmanager/commit/ccfe87a33da3cea5b15ea8071e49b3ec1609c6b2))
62
+ * **rbac:** add access permission for role-based visibility ([6310696](https://github.com/Schero94/Magic-Sessionmanager/commit/6310696d21c7090f45805b2625d3a6035fabad90))
63
+
64
+ # [4.5.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.4.7...v4.5.0) (2026-04-20)
65
+
66
+
67
+ ### Bug Fixes
68
+
69
+ * **rbac:** keep routes functional, only hide UI for unpermitted roles ([97744f7](https://github.com/Schero94/Magic-Sessionmanager/commit/97744f75a56305176c8136a6cbeaf778d30bfce8))
70
+
71
+
72
+ ### Features
73
+
74
+ * **notifications,security:** slack webhook, new-location alerts, lockout ([ccfe87a](https://github.com/Schero94/Magic-Sessionmanager/commit/ccfe87a33da3cea5b15ea8071e49b3ec1609c6b2))
75
+ * **rbac:** add access permission for role-based visibility ([6310696](https://github.com/Schero94/Magic-Sessionmanager/commit/6310696d21c7090f45805b2625d3a6035fabad90))
76
+
77
+ # [4.5.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.4.7...v4.5.0) (2026-04-15)
78
+
79
+
80
+ ### Bug Fixes
81
+
82
+ * **rbac:** keep routes functional, only hide UI for unpermitted roles ([97744f7](https://github.com/Schero94/Magic-Sessionmanager/commit/97744f75a56305176c8136a6cbeaf778d30bfce8))
83
+
84
+
85
+ ### Features
86
+
87
+ * **rbac:** add access permission for role-based visibility ([6310696](https://github.com/Schero94/Magic-Sessionmanager/commit/6310696d21c7090f45805b2625d3a6035fabad90))
88
+
89
+ ## [4.4.7](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.4.6...v4.4.7) (2026-02-27)
90
+
91
+
92
+ ### Bug Fixes
93
+
94
+ * prevent old terminated sessions from blocking new magic-link logins ([5c6c4ae](https://github.com/Schero94/Magic-Sessionmanager/commit/5c6c4aecd58d6a19d5794b1de4d05ad1c0691031))
95
+
96
+ ## [4.4.6](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.4.5...v4.4.6) (2026-02-16)
97
+
98
+
99
+ ### Bug Fixes
100
+
101
+ * comprehensive security audit - 30 fixes across 14 files ([9372c9f](https://github.com/Schero94/Magic-Sessionmanager/commit/9372c9ff1aadcb4a118f5c16eaea848ccdd44144))
102
+
103
+ ## [4.4.5](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.4.4...v4.4.5) (2026-02-16)
104
+
105
+
106
+ ### Bug Fixes
107
+
108
+ * critical security hardening for license routes, SSRF, and encryption ([beb35b7](https://github.com/Schero94/Magic-Sessionmanager/commit/beb35b7461338c08a085bfce14020d3120fb90fd))
109
+
110
+ ## [4.4.4](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.4.3...v4.4.4) (2026-02-08)
111
+
112
+
113
+ ### Bug Fixes
114
+
115
+ * use props.theme.colors.neutral0 for dark mode card backgrounds ([1a33e81](https://github.com/Schero94/Magic-Sessionmanager/commit/1a33e81a4ebed1504eb0b8936d035f398570c94b))
116
+
117
+ ## [4.4.3](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.4.2...v4.4.3) (2026-02-07)
118
+
119
+
120
+ ### Bug Fixes
121
+
122
+ * dark/light mode compatibility for entire admin UI ([f6b1e9e](https://github.com/Schero94/Magic-Sessionmanager/commit/f6b1e9ed48915b68feffe615b52f063c07c0a10e))
123
+
124
+ ## [4.4.2](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.4.1...v4.4.2) (2026-01-29)
125
+
126
+
127
+ ### Bug Fixes
128
+
129
+ * add terminatedManually session reactivation feature documentation ([fdde3a2](https://github.com/Schero94/Magic-Sessionmanager/commit/fdde3a23582acca94ee99f8692395db0a131bc1d))
130
+
131
+ ## [4.4.1](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.4.0...v4.4.1) (2026-01-29)
132
+
133
+
134
+ ### Bug Fixes
135
+
136
+ * check specific session by token hash instead of any user session ([c8950d8](https://github.com/Schero94/Magic-Sessionmanager/commit/c8950d8131472f6c29dc8667d35603651900133b))
137
+
138
+ # [4.4.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.3.4...v4.4.0) (2026-01-29)
139
+
140
+
141
+ ### Features
142
+
143
+ * add terminatedManually field for session reactivation ([8887500](https://github.com/Schero94/Magic-Sessionmanager/commit/88875009ff00477253acb7f6cefba25d2c2f4a4f))
144
+
145
+ ## [4.3.4](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.3.3...v4.3.4) (2026-01-28)
146
+
147
+
148
+ ### Bug Fixes
149
+
150
+ * always block explicitly logged out users ([3397e10](https://github.com/Schero94/Magic-Sessionmanager/commit/3397e10a03ecfbe80193c2bddaf5e1db8c008472))
151
+
152
+ ## [4.3.3](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.3.2...v4.3.3) (2026-01-28)
153
+
154
+
155
+ ### Bug Fixes
156
+
157
+ * make session blocking opt-in with strictSessionEnforcement ([b089c2b](https://github.com/Schero94/Magic-Sessionmanager/commit/b089c2b0e43f5e80a3fe3784b67b8dcccc138343))
158
+
159
+ ## [4.3.2](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.3.1...v4.3.2) (2026-01-28)
160
+
161
+
162
+ ### Bug Fixes
163
+
164
+ * prevent numeric ID fallback in session creation ([370fb57](https://github.com/Schero94/Magic-Sessionmanager/commit/370fb578a5da2748b8a46c5dbdbdf789031434d9))
165
+
166
+ ## [4.3.1](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.3.0...v4.3.1) (2026-01-26)
167
+
168
+
169
+ ### Bug Fixes
170
+
171
+ * Session tracking and UI improvements ([d7ec24c](https://github.com/Schero94/Magic-Sessionmanager/commit/d7ec24cd2063a7e3f4b5065094feb5848d10aaea))
172
+
173
+ # [4.3.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.2.16...v4.3.0) (2026-01-26)
174
+
175
+
176
+ ### Features
177
+
178
+ * **admin:** add styled buttons and session heartbeat ([789a967](https://github.com/Schero94/Magic-Sessionmanager/commit/789a9671ce26bd8827b961df891fbc23cdac3ff2))
179
+
180
+ ## [4.2.16](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.2.15...v4.2.16) (2026-01-09)
181
+
182
+
183
+ ### Bug Fixes
184
+
185
+ * **middleware:** exclude auth endpoints from session validation ([830bec4](https://github.com/Schero94/Magic-Sessionmanager/commit/830bec4a9c52958883452b22d6aab6b294d50b5d))
186
+
187
+ ## [4.2.15](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.2.14...v4.2.15) (2026-01-04)
188
+
189
+
190
+ ### Bug Fixes
191
+
192
+ * use relative paths for menu and settings links ([667020c](https://github.com/Schero94/Magic-Sessionmanager/commit/667020c045e7ad5afe0f7156a9f8d88570507a2f))
193
+
194
+ ## [4.2.14](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.2.13...v4.2.14) (2026-01-04)
195
+
196
+
197
+ ### Bug Fixes
198
+
199
+ * exclude admin panel routes from session validation ([82e37b2](https://github.com/Schero94/Magic-Sessionmanager/commit/82e37b2508ff3d8aebc2230902ce4f739d8a4b6b))
200
+
201
+ ## [4.2.13](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.2.12...v4.2.13) (2026-01-03)
202
+
203
+
204
+ ### Bug Fixes
205
+
206
+ * optimize session lookups and add geolocation on-demand ([bfaa693](https://github.com/Schero94/Magic-Sessionmanager/commit/bfaa6930678e4047df0a6b3ff6f822ac1aa212dd))
207
+
208
+ ## [4.2.12](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.2.11...v4.2.12) (2026-01-02)
209
+
210
+
211
+ ### Bug Fixes
212
+
213
+ * store geoLocation and device info on session creation ([64ca261](https://github.com/Schero94/Magic-Sessionmanager/commit/64ca26112fa459e11d833770d01cbceee868151f))
214
+
215
+ ## [4.2.11](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.2.10...v4.2.11) (2026-01-02)
216
+
217
+
218
+ ### Bug Fixes
219
+
220
+ * use tokenHash for O(1) session lookup, add UA parser for device info ([34787ae](https://github.com/Schero94/Magic-Sessionmanager/commit/34787aeb228ea3091bd1f7ecb4ab8a6ab3cdcecf))
221
+
222
+ ## [4.2.10](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.2.9...v4.2.10) (2026-01-01)
223
+
224
+
225
+ ### Performance Improvements
226
+
227
+ * add database index on tokenHash for true O(1) lookup ([f923b06](https://github.com/Schero94/Magic-Sessionmanager/commit/f923b0632823903d1a45b5b306403b44de3b4627))
228
+
229
+ ## [4.2.9](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.2.8...v4.2.9) (2026-01-01)
230
+
231
+
232
+ ### Performance Improvements
233
+
234
+ * O(1) session lookup via tokenHash instead of O(n) decrypt loop ([1d68fa0](https://github.com/Schero94/Magic-Sessionmanager/commit/1d68fa0b29e89945eeabf57e54b2c438cb6bda76))
235
+
236
+ ## [4.2.8](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.2.7...v4.2.8) (2026-01-01)
237
+
238
+
239
+ ### Bug Fixes
240
+
241
+ * update session activity on ALL requests with valid JWT ([702d3ad](https://github.com/Schero94/Magic-Sessionmanager/commit/702d3ad3442520cf9a1865d8b6164ef87d1c73b6))
242
+
243
+ ## [4.2.7](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.2.6...v4.2.7) (2025-12-28)
244
+
245
+
246
+ ### Bug Fixes
247
+
248
+ * bump version to 4.2.7 ([c6c86a6](https://github.com/Schero94/Magic-Sessionmanager/commit/c6c86a620c1e99b895de6de8ffe221751ad489a6))
249
+ * validate specific JWT session on each request, add enduser session management endpoints ([c07a5a1](https://github.com/Schero94/Magic-Sessionmanager/commit/c07a5a149f91140c189eb16498395fd5d8905105))
250
+
251
+ ## [4.2.6](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.2.5...v4.2.6) (2025-12-14)
252
+
253
+
254
+ ### Bug Fixes
255
+
256
+ * clean up README formatting ([d2082bd](https://github.com/Schero94/Magic-Sessionmanager/commit/d2082bd5387f644970eae83b8cb2b8aa938df2dd))
257
+
258
+ ## [4.2.5](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.2.4...v4.2.5) (2025-12-14)
259
+
260
+
261
+ ### Bug Fixes
262
+
263
+ * remove source folders from npm package ([d64f279](https://github.com/Schero94/Magic-Sessionmanager/commit/d64f279015fe1ada50e580e6a02eca2ed1b3b227))
264
+
265
+ ## [4.2.4](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.2.3...v4.2.4) (2025-12-14)
266
+
267
+
268
+ ### Bug Fixes
269
+
270
+ * enable npm provenance with OIDC trusted publishing ([f66106c](https://github.com/Schero94/Magic-Sessionmanager/commit/f66106ccdb716fd8be25d462c1b25bc51d4ba3a8))
271
+
272
+ ## [4.2.3](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.2.2...v4.2.3) (2025-12-14)
273
+
274
+
275
+ ### Bug Fixes
276
+
277
+ * update release workflow for new npm token requirements ([88b70ff](https://github.com/Schero94/Magic-Sessionmanager/commit/88b70ffd9e697085ce99f6e89ea971b78caa1c92))
278
+
279
+ ## [4.2.2](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.2.1...v4.2.2) (2025-12-14)
280
+
281
+
282
+ ### Bug Fixes
283
+
284
+ * add debug mode documentation to README ([f675180](https://github.com/Schero94/Magic-Sessionmanager/commit/f675180890dffb40c933e80917d9806da07b6d8d))
285
+
286
+ ## [4.2.1](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.2.0...v4.2.1) (2025-12-14)
287
+
288
+
289
+ ### Bug Fixes
290
+
291
+ * add debug mode for plugin logging ([1eff03a](https://github.com/Schero94/Magic-Sessionmanager/commit/1eff03af93a1905d52044467d697d965d564860e))
292
+
293
+ # [4.2.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.1.0...v4.2.0) (2025-12-08)
294
+
295
+
296
+ ### Features
297
+
298
+ * enhance pull request template with session management specific sections and security checklist ([bcf9782](https://github.com/Schero94/Magic-Sessionmanager/commit/bcf9782068808d955dbcced2801d3e6eecbe9f31))
299
+
300
+ # [4.1.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.0.3...v4.1.0) (2025-12-08)
301
+
302
+
303
+ ### Features
304
+
305
+ * enhance GitHub issue templates with session management specific fields and feature request template ([78188de](https://github.com/Schero94/Magic-Sessionmanager/commit/78188dee1711ecd82ce548faceb34917bd907246))
306
+
307
+ ## [4.0.3](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.0.2...v4.0.3) (2025-12-08)
308
+
309
+
310
+ ### Bug Fixes
311
+
312
+ * update CI workflow to use Node.js 22 for compatibility with dependencies ([113e02e](https://github.com/Schero94/Magic-Sessionmanager/commit/113e02e1991bbd296eed2a30dfb4ee42e6dc4718))
313
+
314
+ ## [4.0.2](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.0.1...v4.0.2) (2025-12-08)
315
+
316
+
317
+ ### Bug Fixes
318
+
319
+ * add GitHub templates for better open-source collaboration ([4322fd4](https://github.com/Schero94/Magic-Sessionmanager/commit/4322fd4f69210320921a1a1aee1459da4fe29a0c))
320
+
321
+ ## [4.0.1](https://github.com/Schero94/Magic-Sessionmanager/compare/v4.0.0...v4.0.1) (2025-12-05)
322
+
323
+
324
+ ### Bug Fixes
325
+
326
+ * replace emojis with text prefixes for better compatibility ([a8b319e](https://github.com/Schero94/Magic-Sessionmanager/commit/a8b319e0b0cf8b71a4da4aafa454adaf9e60203d))
327
+
328
+ # [4.0.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v3.7.0...v4.0.0) (2025-12-04)
329
+
330
+
331
+ ### Bug Fixes
332
+
333
+ * migrate to Strapi v5 Document Service API ([6ab18d0](https://github.com/Schero94/Magic-Sessionmanager/commit/6ab18d0577ed5733d6737b79b28b53ef00ba81a5))
334
+ * Strapi v5 compliance - use documentId instead of id ([08a061e](https://github.com/Schero94/Magic-Sessionmanager/commit/08a061ec5348c423e2999c1c15d0b2f5ec7e1682))
335
+
336
+
337
+ ### BREAKING CHANGES
338
+
339
+ * Complete migration from Entity Service to Document Service API
340
+
341
+ - Migrate all strapi.entityService calls to strapi.documents()
342
+ - Fix Deep Filtering: Use { user: { documentId: userId } } syntax
343
+ - Remove all emojis from logs (54 instances)
344
+ - Replace with text prefixes: [SUCCESS], [ERROR], [WARNING]
345
+ - Remove unused Textarea imports (8 files)
346
+ - Add UID constants for better maintainability
347
+
348
+ This is a critical Strapi v5 compatibility update.
349
+ All session management now uses the modern Document Service API.
350
+
351
+ # [3.7.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v3.6.0...v3.7.0) (2025-11-10)
352
+
353
+
354
+ ### Features
355
+
356
+ * Add Spanish, French, and Portuguese translations (5 languages total) ([d8bd41d](https://github.com/Schero94/Magic-Sessionmanager/commit/d8bd41d24101f932877cc8edcf1d00c2379ec68a))
357
+
358
+ # [3.6.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v3.5.0...v3.6.0) (2025-11-09)
359
+
360
+
361
+ ### Features
362
+
363
+ * Add license protection clause matching MagicMark ([0bc7508](https://github.com/Schero94/Magic-Sessionmanager/commit/0bc7508e5cd0c41286faa681dbe6987b68292539))
364
+
365
+ # [3.5.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v3.4.0...v3.5.0) (2025-11-09)
366
+
367
+
368
+ ### Features
369
+
370
+ * Add homepage widget screenshot to README ([ee6b7f6](https://github.com/Schero94/Magic-Sessionmanager/commit/ee6b7f631b2ea9b5aa2aabea8be9914ca020ec26))
371
+
372
+ # [3.4.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v3.3.2...v3.4.0) (2025-11-09)
373
+
374
+
375
+ ### Features
376
+
377
+ * Add screenshots for README documentation ([3c59705](https://github.com/Schero94/Magic-Sessionmanager/commit/3c597051914f1992d6bc1d0c3294ee010ff53bf6))
378
+
379
+ ## [3.3.2](https://github.com/Schero94/Magic-Sessionmanager/compare/v3.3.1...v3.3.2) (2025-11-09)
380
+
381
+
382
+ ### Bug Fixes
383
+
384
+ * Increase test delays to 8+ seconds before refresh token test ([fbe5dad](https://github.com/Schero94/Magic-Sessionmanager/commit/fbe5dadfc8ec418672c483031199a4e51c895157))
385
+
386
+ ## [3.3.1](https://github.com/Schero94/Magic-Sessionmanager/compare/v3.3.0...v3.3.1) (2025-11-09)
387
+
388
+
389
+ ### Bug Fixes
390
+
391
+ * Correct Strapi v5 refresh endpoint to /api/auth/refresh ([a4cccbf](https://github.com/Schero94/Magic-Sessionmanager/commit/a4cccbfe5014e05b49080b46d9732bc430bfb031))
392
+
393
+ # [3.3.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v3.2.1...v3.3.0) (2025-11-09)
394
+
395
+
396
+ ### Features
397
+
398
+ * Complete Refresh Token tracking and blocking system ([0451590](https://github.com/Schero94/Magic-Sessionmanager/commit/0451590177e610be26f1120d1327f6a5aac2c8a4))
399
+
400
+ ## [3.2.1](https://github.com/Schero94/Magic-Sessionmanager/compare/v3.2.0...v3.2.1) (2025-11-09)
401
+
402
+
403
+ ### Bug Fixes
404
+
405
+ * Allow admin users to view any user's sessions (fixes 403 error) ([87994de](https://github.com/Schero94/Magic-Sessionmanager/commit/87994deac122030dffa306d895081a970d49de3b))
406
+
407
+ # [3.2.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v3.1.0...v3.2.0) (2025-11-09)
408
+
409
+
410
+ ### Features
411
+
412
+ * Add encryption key generator in Admin Panel with comprehensive docs ([fc24163](https://github.com/Schero94/Magic-Sessionmanager/commit/fc241633aa5c553fcbbf2c1710f85eb21207a60e))
413
+
414
+ # [3.1.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v3.0.2...v3.1.0) (2025-11-09)
415
+
416
+
417
+ ### Features
418
+
419
+ * Add JWT encryption and unique session IDs for enhanced security ([9c6e265](https://github.com/Schero94/Magic-Sessionmanager/commit/9c6e265c4f3e0342d9d0929bac320cb812a8aff6))
420
+
421
+ ## [3.0.2](https://github.com/Schero94/Magic-Sessionmanager/compare/v3.0.1...v3.0.2) (2025-11-09)
422
+
423
+
424
+ ### Bug Fixes
425
+
426
+ * Correct admin API route paths (remove /admin/ prefix) ([b238e85](https://github.com/Schero94/Magic-Sessionmanager/commit/b238e857c0cc5ba54f273eb2abe707af00bccfd1))
427
+
428
+ ## [3.0.1](https://github.com/Schero94/Magic-Sessionmanager/compare/v3.0.0...v3.0.1) (2025-11-09)
429
+
430
+
431
+ ### Bug Fixes
432
+
433
+ * Use admin API routes in admin components (fixes 401 error) ([98e2c88](https://github.com/Schero94/Magic-Sessionmanager/commit/98e2c88f97aaf821ebaf51a5da225ed9df5cf15b))
434
+
435
+ # [3.0.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v2.1.0...v3.0.0) (2025-11-09)
436
+
437
+
438
+ ### Bug Fixes
439
+
440
+ * Change collectionName to magic_sessions to avoid conflicts ([9fd69e6](https://github.com/Schero94/Magic-Sessionmanager/commit/9fd69e6291e705376bdfbb18fc41d6ca236e7893))
441
+
442
+
443
+ ### BREAKING CHANGES
444
+
445
+ * Database table name changed from 'sessions' to 'magic_sessions'
446
+
447
+ The generic name 'sessions' can conflict with other plugins or Strapi internals.
448
+ Using 'magic_sessions' ensures no naming conflicts.
449
+
450
+ - Changed: collectionName from 'sessions' to 'magic_sessions'
451
+ - Prevents: 'DB table sessions already exists' error
452
+ - Better namespacing for plugin data
453
+
454
+ Existing users (if any) will need to migrate data or clear the database.
455
+
456
+ # [2.1.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v2.0.5...v2.1.0) (2025-11-09)
457
+
458
+
459
+ ### Features
460
+
461
+ * Hide session collection from Content Manager ([6a566a9](https://github.com/Schero94/Magic-Sessionmanager/commit/6a566a94b3d7fc6e99d4ea7bd3d85bb75bdbde39))
462
+
463
+ ## [2.0.5](https://github.com/Schero94/Magic-Sessionmanager/compare/v2.0.4...v2.0.5) (2025-11-09)
464
+
465
+
466
+ ### Bug Fixes
467
+
468
+ * Remove inversedBy from user relation (one-way relation) ([ed1f4f7](https://github.com/Schero94/Magic-Sessionmanager/commit/ed1f4f78d05e750e631a5e9b17442f8bb50060be))
469
+
470
+ ## [2.0.4](https://github.com/Schero94/Magic-Sessionmanager/compare/v2.0.3...v2.0.4) (2025-11-09)
471
+
472
+
473
+ ### Bug Fixes
474
+
475
+ * Use short key 'session' in content-types export (Strapi v5 requirement) ([0b5343c](https://github.com/Schero94/Magic-Sessionmanager/commit/0b5343c60b611fd9b94d13402eb19d90cbc3d718))
476
+
477
+ ## [2.0.3](https://github.com/Schero94/Magic-Sessionmanager/compare/v2.0.2...v2.0.3) (2025-11-09)
478
+
479
+
480
+ ### Bug Fixes
481
+
482
+ * Export contentTypes in server index to register session schema ([f87fdf4](https://github.com/Schero94/Magic-Sessionmanager/commit/f87fdf465c5f548a6a1b144dc13e596a47e44b0d))
483
+
484
+ ## [2.0.2](https://github.com/Schero94/Magic-Sessionmanager/compare/v2.0.1...v2.0.2) (2025-11-09)
485
+
486
+
487
+ ### Bug Fixes
488
+
489
+ * Include server and admin source files in NPM package ([8cbe0fd](https://github.com/Schero94/Magic-Sessionmanager/commit/8cbe0fd3e13e126a24d6b6c39e4a2150a136d881))
490
+
491
+ ## [2.0.1](https://github.com/Schero94/Magic-Sessionmanager/compare/v2.0.0...v2.0.1) (2025-11-09)
492
+
493
+
494
+ ### Bug Fixes
495
+
496
+ * Add missing session content-type schema ([4f8aa30](https://github.com/Schero94/Magic-Sessionmanager/commit/4f8aa309351f7e440e6eb77eab46ea79796025ac))
497
+
498
+ # [2.0.0](https://github.com/Schero94/Magic-Sessionmanager/compare/v1.0.1...v2.0.0) (2025-11-09)
499
+
500
+
501
+ ### Bug Fixes
502
+
503
+ * Correct content-type UID from api:: to plugin:: namespace ([7451136](https://github.com/Schero94/Magic-Sessionmanager/commit/7451136fbaeaf742873dd80a6780ac6dfe27ffb9))
504
+
505
+
506
+ ### BREAKING CHANGES
507
+
508
+ * Changed all references from 'api::session.session' to 'plugin::magic-sessionmanager.session'
509
+
510
+ - Fixed: Cannot destructure property 'kind' runtime error
511
+ - Updated: session.js service with correct UID
512
+ - Updated: session.js controller with correct UID
513
+ - Updated: bootstrap.js middleware with correct UID
514
+ - Updated: last-seen.js middleware with correct UID
515
+ - Updated: README.md documentation with correct UID
516
+
517
+ This fixes the error when using plugin via NPM:
518
+ 'Cannot destructure property kind of strapi.getModel(...) as it is undefined'
519
+
520
+ ## [1.0.1](https://github.com/Schero94/Magic-Sessionmanager/compare/v1.0.0...v1.0.1) (2025-11-09)
521
+
522
+
523
+ ### Bug Fixes
524
+
525
+ * Fix styled-components v6 keyframes compatibility ([d3cfafc](https://github.com/Schero94/Magic-Sessionmanager/commit/d3cfafc582bee805a0af55ce83f5c37b578d6655))
526
+
527
+ # 1.0.0 (2025-11-09)
528
+
529
+
530
+ ### Bug Fixes
531
+
532
+ * Add missing plugin entry files and LICENSE for NPM publishing ([ffc226c](https://github.com/Schero94/Magic-Sessionmanager/commit/ffc226cfac337e54bfa1b0ce4dd6656c275a23fd))
533
+ * Correct workflow step order - build before verify ([fe86334](https://github.com/Schero94/Magic-Sessionmanager/commit/fe86334a109aecba0e3a423738592d8144f5e601))
534
+
535
+
536
+ ### Features
537
+
538
+ * Add NPM semantic-release and GitHub Actions workflows ([6ab4eab](https://github.com/Schero94/Magic-Sessionmanager/commit/6ab4eabb78aa05a2bbbec89aa0c47b2f8cd8d546))
package/LICENSE CHANGED
@@ -12,12 +12,6 @@ furnished to do so, subject to the following conditions:
12
12
  The above copyright notice and this permission notice shall be included in all
13
13
  copies or substantial portions of the Software.
14
14
 
15
- **ADDITIONAL CONDITION:**
16
- The license validation system (including but not limited to license-guard.js,
17
- license controller, and related API endpoints) must remain intact and functional.
18
- Removing, bypassing, or disabling the license validation system is strictly
19
- prohibited.
20
-
21
15
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -25,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
21
  SOFTWARE.
28
-
@@ -6,8 +6,8 @@ const admin = require("@strapi/strapi/admin");
6
6
  const styled = require("styled-components");
7
7
  const designSystem = require("@strapi/design-system");
8
8
  const icons = require("@strapi/icons");
9
- const index = require("./index-CTxGMDHr.js");
10
- const useLicense = require("./useLicense-BEbtA_Zo.js");
9
+ const index = require("./index-Cdemkjz9.js");
10
+ const useLicense = require("./useLicense-BAdO5xWc.js");
11
11
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
12
12
  const styled__default = /* @__PURE__ */ _interopDefault(styled);
13
13
  const theme = {
@@ -4,8 +4,8 @@ import { useFetchClient } from "@strapi/strapi/admin";
4
4
  import styled, { css, keyframes } from "styled-components";
5
5
  import { Loader, Typography, Box, Flex, Badge } from "@strapi/design-system";
6
6
  import { ChartBubble, Crown, User, Clock, Monitor } from "@strapi/icons";
7
- import { a as pluginId } from "./index-CwxKazpc.mjs";
8
- import { u as useLicense } from "./useLicense-B9WW9s_d.mjs";
7
+ import { a as pluginId } from "./index-CX0Miz6f.mjs";
8
+ import { u as useLicense } from "./useLicense-q66Wnl3m.mjs";
9
9
  const theme = {
10
10
  shadows: {
11
11
  sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1)",
@@ -5,10 +5,10 @@ const react = require("react");
5
5
  const reactIntl = require("react-intl");
6
6
  const admin = require("@strapi/strapi/admin");
7
7
  const styled = require("styled-components");
8
- const index = require("./index-CTxGMDHr.js");
8
+ const index = require("./index-Cdemkjz9.js");
9
9
  const designSystem = require("@strapi/design-system");
10
10
  const icons = require("@strapi/icons");
11
- const useLicense = require("./useLicense-BEbtA_Zo.js");
11
+ const useLicense = require("./useLicense-BAdO5xWc.js");
12
12
  const StyledButtons = require("./StyledButtons-DDuxnYz8.js");
13
13
  const reactRouterDom = require("react-router-dom");
14
14
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
@@ -3,10 +3,10 @@ import { useState, useEffect } from "react";
3
3
  import { useIntl } from "react-intl";
4
4
  import { useFetchClient, useNotification, Page } from "@strapi/strapi/admin";
5
5
  import styled, { css, keyframes } from "styled-components";
6
- import { p as parseUserAgent, a as pluginId$1, g as getTranslation } from "./index-CwxKazpc.mjs";
6
+ import { p as parseUserAgent, a as pluginId$1, g as getTranslation } from "./index-CX0Miz6f.mjs";
7
7
  import { Modal, Flex, Box, Typography, Divider, Button, Loader, SingleSelect, SingleSelectOption, Thead, Tr, Th, Tbody, Td, Table, TextInput } from "@strapi/design-system";
8
8
  import { Check, Information, Monitor, Server, Clock, Cross, Earth, Shield, Crown, Phone, Download, User, Eye, Trash, Search, Key } from "@strapi/icons";
9
- import { u as useLicense } from "./useLicense-B9WW9s_d.mjs";
9
+ import { u as useLicense } from "./useLicense-q66Wnl3m.mjs";
10
10
  import { S as ShowHideButton, T as TertiaryButton, D as DangerButton, I as IconButtonPrimary, a as IconButtonWarning, b as IconButtonDanger } from "./StyledButtons-Cz8oYhmc.mjs";
11
11
  import { useNavigate } from "react-router-dom";
12
12
  const theme = {
@@ -4,7 +4,7 @@ import { Loader, Box, Alert, Flex, Typography, Button, Badge, Accordion } from "
4
4
  import { useFetchClient, useNotification } from "@strapi/strapi/admin";
5
5
  import { ArrowClockwise, Duplicate, Download, User, Shield, Sparkle, ChartBubble } from "@strapi/icons";
6
6
  import styled, { css, keyframes } from "styled-components";
7
- import { a as pluginId } from "./index-CwxKazpc.mjs";
7
+ import { a as pluginId } from "./index-CX0Miz6f.mjs";
8
8
  const theme = {
9
9
  borderRadius: { lg: "12px" }
10
10
  };
@@ -6,7 +6,7 @@ const designSystem = require("@strapi/design-system");
6
6
  const admin = require("@strapi/strapi/admin");
7
7
  const icons = require("@strapi/icons");
8
8
  const styled = require("styled-components");
9
- const index = require("./index-CTxGMDHr.js");
9
+ const index = require("./index-Cdemkjz9.js");
10
10
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
11
11
  const styled__default = /* @__PURE__ */ _interopDefault(styled);
12
12
  const theme = {
@@ -4,7 +4,7 @@ import { useIntl } from "react-intl";
4
4
  import { Box, Typography, Flex, Grid } from "@strapi/design-system";
5
5
  import { Check, Cross, Clock, User } from "@strapi/icons";
6
6
  import { useFetchClient } from "@strapi/strapi/admin";
7
- import { g as getTranslation } from "./index-CwxKazpc.mjs";
7
+ import { g as getTranslation } from "./index-CX0Miz6f.mjs";
8
8
  const OnlineUsersWidget = () => {
9
9
  const { formatMessage } = useIntl();
10
10
  const { get } = useFetchClient();
@@ -6,7 +6,7 @@ const reactIntl = require("react-intl");
6
6
  const designSystem = require("@strapi/design-system");
7
7
  const icons = require("@strapi/icons");
8
8
  const admin = require("@strapi/strapi/admin");
9
- const index = require("./index-CTxGMDHr.js");
9
+ const index = require("./index-Cdemkjz9.js");
10
10
  const OnlineUsersWidget = () => {
11
11
  const { formatMessage } = reactIntl.useIntl();
12
12
  const { get } = admin.useFetchClient();
@@ -7,8 +7,8 @@ const designSystem = require("@strapi/design-system");
7
7
  const admin = require("@strapi/strapi/admin");
8
8
  const icons = require("@strapi/icons");
9
9
  const styled = require("styled-components");
10
- const index = require("./index-CTxGMDHr.js");
11
- const useLicense = require("./useLicense-BEbtA_Zo.js");
10
+ const index = require("./index-Cdemkjz9.js");
11
+ const useLicense = require("./useLicense-BAdO5xWc.js");
12
12
  const StyledButtons = require("./StyledButtons-DDuxnYz8.js");
13
13
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
14
14
  const styled__default = /* @__PURE__ */ _interopDefault(styled);