Skip to content

Releases: CQCL/hugr

hugr-cli: v0.15.1

21 Mar 13:43
c90545d
Compare
Choose a tag to compare

New Features

  • (hugr-cli) Nicer error when passing a non-envelope file (#2007)

hugr-py: v0.11.1

17 Mar 12:39
d91dc8a
Compare
Choose a tag to compare

0.11.1 (2025-03-17)

Features

  • Add default envelope config to Package.to_str/to_bytes (#1980) (44deda1)

Bug Fixes

hugr: v0.15.0

14 Mar 16:47
06d5120
Compare
Choose a tag to compare

This release adds a new Node parameter to the HugrView trait, so it is now possible to have more complex structures behave like hugrs.

We also added a new text/binary serialization format for hugrs that will let us keep interoperability between different versions.

Finally, we added multiple new operations and improvements to the rewrites and passes.

New Features

  • Add separate DCE pass (#1902)
  • [breaking] Don't assume "main"-function in dataflow + constant folding (#1896)
  • [breaking] Add associated type Node to HugrView (#1932)
  • Rewrite for inlining a single Call (#1934)
  • [breaking] replace Lift with Barrier (#1952)
  • hugr-model AST (#1953)
  • Add float <--> int bytecasting ops to conversions extension (#1956)
  • Add collections.static_array extension. (#1964)
  • [breaking] Generic HUGR serialization with envelopes (#1958)

Refactor

  • (hugr-model) Reexport bumpalo from hugr-model (#1870)
  • [breaking] remove unused dependencies (#1935)

hugr-py: v0.11.0

14 Mar 17:06
bf0e271
Compare
Choose a tag to compare

0.11.0 (2025-03-14)

⚠ BREAKING CHANGES

  • Lift op in prelude replaced with a Barrier that behaves similarly except does not add any extensions.

Features

  • Add collections.static_array extension. (#1964) (fdcd48a)
  • Add float <--> int bytecasting ops to conversions extension (#1956) (fa1bf86)
  • Generic HUGR serialization with envelopes (6710e5f)
  • replace Lift with Barrier (#1952) (4e6b6d8)

Bug Fixes

hugr-passes: v0.15.0

14 Mar 16:46
06d5120
Compare
Choose a tag to compare

New Features

  • add separate DCE pass (#1902)
  • [breaking] replace Lift with Barrier (#1952)
  • [breaking] don't assume "main"-function in dataflow + constant folding (#1896)

hugr-model: v0.18.0

14 Mar 16:45
06d5120
Compare
Choose a tag to compare

Bug Fixes

  • Hugr-model using undeclared derive_more features (#1940)

New Features

  • (hugr-model) [breaking] Add read_from_reader and write_to_writer for streaming reads and writes. (#1871)
  • hugr-model AST (#1953)

Refactor

  • (hugr-model) Reexport bumpalo from hugr-model (#1870)

hugr-llvm: v0.15.0

14 Mar 16:46
06d5120
Compare
Choose a tag to compare

Bug Fixes

  • Rename widen insta tests (#1949)

New Features

  • Emit widen ops from the int ops extension (#1946)
  • [breaking] replace Lift with Barrier (#1952)
  • (hugr-llvm) Emit narrow ops (#1955)
  • Add float <--> int bytecasting ops to conversions extension (#1956)
  • (hugr-llvm) Emit iu_to_s and is_to_u (#1978)

Refactor

  • [breaking] remove unused dependencies (#1935)

hugr-core: v0.15.0

14 Mar 16:45
06d5120
Compare
Choose a tag to compare

New Features

  • [breaking] Add associated type Node to HugrView (#1932)
  • Rewrite for inlining a single Call (#1934)
  • [breaking] replace Lift with Barrier (#1952)
  • Add float <--> int bytecasting ops to conversions extension (#1956)
  • Add collections.static_array extension. (#1964)
  • [breaking] Generic HUGR serialization with envelopes (#1958)

Refactor

  • [breaking] remove unused dependencies (#1935)

hugr-cli: v0.15.0

14 Mar 16:47
06d5120
Compare
Choose a tag to compare

This release changes the format expected by hugr-cli's input to the new generic HUGR envelopes. A new flag --hugr-json provides compatibility with the old format.

New Features

  • [breaking] Generic HUGR serialization with envelopes (#1958)

hugr: v0.14.4

24 Feb 16:16
929edb6
Compare
Choose a tag to compare

Bug Fixes

  • delegate default impls in HugrView (#1921)

New Features

  • add xor to logic extension (#1911)
  • Add Type::as_sum and SumType::variants. (#1914)
  • Add HugrMutInternals::insert_ports (#1915)