Skip to content

Releases: Automattic/newspack-intelligence

v0.15.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 15:47

Changed

  • Needs newspack-nodes 2.106.0, and bundles its console and stream. The debug overlay's topology console opens an owner's sidecars as a grid of live cards, asking for them through dump_metadata -o, which an older substrate answers with an empty map; below 2.106.0 the plugin stays dormant. The dashboard reads the substrate's raw-block stream through fetch().

v0.14.6

Choose a tag to compare

@github-actions github-actions released this 12 Oct 10:30

Changed

  • The bundled debug overlay and topology canvas come from newspack-nodes 2.105.1: a patroned node opens from a "…" on its owner's card instead of drawing on the canvas; a graph holding a loop draws left to right; a sink sharing its feeder sits beside it; a card fed by nothing that feeds only a hub sits in the column before the hub, no longer pushing it a column right; and a half step opens only in the block whose wires open it.

v0.14.5

Choose a tag to compare

@github-actions github-actions released this 10 Oct 14:16

Changed

  • The bundled debug overlay and topology canvas come from newspack-nodes 2.104.1: the overlay outlines as drift only the nodes its console made, and the canvas stacks the bands feeding one hub with no gap and leaves one empty row between groups.

v0.14.4

Choose a tag to compare

@github-actions github-actions released this 10 Oct 10:15

Changed

  • The substrate floor rises to newspack-nodes 2.104.0, whose page link routes by pairs; the bundled stream hooks call addPairs().

v0.14.3

Choose a tag to compare

@github-actions github-actions released this 08 Oct 20:31

Changed

  • Publisher Insights' commands pass insights:shell, no longer shell:insights, so connect insights:shell watches this dashboard's traffic. Built against newspack-nodes' renamed group Taps.

v0.14.2

Choose a tag to compare

@github-actions github-actions released this 08 Oct 18:24

Changed

  • The substrate floor rises to newspack-nodes 2.102.0, whose shell:<group> Taps the dashboard is built against, and whose page global Core it shares with the substrate's bundles.
  • Publisher Insights' commands pass shell:insights rather than _shell. The poll and the Collect and Regenerate buttons send under the insights group, so connect shell:insights watches this dashboard's traffic alone. Built against newspack-nodes' egressPath( group, ci ).

v0.14.1

Choose a tag to compare

@github-actions github-actions released this 08 Oct 05:48

Changed

  • Rebuilt against newspack-nodes 2.100.0. The debug overlay's Inspector shows a Fetcher's command alone, with its arguments in their own field.

v0.14.0

Choose a tag to compare

@github-actions github-actions released this 08 Oct 02:03

Changed

  • The four topologies write {partition}, and the substrate floor rises from 2.88.0 to 2.99.0. The substrate resolves {partition} in the arguments a node's schema marks and refuses <partition>. A custom topology still writing <partition>, such as <config:logs_dir>/ingest.p<partition>, now fails to load; write {partition}. Below 2.99.0 the plugin stays dormant.

v0.13.0

Choose a tag to compare

@github-actions github-actions released this 07 Oct 02:56

Changed

  • scripts/pre-push is newspack-nodes' shared hook, vendored by sync-shared-scripts.sh. This plugin's scripts/pre-push.local holds only its container constants. lint:shell and lint-staged check it too.
  • pre-push checks this plugin's substrate floor. The shared hook runs scripts/check-substrate-floor.sh on every push, after lint-wp-pin, so a version_at_least() floor below an API the plugin calls fails the push. The vendored test-*.sh copies are gone; those self-tests run in newspack-nodes alone.

Fixed

  • A DONE still in flight at RESET completes its own cycle, not the next one. RESET appends a TM_INFO "RESET\n" fence to ingest:partition and the digest clears when that fence arrives, behind every message the previous cycle left in the pipeline. The digest's first argument is the ingest Partition (make_node Digest_Builder digest ingest:partition 3), the scored-Partition nudge is gone, and RESET answers { fence } instead of { cleared }. The digest declares that Partition in its display targets, so the console draws the edge.
  • The digest composes once per cycle. It composes on the DONE that brings the reported sources to total; a replayed or surplus DONE no longer recomposes and rewrites digest.md. total is a required argument, so a make_node without it fails loud, and a worker restoring its snapshot keeps the configured total rather than the snapshot's.
  • The Gate drops control signals. It no longer forwards DONE or the RESET fence, so neither writes a line to gate-decisions.jsonl.
  • Dormant against an old substrate, the plugin registers no admin pages. The Publisher Insights page, the Newspack Intelligence settings page, the dashboard enqueue and the newspack_nodes/overlay_pages declaration register behind the version handshake, where the settings page could otherwise fatal on Clients_Settings.
  • pre-push gates every pushed ref, and fails closed. It gathers changed paths from every non-delete ref, diffs a branch without a merge base against the empty tree, fails when git diff fails, and classifies .mjs and .ts files as JS.

v0.12.17

Choose a tag to compare

@github-actions github-actions released this 06 Oct 21:18

Changed

  • Rebuilt against newspack-nodes 2.96.2, so the debug overlay's canvas draws a node its owner builds with a plain outline, not as a node added at runtime.