create-prenta 1.7.4 → 1.7.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # create-actuate-cms
2
2
 
3
+ ## 1.7.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 7774902: Sync the scaffolded Prisma schema with cms-core so new projects get the current media storage-key comment.
8
+
3
9
  ## 1.7.4
4
10
 
5
11
  ### Patch Changes
@@ -327,9 +327,9 @@ model Media {
327
327
  // stays inert for them — until `prenta migrate:content-hash` fills them
328
328
  // in (#730). Nullable so the migration itself does not download every asset.
329
329
  contentHash String?
330
- // `storageKey` historically held the public URL; `publicUrl` splits
331
- // that concern out. New uploads populate both; legacy rows keep the
332
- // URL in `storageKey` and `mediaUrl()` still resolves it.
330
+ // `storageKey` is the object key (`prenta/media/…`). `publicUrl` is what
331
+ // browsers fetch. Rows from before this split keep the URL in `storageKey`
332
+ // until `backfillMediaStorageKeys` moves it. Readers use `publicUrl` first.
333
333
  publicUrl String?
334
334
  storageProvider String?
335
335
  durationSeconds Float?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prenta",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "description": "Scaffold a new Prenta CMS project",
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,7 +37,7 @@
37
37
  "@types/prompts": "^2.4.9",
38
38
  "tsx": "^4.0.0",
39
39
  "typescript": "^5.7.0",
40
- "vitest": "^4.1.0"
40
+ "vitest": "^4.1.12"
41
41
  },
42
42
  "keywords": [
43
43
  "prenta",