@model-match/api 3.98.0 → 3.100.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/RELEASE_NOTES.md +10 -0
- package/dist/{index-Cc88T4yz.d.mts → index-Dpb6EF6m.d.mts} +374 -5
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/slim/index.d.mts +36 -6
- package/dist/slim/index.mjs +94 -6
- package/dist/{src-C7phaMzR.mjs → src-D6M4H3IA.mjs} +102 -4
- package/openapi.json +914 -153
- package/package.json +1 -1
package/RELEASE_NOTES.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Changes to `@model-match/api` that affect how you use it. Each version is generated from the ModelMatch API's OpenAPI spec, so new endpoints and fields appear in the [API reference](https://docs.modelmatch.com/developers) as they ship.
|
|
4
4
|
|
|
5
|
+
## 3.100.0
|
|
6
|
+
|
|
7
|
+
- **Load a file from your files library into a Studio table.** New methods load a ready file into a table only your organization can query (`createStudioTable`, with the file's id and a table name), list your tables (`listStudioTables`), read one while it is still being read (`getStudioTable`) and delete one (`deleteStudioTable`). All free.
|
|
8
|
+
- Every table answer says which file it came from (`sourceFileId`) and whether that file has since been deleted (`sourceFileDeleted`). Deleting a file never deletes its tables, and deleting a table leaves the file.
|
|
9
|
+
- **The upload methods are deprecated.** `createStudioUpload`, `completeStudioUpload`, `listStudioUploads` and `deleteStudioUpload` keep working until 2026-12-23. Move to the table methods: put the file in your files library, then load it.
|
|
10
|
+
|
|
11
|
+
## 3.99.0
|
|
12
|
+
|
|
13
|
+
- **`client.files.createRevision` replaces a file's contents and keeps its id.** Declare the new size and SHA-256, PUT the bytes to the returned URL, then call `complete`. Shares and links stay, `sha256` and `sizeBytes` update, and `revision` goes up by one. The file keeps its current contents until the new ones check out. Files now carry `revision`.
|
|
14
|
+
|
|
5
15
|
## 3.98.0
|
|
6
16
|
|
|
7
17
|
- **`client.files` is your file library.** New methods start an upload (`create`, then PUT the bytes to the returned URL, then `complete`), browse your files with filters and facet counts (`list`), search them by name (`search`), read one with its shares and links (`get`), open one (`getContent`, a fresh short-lived link each time), rename it or edit its metadata (`update`), delete it (`delete`), share it with a person, a team or your whole organization (`share`, `unshare`) and attach it to a chat, project, Studio table or export (`link`, `unlink`). A new file is visible only to you until you share it. All of it is free.
|