Skip to content

Version Packages - #9128

Closed
hash-worker[bot] wants to merge 0 commit into
mainfrom
changeset-release/main
Closed

Version Packages#9128
hash-worker[bot] wants to merge 0 commit into
mainfrom
changeset-release/main

Conversation

@hash-worker

@hash-worker hash-worker Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@blockprotocol/graph@0.5.0

Minor Changes

  • #8992 478b38c Thanks @claude! - Make rightEntity / leftEntity on LinkEntityAndRightEntity / LinkEntityAndLeftEntity possibly undefined, reflecting what getOutgoingLinkAndTargetEntities / getIncomingLinkAndSourceEntities actually return when a link's has-right-entity / has-left-entity edge is not resolved into the subgraph. Previously an unsafe cast hid this, allowing runtime crashes when consumers indexed into a missing target entity array.

@hashintel/ds-components@0.3.0

Minor Changes

Patch Changes

@hashintel/petrinaut@0.1.0

Minor Changes

  • #8829 4820e48 Thanks @kube! - Add Actual mode: a read-only live-execution view fed by a host-provided event stream, with an Actual timeline and Events tab, recording export helpers, and a redesigned timeline series selector.

Patch Changes

  • #9074 9fa9452 Thanks @kube! - Fix the Simulation Settings scenario picker overlapping its action buttons, keep the BottomPanel tab bar a constant height, fade truncated tab labels instead of wrapping, adapt the Timeline header (shrinking metric picker, hidden label) to narrow panels, and let sidebar subview content scroll through the section's full height.

  • #9084 4dbbdf6 Thanks @claude! - Remove "Petrinaut" branding from the AI assistant panel: the tab now reads "AI", and the empty-state, composer label and auto-layout widget copy refer to the assistant neutrally. The topBarStart slot now renders after the built-in sidebar-toggle and menu buttons, immediately before the net title, so hosts can lead into the title with breadcrumbs, and a new slots.titleStyle hook lets hosts apply an inline style to the title input (e.g. tinting it as the final crumb).

  • #8953 bfb99e7 Thanks @kube! - Add the uuid token attribute type: 128-bit identifiers, bigint at runtime, canonical strings at rest. Kernels may omit uuid fields to auto-generate them, or use Uuid.generate() / Uuid.from(value).

  • #8953 bfb99e7 Thanks @kube! - Add the string token attribute type, stored via per-run interning. Editing a type's schema now migrates stored initial state (values convert, falling back to the new type's default).

  • #9051 276e17d Thanks @kube! - Add a scenario-first optimization interface with flat parameter search spaces, metric objectives, and progressive step results.

  • #8764 c6cfee0 Thanks @kube! - Add integer and boolean token attribute types.

  • #8846 706981f Thanks @CiaranMn! - Update inhibitor arc styling

  • #9043 63a51e5 Thanks @kube! - Metrics can now read net parameters ambiently as parameters.<variableName> (bound to the run's resolved values, including scenario overrides). Scenario parameters remain unavailable to metrics.

  • #8981 03f6a30 Thanks @kube! - Compile all user code (dynamics, rates, kernels, metrics) through a new HIR
    to programs reading the packed frame buffers directly, replacing Babel.

    Compatibility: code outside the supported TypeScript subset no longer runs —
    it is rejected with an error diagnostic pointing at the offending syntax.

  • #8763 faddfad Thanks @kube! - Add handle capabilities for disabling SDCPN extensions and global parameters.

  • #9078 aafb03b Thanks @kube! - Add a small right inset to the Simulation Settings scenario picker row and parameters list so their controls don't hug the column edge.

  • #8662 62f4e31 Thanks @kube! - Add subnet definitions, component instances, and wiring support to Petrinaut.

  • #8774 f2d9df1 Thanks @kube! - Add editor support for read input arcs, including arc controls and distinct canvas rendering.

  • #9073 9c043ef Thanks @kube! - Use a shared fixed seed (PETRINAUT_DEFAULT_SEED) for interactive simulation and optimization runs, so playing a simulation reproduces an optimization trial given the same configuration.

  • #8943 2989ccd Thanks @kube! - Export the token value codec and compileUserCode from @hashintel/petrinaut-core.

  • #8944 2c1c089 Thanks @kube! - Packed-struct token frame layout (f64 numbers, u8 booleans, 8-byte strides). getPlaceTokens(place) and buildMetricState(frame, places) drop unused parameters.

  • #9071 ff6b8f8 Thanks @claude! - Ship Panda static-analysis build info (@hashintel/petrinaut/panda.buildinfo.json) and a shared theme preset (@hashintel/petrinaut/panda-preset) so host applications can compile Petrinaut's styles through their own Panda pipeline instead of relying on two independently generated, layer-polyfilled bundles. Petrinaut's keyframes are now namespaced (petrinautFadeIn, petrinautExpand, ...) so they can never collide with — and be deep-merged into — a host theme's keyframes.

  • Updated dependencies [7931c7a, bfb99e7, bfb99e7, 5db8b5d, eee2547, 54cc7eb, bfb99e7, b00c6bd, 0cb749d, c6cfee0, 8494d8a, 63a51e5, d0af60d, 4820e48, 03f6a30, faddfad, 4681616, 62f4e31, f2d9df1, 9c043ef, 0aadff3, aaaddd6, 343cc4a, 2989ccd, 2c1c089]:

    • @hashintel/ds-components@0.3.0
    • @hashintel/petrinaut-core@0.1.0

@hashintel/petrinaut-core@0.1.0

Minor Changes

  • #8829 4820e48 Thanks @kube! - Add Actual mode: a read-only live-execution view fed by a host-provided event stream, with an Actual timeline and Events tab, recording export helpers, and a redesigned timeline series selector.

Patch Changes

  • #8953 bfb99e7 Thanks @kube! - Add the uuid token attribute type: 128-bit identifiers, bigint at runtime, canonical strings at rest. Kernels may omit uuid fields to auto-generate them, or use Uuid.generate() / Uuid.from(value).

  • #8953 bfb99e7 Thanks @kube! - Expose the per-type policy registry (TYPE_POLICIES) and related helpers.

  • #9067 eee2547 Thanks @kube! - Add an optional seq sequence number to every optimization event so detached, reconnectable optimization runs can be resumed from a cursor.

  • #9096 54cc7eb Thanks @claude! - Fix predicate (boolean guard) transitions not firing on the first simulation frame or on consecutive frames. A true guard now fires in the same step it becomes true, instead of every other frame.

  • #8953 bfb99e7 Thanks @kube! - Add the string token attribute type, stored via per-run interning. Editing a type's schema now migrates stored initial state (values convert, falling back to the new type's default).

  • #9040 b00c6bd Thanks @kube! - Add scenario-first optimization manifests with flat parameter search spaces, metric objectives, and hardened server-side scenario execution.

  • #8764 c6cfee0 Thanks @kube! - Add integer and boolean token attribute types.

  • #9043 63a51e5 Thanks @kube! - Metrics can now read net parameters ambiently as parameters.<variableName> (bound to the run's resolved values, including scenario overrides). Scenario parameters remain unavailable to metrics.

  • #8981 03f6a30 Thanks @kube! - Compile all user code (dynamics, rates, kernels, metrics) through a new HIR
    to programs reading the packed frame buffers directly, replacing Babel.

    Compatibility: code outside the supported TypeScript subset no longer runs —
    it is rejected with an error diagnostic pointing at the offending syntax.

  • #8763 faddfad Thanks @kube! - Add handle capabilities for disabling SDCPN extensions and global parameters.

  • #8662 62f4e31 Thanks @kube! - Add subnet definitions, component instances, and wiring support to Petrinaut.

  • #8774 f2d9df1 Thanks @kube! - Support read input arcs across SDCPN parsing, simulation, AI arc creation, and typed code inputs.

  • #9073 9c043ef Thanks @kube! - Use a shared fixed seed (PETRINAUT_DEFAULT_SEED) for interactive simulation and optimization runs, so playing a simulation reproduces an optimization trial given the same configuration.

  • #8943 2989ccd Thanks @kube! - Export the token value codec and compileUserCode from @hashintel/petrinaut-core.

  • #8944 2c1c089 Thanks @kube! - Packed-struct token frame layout (f64 numbers, u8 booleans, 8-byte strides). getPlaceTokens(place) and buildMetricState(frame, places) drop unused parameters.

@hashintel/petrinaut-cli@0.0.0

Patch Changes

@vercel

vercel Bot commented Jul 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hash Ready Ready Preview Jul 31, 2026 3:12pm
hashdotdesign-tokens Ready Ready Preview Jul 31, 2026 3:12pm
petrinaut Ready Ready Preview Jul 31, 2026 3:12pm

@cursor

cursor Bot commented Jul 31, 2026

Copy link
Copy Markdown

PR Summary

High Risk
Releases multiple semver bumps with breaking DS Checkbox APIs, stricter Petrinaut user-code compilation, and corrected graph link-entity types that may require consumer updates; publishing affects downstream installs immediately on merge.

Overview
Automated Changesets “Version Packages” release that bumps published npm versions and rolls up changelog entries from accumulated changesets—merge triggers publish rather than introducing new feature code in this branch.

@blockprotocol/graph@0.5.0 tightens link-entity types so rightEntity / leftEntity may be undefined when subgraph resolution omits the related entity, replacing a cast that could cause runtime crashes.

@hashintel/ds-components@0.3.0 ships a breaking Checkbox API plus new primitives (Menu, Select, Popover, Toggle, CheckboxGroup/RadioGroup), icons, and useScrollLock with shared scrollbar sizing.

@hashintel/petrinaut@0.1.0 and @hashintel/petrinaut-core@0.1.0 are a large minor release: Actual/live mode, subnet/components, optimization UI, new token types (integer, boolean, string, uuid), HIR-based user-code compilation (replacing Babel; unsupported TS is rejected), packed frame layout, metrics reading parameters.*, Panda preset/buildinfo for host styling, simulation seed reproducibility, and assorted UI fixes. @hashintel/petrinaut-cli only picks up the core dependency bump.

Reviewed by Cursor Bugbot for commit 6afcaff. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions github-actions Bot added area/infra Relates to version control, CI, CD or IaC (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > frontend Owned by the @frontend team area/apps > hash.design Affects the `hash.design` design site (app) labels Jul 31, 2026
@vercel
vercel Bot temporarily deployed to Preview – hashdotdesign-tokens July 31, 2026 12:31 Inactive
@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.58%. Comparing base (fb8a6d1) to head (2c07a09).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9128   +/-   ##
=======================================
  Coverage   59.58%   59.58%           
=======================================
  Files        1410     1410           
  Lines      137977   137977           
  Branches     6494     6494           
=======================================
  Hits        82212    82212           
  Misses      54729    54729           
  Partials     1036     1036           
Flag Coverage Δ
apps.hash-ai-worker-ts 1.99% <ø> (ø)
apps.hash-api 12.57% <ø> (ø)
local.hash-backend-utils 2.55% <ø> (ø)
local.hash-graph-sdk 10.02% <ø> (ø)
local.hash-isomorphic-utils 12.25% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vercel
vercel Bot temporarily deployed to Preview – petrinaut July 31, 2026 12:38 Inactive
@hash-worker hash-worker Bot closed this Jul 31, 2026
@hash-worker
hash-worker Bot force-pushed the changeset-release/main branch from 1e0f56c to fb8a6d1 Compare July 31, 2026 14:53
@hash-worker hash-worker Bot reopened this Jul 31, 2026
@vercel
vercel Bot temporarily deployed to Preview – hashdotdesign-tokens July 31, 2026 14:56 Inactive
@vercel
vercel Bot temporarily deployed to Preview – petrinaut July 31, 2026 15:02 Inactive
@hash-worker hash-worker Bot closed this Jul 31, 2026
@hash-worker
hash-worker Bot force-pushed the changeset-release/main branch from 2c07a09 to 6afcaff Compare July 31, 2026 15:49
@vercel
vercel Bot temporarily deployed to Production – petrinaut July 31, 2026 15:57 Inactive
@vercel
vercel Bot temporarily deployed to Preview – petrinaut July 31, 2026 15:58 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/apps > hash.design Affects the `hash.design` design site (app) area/infra Relates to version control, CI, CD or IaC (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > frontend Owned by the @frontend team

Development

Successfully merging this pull request may close these issues.

0 participants