Skip to content

Releases

v0.9.2

Choose a tag to compare

@github-actions github-actions released this 15 Nov 11:11
93c5d75

SVG coordinate conversion

  • Enclose all four client-rectangle corners when converting to SVG user units,
    including rotated, skewed and reflected coordinate systems. Preserve fractional,
    negative-dimension and degenerate rectangles.
  • Capture one screen mapping and inverse per box instead of mixing host reads
    from different corners. Refresh that mapping on each later call.
  • Retain the single-point API, axis-aligned viewport fallback and host failure
    behavior. An enclosure is not a reconstruction of an element's original shape;
    non-invertible matrices are not replaced with apparently valid approximations.
  • Add native SVG matrix/DOMQuad browser coverage to the standard browser gate,
    alongside independent affine-enclosure and mapping-lifetime regression tests.

No public exports, type shapes, runtime dependencies or engine requirements change.

v0.9.1

Choose a tag to compare

@github-actions github-actions released this 07 Nov 23:47
4d98739

Host geometry and DOM measurement

  • Preserve opaque annotation IDs in React DOM note measurements, including
    reserved-looking property names and empty strings. Keep incremental resize
    reads, hidden-note cleanup and stale-observer isolation unchanged.
  • Validate the selected DOM anchor geometry, including sampled SVG paths and
    finite rectangle edges. Reuse each specification's measured anchor for its
    validation report and prepared annotation; preserve permissive extraction,
    independent obstacle reads and host exceptions.
  • Avoid measuring the same element box twice when extracting a DOM anchor,
    keeping its reported bounds and actual anchor geometry consistent.
  • Check individual CSS transforms and rendered ancestors when converting text
    ranges to local coordinates. Preserve positive axis-aligned scale, translation
    and scrolling; report unsupported rotations, reflections, motion paths and
    nonidentity 3D transforms instead of returning misleading geometry.
  • Keep range conversions finite, and cover composed shadow/slot ancestors and
    iframe-owned coordinate spaces with actual browser regressions.

No public exports, type shapes, runtime dependencies or engine requirements
change. Range conversion remains two-dimensional, and preparation is not a
transaction across the entire host document.

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 07 Nov 21:10
818e53b

Report evidence and rendering

  • Add optional numericDiagnostics to layout quality reports. Nonfinite values
    retain their existing numeric semantics, with deterministic field paths and
    string tags that preserve their meaning when native JSON writes null.
    Finite reports keep their previous shape; geometry validity and assertion
    policies remain separate from numerical representability.
  • Prevent zero-area bounds strips from masking perpendicular overflow through
    Infinity * 0, and preserve large finite values in formatted quality output.
    Keep optimized refinement scoring consistent with the full evaluator.
  • Keep generated annotation identity, side, alignment and connector metadata
    authoritative in SVG and React output. Normalize custom data aliases once,
    preserve other metadata, and escape enum-valued SVG attributes consistently.

Playground and documentation

  • Download the exact visible playground recipe as annotation-scene.ts without
    relying on clipboard permission. Failed copies expose a selected, labelled
    snapshot of the clicked text, including when scene controls change afterward.
  • Keep asynchronous copy feedback tied to the latest request and restore the
    original button label after repeated clicks; preserve fallback text on reset.
    Scene-link copying uses the same captured-text recovery without replacing the
    live current URL after a delayed permission denial.
  • Announce guide-filter results through a persistent status region, provide
    descriptive guide links, and state that filtering searches guide metadata
    rather than full page content. Keep long queries within narrow viewports.
  • Repair support links in npm archives, distinguish maintained runtime guidance
    from the retained Node 20 compatibility lane, and document report evidence
    and generated metadata boundaries with executable and declaration checks.

No runtime dependencies or public export names are added. Published versions,
release tags, review requirements and publisher permissions remain unchanged.

v0.8.3

Choose a tag to compare

@github-actions github-actions released this 07 Nov 18:39
b7c65be

Correctness

  • Inspect original prepared and additional obstacle geometry in layout quality
    reports before permissive solver filtering can hide invalid inputs. Preserve
    obstacle indices, negative-dimension normalization and explicit exclusions.
  • Report invalid effective bounds, obstacles and note boxes through the existing
    invalid-box diagnostic, including nonfinite far edges. Strict quality checks
    reject these inputs; standalone extraction and raw solver behavior are unchanged.
  • Resolve React Flow edge routes once per preparation call and detach returned
    points so validation, annotations and included edge obstacles use the same
    geometry. Preserve custom-route precedence, fallback routes, callback receivers,
    prototype getters and non-enumerable structural input fields.
  • Align extracted React Flow edge points with the core half-length path point;
    reject selected routes whose resolved midpoint overflows to nonfinite values.

Documentation and verification

  • Separate current release operations from historical launch/canary procedures,
    and distinguish pre-upload failures, accepted publication and later cleanup.
  • Clarify the separate dist-tag permission and bind publisher readiness claims
    to the checked-in tooling manifest and current audit evidence.
  • Add regression and generated-input coverage for invalid geometry, route
    snapshots, structural host inputs and representative points without changing
    public exports or runtime dependencies.

Verified publication and download status

The official npm 0.8.3 package is published under latest. Its 363,251-byte
archive and registry SHA-512 matched; independent fresh-cache consumers passed
the new obstacle-quality, route-snapshot, structural-input and midpoint checks.
The original signed provenance, certificate identity, issuer and source-commit
policy were verified by the protected mirror workflow.
The three downloads below retain the official archive and original signed bundle;
no package was rebuilt or re-signed for GitHub.

The separate stale-channel cleanup was deliberately not approved: its additional
npm permission remains unresolved in #231.
The overall release run therefore does not show a successful cleanup, but package
publication and release notes succeeded. latest is 0.8.3; the older next tag
is not a recommendation to install that preview. Do not republish 0.8.3 to repair
channel permissions or tags.

v0.8.2

Choose a tag to compare

@github-actions github-actions released this 07 Nov 15:12
bb83813

Correctness

  • Resolve React Flow absolute positions without applying node origins twice;
    retain per-node origin precedence and consistent node, handle and obstacle
    coordinates.
  • Reject nonfinite selected React Flow geometry during validation, preserving
    missing targets, valid fallbacks and authoritative custom routes.
  • Use the core half-length path point consistently in alignment diagnostics,
    compiled D2 results and sampled DOM/SVG representative points. Path samples,
    bounds and existing generated annotation layout remain unchanged.
  • Reject nonfinite resolved D2 and Vega geometry during strict preparation,
    including rendered SVG adapter validation; permissive extraction and public
    types remain unchanged.

Public examples and first use

  • Add real playground scene presets, measured fixed/automatic placement
    comparison, versioned shareable settings and a readable note/quality inspector.
  • Verify the exact copied playground recipes in isolated packed consumers,
    including TypeScript, geometry parity, package-only styling and focus semantics.
  • Add catalog-derived return and integration-guide navigation to every published
    demo, with required browser verification under both hosting prefixes.
  • Keep narrow graph examples readable in keyboard-accessible local scroll
    regions, retain all annotations and remeasure Mermaid anchors on resize.
  • Extend required regression checks for narrow viewports, transformed host
    coordinates, live resizing and integrated inspector/share/reset behavior.

Maintenance

  • Disable automatic tool credit for new repository contributions while preserving
    genuine authorship and previously published release tags.

  • Preserve the source-locked, separately audited publication toolchain and
    existing package/runtime compatibility boundaries.

  • The release workflow now owns the npm dist-tags. A separately approved
    sync-dist-tags job runs after publication, through the trusted publisher's
    new "Allow npm dist-tag" permission and the same audited publisher. A next,
    beta, rc, alpha or canary tag below latest is removed, so a stable
    release clears a next left on an older release candidate; latest never
    moves backwards. Rerunning the job reapplies the policy.

Publication verification and channel cleanup

The published 0.8.2 archive and a fresh npm installation have been verified. npm signatures and signed provenance bind the archive to v0.8.2 at bb83813c8d593e0b722ddedf0b0bb66825b2b2e5 and the release workflow. latest points to 0.8.2.

The separate post-publication dist-tag cleanup was denied because this trusted publisher does not yet have Allow npm dist-tag permission. Consequently next still points to the older 0.7.0-rc.3 candidate. This does not affect the stable 0.8.2 installation. The owner decision and cleanup are tracked in #231; do not republish the immutable package to resolve that permission issue.

v0.8.1

Choose a tag to compare

@github-actions github-actions released this 29 Oct 19:59
21f3874
  • In forced-colors mode, callout subjects keep their CanvasText outline but
    are no longer filled with opaque Canvas. A region or point subject drawn
    over a chart used to hide the data it marked. The frozen legacy
    .ui-annotation bridge is unchanged.

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 12:44
11bd37d
  • Preserve exact placement while reducing many-obstacle scoring and unnecessary
    endpoint-owned routing work; retain an alternating reference benchmark.
  • Add experimental layoutAnnotationPins with priority, bounded displacement,
    explicit leaders and omission reasons. Hosts retain visibility and state.
  • Publish with npm built from its pinned upstream source and a separately
    locked, patched dependency graph, audited before every publish; the registry
    npm bundle carries a high-severity undici advisory. Package contents and
    provenance are unchanged.
  • Patch test-tool dependencies and clarify how to report a vulnerability.

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 10:40
c6d8db8
  • Promote the 0.7 line to stable on latest. This release contains everything
    in 0.7.0-rc.1, rc.2 and rc.3 (their sections below). Since rc.3 only an
    unused local was removed and test tooling was refreshed; package behavior is
    unchanged. Upgrade from 0.6 with docs/migration-0.7.md.

Readability and authoring refinement

  • Add experimental opt-in polyline readability reports and bounded refinement.
    Prefer fewer connector-crossing pairs and shorter routes without worsening
    any existing geometric-quality metric. Preserve manual notes and report
    unmeasured curves explicitly; default layout and quality scores are unchanged.
  • Keep every authored note accessible in the incremental example's full-text
    list. Narrow and crowded hosts default to text-first presentation with an
    explicit full-diagram control. Synchronize keyboard selection, editing,
    undo/redo and focus recovery; provide direct diagram/selected-note navigation.
  • Replace the long version warning with always-visible source/stable identity
    and native expandable install details. Add version-matched SVG, DOM-report
    and React Flow onboarding paths with executable snippet checks.
  • Run responsive scenarios in the existing browser gate, retain their evidence
    across later builds, and reuse verified output in the fast check instead of
    compiling repeatedly. Preserve all existing browser/package/quality gates.
  • Retain paired 12/40-note readability timings and both improved and unchanged
    layouts. These do not establish physical-device or screen-reader acceptance.

Breaking API changes

  • Return lean layouts by default; move candidate lists out of each placement
    into optional layout.diagnostics.annotations, requested with
    diagnostics: { candidates: number | "all" }. Diagnostic retention no longer
    changes refinement quality. Remove placement.maxCandidates.
  • Use <AnnotationLayer layout={layout} /> for externally resolved geometry.
    Remove the old resolvedLayout prop and reject mixed input/render-only modes.
  • Move D3-specific helpers and types to @ponchia/annotations/d3.
    Remove post-hoc refineAnnotationLayout from the root; refine during resolution.
  • Prepare 0.7.0-dev.0 as an unpublished development artifact. See
    docs/migration-0.7.md for the complete migration.

Correctness hardening

  • Preserve the legacy UI helper behavior for oversized notes: anchor their
    leading edge inside padded bounds instead of returning off-canvas starts.

  • Reject unknown timeline directions and subject kinds rather than returning
    undefined SVG or treating invalid subjects as rectangles. Run the unchanged
    20-test geometry suite from UI v0.16.3 against this package's built exports.

  • Make ID tie ordering independent of runtime locale and reject duplicate
    annotation IDs before resolution or session updates.

  • Preserve incremental reuse when refinement is disabled in any supported
    equivalent form.

  • Wrap whole Unicode grapheme clusters instead of splitting surrogate pairs.

  • Expose geometryValid, hostContentClear and a stricter ok quality
    verdict; protected host-content overlap now fails the default assertion.

  • Clarify that raw host metadata can prevent JSON serialization and
    Worker structured cloning; lean layout outputs do not sanitize it.

Performance and internal boundaries

  • Profile actual document and Worker V8 isolates separately in the maintained
    production-browser harness. Keep collected-object samples, reconstructable
    stacks, per-cycle timings, GC-separated heap endpoints and a clone-only
    control distinct from normal timing runs and native allocation claims.

  • Avoid transient candidate arrays and wrappers when choosing a finite
    connector endpoint. Preserve exact hypot arithmetic, stable tie order and
    nonfinite fallback; compare against the independent old-algorithm oracle.

  • Retain integrity-checked CI package artifacts for full-application acceptance
    without publishing or replacing a live dependency.

  • Investigate exact refinement scoring with at most 1 MiB of per-call scratch.
    Cache unchanged geometric contributions, but sum areas in the same order as
    the public evaluator. Candidate trials restore their base; large inputs fall
    back to the original full evaluator. No public API or persistent cache.
    A separate paired benchmark checks the pre-optimization algorithm and keeps
    measurements separate from output/quality parity.

  • Preserve exact placement ranking while avoiding connector routing for candidates
    whose geometric lower bound cannot enter the solver frontier. The default is
    lean; exhaustive diagnostics are opt-in. Regression tests compare geometry,
    scores and reference topology against an independent eager oracle.

  • Separate basic presets from D3-style migration, ordinary resolution from
    incremental-session bookkeeping, and React presentation from interaction
    orchestration. The breaking export changes are listed above; no runtime
    dependencies are added.

  • Use lean Worker responses without routine candidate diagnostics; keep
    authoritative revision checks intact.

Verification and guidance

  • Add wide/narrow chart, report, graph and long-text quality fixtures, expected
    impossible layouts, and negative-control tests. Compare exact placement,
    measured collision budgets, retained JSON bytes and fixed-host resize motion.
  • Add checksum-pinned, licensed upstream Vega/Mermaid inputs and real packed
    browser consumers. Verify rendered alignment, readable text, note collisions,
    host hover interaction and mobile scrolling without external browser requests.
  • Route quality and upstream proof guides, add a fast contributor check, and
    distinguish current guidance from historical release/readiness records.

v0.7.0-rc.3

v0.7.0-rc.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Oct 18:59
0633481
  • Add structural Vega coordinate, inclusive interval and view-origin helpers.
    Resolve mixed band/continuous axes independently, preserve exact domain values,
    and make JSON date/category coercion explicit. Reversed categorical intervals
    retain both complete endpoint bands; invalid geometry returns no coordinate.
  • Preserve existing bulk adapter contracts and the DOM-free core. No Vega runtime
    dependency, host state, Worker ownership or persistence is added.
  • This is a testing candidate for next, not promotion of the 0.7 line to stable.
    Registry availability is recorded only after the protected release completes.

v0.7.0-rc.2

v0.7.0-rc.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Oct 12:55
7b65268
  • Restore legacy UI geometry behavior for oversized note placement and invalid
    timeline/subject input. Verify all 20 unchanged UI v0.16.3 geometry tests
    against standalone exports, with source hash and MIT attribution retained.
  • Preserve historical UI CSS/export checks without a sibling UI checkout;
    reject partial removals and undocumented legacy additions.
  • Include the post-RC1 readability, responsive authoring and Worker allocation
    improvements described below. Editing and Worker APIs remain experimental;
    physical-input and screen-reader acceptance is still outstanding.
  • Publish this candidate only under next; latest stays on the stable 0.6
    line. Source preparation does not itself establish registry availability.