@model-match/api 3.104.0 → 3.106.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 CHANGED
@@ -2,6 +2,17 @@
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.106.0
6
+
7
+ - **Pin files.** `pinFile` and `unpinFile` pin or unpin a file you can see, for you only. Files now carry `pinnedAt` (when you pinned it, or `null`), and `listFiles` with `pinned=true` lists only your pins.
8
+ - **Library entries for things in other apps.** `createFileReference` adds an entry for something that stays live in another app, such as a dashboard, chart or table: its title, kind and where to open it (`ref`, with `app`, `id` and `url`). It is ready at once, has no contents, and is listed, searched, pinned, renamed, shared, linked and deleted like any file. Calling it again with the same `ref.app` and `ref.id` updates the entry and keeps its id. To give it a thumbnail, upload an image with `createFileRevision`.
9
+ - Files now carry `ref` (`null` for an ordinary file). `updateFile` can change an entry's `ref.url`. An entry with no thumbnail answers `409 no_content` from `getFileContent`, and it cannot be made protected.
10
+
11
+ ## 3.105.0
12
+
13
+ - **Heavy Studio jobs get capacity of their own.** A job saved with `size: "heavy"` now runs with much more memory and up to several hours per run. Runs take minutes rather than seconds, so `runStudioJob` answers `status: running`; read the job for how it ended. Each job now has `limits` (`timeoutSeconds`, `maxRows`, `runsOn`), and each run says the limits it had.
14
+ - **`perState` on heavy jobs.** `createStudioJob` and `updateStudioJob` accept `perState: true` to run the SQL once per state and combine the results. Use it only when every row depends on a single state's data, such as a list of homes. It is wrong for national rankings or totals, and SQL ending in `LIMIT` is refused. A per-state run lists how each state went in `states`.
15
+
5
16
  ## 3.104.0
6
17
 
7
18
  - **`sha256Pending` on every file.** When you leave `sha256` out of `createFile` or `createFileRevision`, `completeFile` now returns at once and the SHA-256 is computed in the background. Until it is known, `sha256Pending` is `true` and `sha256` is empty. The file opens and downloads as usual in the meantime. A `sha256` you declare is still checked when you upload, as before.