releases.shpreview

Entity notices: render and set/clear verbs added

v0.56.0

1 feature1 enhancement1 fixThis release1 featureNew capabilities1 enhancementImprovements to existing features1 fixBug fixesAI-tallied from the release notes

Minor Changes

  • d0d1346: Add entity-notice rendering (Part A) and set/clear verbs (Part B) for org, product, and source entities (#278).

    Part A — render: releases get, releases org get, and releases admin source update detail views now display a curator notice in yellow when the API returns one — formatted as Notice: <message> → <coordinate-or-href> (pointer omitted when absent). The notice also passes through in all --json outputs.

    Part B — set/clear: New flags on the three entity update commands:

    • releases org update --notice <msg> / --notice-link <coord|url> / --notice-link-text <label> / --clear-notice
    • releases admin product update — same flags
    • releases admin source update — same flags

    --notice-link is routed automatically: an https?:// value is sent as href; anything else is validated as a 1–2-segment registry coordinate (org or org/slug) and sent as coordinate. --clear-notice sends { notice: null } to remove an existing notice. The flags are mutually exclusive (--clear-notice + --notice exits with an error).

    All flag parsing lives in src/lib/notice.ts. The Notice type is imported from @buildinternet/releases-core@0.23.0 (canonical source); this PR also bumps @buildinternet/releases-api-types to ^0.29.0.

Patch Changes

  • 6ef7321: admin source fetch-log <source> now shows an in-progress banner when a managed-agent fetch is still running for that source — the session id plus how long it has been running — so an operator can tell a live fetch from a stuck one instead of seeing only terminal history (#1360). The source-filtered query reads the API's enveloped activeSession; --json output is unchanged (still the bare logs array). The status column also labels the crawl_timeout (#1361) and blocked (#1171) states distinctly instead of rendering them as "no change".

Fetched June 11, 2026