Skip to content

hugr: v0.6.0

Compare
Choose a tag to compare
@hugrbot hugrbot released this 01 Jul 09:15
· 461 commits to main since this release
7dadadf

Bug Fixes

  • SimpleReplacement panic on multiports (#1191)
  • Add some validation for const nodes (#1222)
  • Cfg not validating entry/exit types (#1229)
  • extract_hugr not removing root node ports (#1239)

Documentation

  • Fix documentation of ValidationError::ConstTypeError (#1227)

Features

  • CircuitBuilder::add_constant (#1168)
  • [breaking] Make the rewrite errors more useful (#1174)
  • [breaking] Validate Extensions using hierarchy, ignore input_extensions, RIP inference (#1142)
  • [breaking] Infer extension deltas for Case, Cfg, Conditional, DataflowBlock, Dfg, TailLoop (#1195)
  • Helper functions for requesting inference, use with builder in tests (#1219)

Refactor

  • [breaking] FunctionBuilder takes impl Into (#1220)
  • [breaking] Remove NodeType and input_extensions (#1183)