← What's New
Metadata flags added; kind support for source/product taxonomy
Minor Changes
- 7a2307c: Add
--metadata-set <key=value>and--metadata-unset <key>flags toreleases admin source update. Both are repeatable and thread through the existingupdateSourceMetaclient-side merge, so one-off source metadata patches (e.g.--metadata-set crawlEnabled=true --metadata-set githubUrl=https://github.com/docker/compose) no longer require custom scripts. Value coercion follows standard CLI conventions:true/false/nullbecome JSON literals, finite number strings become numbers, values starting with{or[are parsed as JSON, and everything else is kept as a string. - 1af16a3: Add
--kind <value>support for the new source/product taxonomy (platform | sdk | mobile | desktop | docs | integration | tool). Write paths (releases admin source update,releases admin product update,releases admin product create) accept the flag and validate locally viaisValidKindbefore hitting the API. Read paths (releases list,releases admin source list,releases admin product list,releases search) accept--kindas a filter and pass it through as a query string. The API applies inheritance (COALESCE(source.kind, product.kind)) on content-oriented surfaces and direct equality on metadata-oriented surfaces; see the help text for the per-command behavior. Bumps the pinned@buildinternet/releases-coreand@buildinternet/releases-api-typesto^0.22.0.