@ai-matrx/media 0.11.0 → 0.13.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/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @ai-matrx/media
2
2
 
3
+
4
+
5
+ ## 0.13.0 — DB types come from @ai-matrx/data/types
6
+
7
+ - `files/engine/db-types` is an alias of `@ai-matrx/data/types` (`FilesDatabase = Database`, plus
8
+ `Json`, `Tables`, `TablesInsert`, `TablesUpdate`, `Enums`, `CompositeTypes`) — the one generated copy
9
+ (architecture step 12). Media's own generator is gone; `pnpm db-types` runs data's.
10
+
11
+ Consumer action: none. Needs `@ai-matrx/data` ≥ 0.22.0.
12
+
13
+ ## 0.12.0 — upload transport rides @ai-matrx/data
14
+
15
+ - The TUS wire (`tus-js-client`, the `mtx-tus-urls` resume store, `buildUploadMetadataEnvelope`) and
16
+ the upload dedup guard now live in `@ai-matrx/data` (`./files/tus`, `./files`); `tusUploadRaw`
17
+ binds the host's fresh headers and base URL and hydrates the row — same signature, same result.
18
+ `upload/tusUpload` and `upload/uploadDedupGuard` re-export the moved names (architecture step 14, D1).
19
+ - `FileUrls` is data's type; `fileUrls(fileId)` here is the one caller-facing signature, built on
20
+ data's `buildFileUrls(filesBaseUrl, fileId)`.
21
+ - `tus-js-client` is no longer a direct dependency (it arrives through `@ai-matrx/data`).
22
+
23
+ Consumer action: none — every import path and signature is unchanged. Needs `@ai-matrx/data` ≥ 0.21.0.
24
+
3
25
  ## 0.11.0 — file errors and the transport decision come from data
4
26
 
5
27
  - `FileHandlerError` and `FileAccessDeniedError`, `FileNotFoundError`, `FileDeletedError`,