Skip to content

hugr-passes: v0.14.0

Compare
Choose a tag to compare
@hugrbot hugrbot released this 16 Dec 15:18
· 56 commits to main since this release
cc05e94

⚠ BREAKING CHANGES

  • Updated to hugr 0.14, which includes breaking changes to the serialization format.

  • ConstantFoldPass is no longer UnwindSafe, RefUnwindSafe, nor Copy.

  • fold_leaf_op and find_consts have been removed.

  • ConstantFoldPass::new function removed. Instead use ConstantFoldPass::default.

  • Variant ConstFoldError::SimpleReplacementError was removed.

Bug Fixes

  • allow disconnected outputs in SiblingSubgraph::from_node (#1769)

New Features

  • [breaking] Replace GATs with impl Iterator returns (RPITIT) on HugrView (#1660)
  • [breaking] Share Extensions under Arcs (#1647)
  • [breaking] OpDefs and TypeDefs keep a reference to their extension (#1719)
  • [breaking] Have CustomTypes reference their Extension definition (#1723)
  • [breaking] Resolve OpaqueOps and CustomType extensions (#1735)
  • Dataflow analysis framework (#1476)
  • [breaking] used_extensions calls for both ops and signatures (#1739)
  • [breaking] Hugrs now keep a ExtensionRegistry with their requirements (#1738)
  • (hugr-passes) [breaking] Rewrite constant_fold_pass using dataflow framework (#1603)
  • [breaking] Rename collections extension to collections.list (#1764)
  • [breaking] Add monomorphization pass (#1733)
  • [breaking] rename extension_reqs to runtime_reqs (#1776)
  • [breaking] Don't require explicit extension registers for validation (#1784)
  • [breaking] Remove ExtensionRegistry args in UnwrapBuilder and ListOp (#1785)

Performance

  • Faster singleton SiblingSubgraph construction (#1654)
  • Return Cow<Signature> where possible (#1743)