release: 4.15.0 — media in the publish order, observer and cli fixed, tarballs verified
Some checks failed
Test / test (push) Has been cancelled
Publish / publish (push) Has been cancelled
Cross-platform vectors / Kotlin vectors (gradle) (push) Has been cancelled
Cross-platform vectors / TypeScript vectors (bun) (push) Has been cancelled
Docker build and publish / docker (push) Has been cancelled

@shade/media was missing from both publish lists while server, sdk, cli and
storage-postgres depend on it. @shade/observer built to dist-build and went
out empty; a bin on src/*.ts shipped one file whose imports were not packed.
publish-all.ts now refuses a tarball that lacks any file main, types, bin
or exports name. The [Unreleased] entries are folded into 4.15.0, which had
not been published.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-10-20 12:18:01 +02:00
parent 579d2730e0
commit 6852e09cb4
6 changed files with 73 additions and 22 deletions

View File

@@ -7,18 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
- **`@shade/media/worker`: Shade's media handler inside an app's own Service
Worker.** A worker answers every request of the pages it controls, so an
installed PWA with a worker at `/` never let `media/<id>` reach Shade's
worker beside it. `installShadeMedia(self)`, `isShadeMediaRequest(req)` and
`shadeMediaResponse(req)` put it in the app's worker instead. The standalone
`browser/sw.ts` is now a thin wrapper around the same module.
- **`media put` records length and picture size.** Video, audio and images
are measured with ffprobe (after `--web`, so the numbers match the sealed
file) and sealed with `durationMs`, `width` and `height` in their meta. A
viewer can show a film's length on a tile and reserve its shape without
fetching a byte. Without ffprobe the fields are left out, as before.
## [4.15.0] — 2026-10-18 — Media: films, video, images, audio and live streams, end to end
New package **`@shade/media`** — see `docs/media.md`.
@@ -186,6 +174,26 @@ New package **`@shade/media`** — see `docs/media.md`.
(container and `media serve`). It is now part of every store and of
`createMediaService` (`onSweep` reports it), hourly.
### Also in 4.15.0
- **`@shade/media/worker`: Shade's media handler inside an app's own Service
Worker.** A worker answers every request of the pages it controls, so an
installed PWA with a worker at `/` never let `media/<id>` reach Shade's
worker beside it. `installShadeMedia(self)`, `isShadeMediaRequest(req)` and
`shadeMediaResponse(req)` put it in the app's worker instead. The standalone
`browser/sw.ts` is now a thin wrapper around the same module.
- **`media put` records length and picture size.** Video, audio and images
are measured with ffprobe (after `--web`, so the numbers match the sealed
file) and sealed with `durationMs`, `width` and `height` in their meta. A
viewer can show a film's length on a tile and reserve its shape without
fetching a byte. Without ffprobe the fields are left out, as before.
- **Publishing.** `@shade/media` is in the publish order (first: it depends on
no other Shade package), so `@shade/server`, `@shade/sdk` and `@shade/cli`
no longer point at a package the registry does not have. `@shade/observer`
builds to `dist/` like the rest and is no longer published empty, and a
`bin` on `src/*.ts` is rewritten to `dist/*.js`, so `shade` runs after
install instead of failing on its first import.
## [4.14.1] — 2026-10-16 — Vault: `edit` for vaults two devices write
- `VaultClient.edit(change, at)` changes a few files against the head that