create-prenta 1.6.4 → 1.6.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 +6 -0
- package/assets/prisma/schema.prisma +4 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# create-actuate-cms
|
|
2
2
|
|
|
3
|
+
## 1.6.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- eadf991: Add `prenta migrate:content-hash` to fill NULL `Media.contentHash` values from stored bytes so upload dedupe matches libraries that predate the column. Colliding byte-identical rows are reported and left in place.
|
|
8
|
+
|
|
3
9
|
## 1.6.4
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -321,9 +321,10 @@ model Media {
|
|
|
321
321
|
// (#714). Cleared automatically when a non-empty alt is saved.
|
|
322
322
|
isDecorative Boolean @default(false)
|
|
323
323
|
tags Json?
|
|
324
|
-
// SHA-256 hex of the final stored bytes (post-optimize).
|
|
325
|
-
//
|
|
326
|
-
//
|
|
324
|
+
// SHA-256 hex of the final stored bytes (post-optimize). Upload dedupe
|
|
325
|
+
// matches this column (#718). Rows that predate it stay NULL — and dedupe
|
|
326
|
+
// stays inert for them — until `prenta migrate:content-hash` fills them
|
|
327
|
+
// in (#730). Nullable so the migration itself does not download every asset.
|
|
327
328
|
contentHash String?
|
|
328
329
|
// `storageKey` historically held the public URL; `publicUrl` splits
|
|
329
330
|
// that concern out. New uploads populate both; legacy rows keep the
|