Skip to content

Releases: CQCL/hugr

hugr-cli: v0.6.1

09 Oct 14:35
Compare
Choose a tag to compare

Features

  • [breaking] Allow registry specification in run_dump (#1501)
  • [breaking] Add Package::validate and return ExtensionRegistry in helpers. (#1507)

hugr: v0.12.1

04 Sep 09:56
6bf6c82
Compare
Choose a tag to compare

Bug Fixes

  • std.collections.insert wrong output order (#1513)

Features

  • Op replacement and lowering functions (#1509)

hugr-py: v0.8.1

04 Sep 09:51
6059f64
Compare
Choose a tag to compare

0.8.1 (2024-09-04)

Features

Bug Fixes

hugr-passes: v0.8.1

04 Sep 09:55
6bf6c82
Compare
Choose a tag to compare

Features

  • Op replacement and lowering functions (#1509)

hugr-core: v0.9.1

04 Sep 09:54
6bf6c82
Compare
Choose a tag to compare

Bug Fixes

  • std.collections.insert wrong output order (#1513)

hugr-cli: v0.6.0

04 Sep 09:56
6bf6c82
Compare
Choose a tag to compare

Features

  • [breaking] Allow registry specification in run_dump (#1501)
  • [breaking] Add Package::validate and return ExtensionRegistry in helpers. (#1507)

hugr: v0.12.0

30 Aug 15:42
3213063
Compare
Choose a tag to compare

Features

  • [breaking] Disallow opaque ops during validation (#1431)
  • [breaking] Add collections to serialized standard extensions (#1452)
  • [breaking] Variadic logic ops now binary (#1451)
  • [breaking] Int operations other than widen/narrow have only one width arg (#1455)
  • Add a FuncTypeBase::io method (#1458)
  • Add missing ops (#1463)
  • [breaking] Move Lift, MakeTuple, UnpackTuple and Lift to prelude (#1475)
  • Option / Result helpers (#1481)
  • [breaking] Add more list operations (#1474)
  • [breaking] Move int conversions to conversions ext, add to/from usize (#1490)
  • Fill out array ops (#1491)

Refactor

  • [breaking] Bring the collections ext in line with other extension defs (#1469)
  • [breaking] Make Either::Right the "success" case (#1489)
  • [breaking] Flatten CustomOp in to OpType (#1429)

Testing

  • Add serialization benchmarks (#1439)

hugr-py: v0.8.0

30 Aug 16:00
a38e58c
Compare
Choose a tag to compare

0.8.0 (2024-08-30)

⚠ BREAKING CHANGES

  • Moved itobool/ifrombool/itostring_{u,s} to the conversions extension.
  • Binary sums representing fallible values now use tag 1 for the successful variant
  • hugr-py: rename Custom.name to Custom.op_name and Func(Defn/Decl).name to f_name to allow for new name method
  • ListOp::pop now returns an option.
  • Moved all builder definitions into the hugr.build module. Moved node_port and render into the hugr.hugr module.
  • Move Lift, MakeTuple, UnpackTuple and Lift from core operations to prelude. Rename ops::leaf module to ops::sum.
  • hugr-py: hugr.serialization module and to_serial methods are now internal only.
  • Renamed _DfBase to DfBase and _DefinitionBuilder to DefinitionBuilder
  • idivmod_checked, idivmod, idiv, idiv_checked, imod, ishl, ishr, irotl, irotr operations now only have one width argument for all inputs and outputs rather than two.
  • HUGRs containing opaque operations that don't point to an extension in the registry will fail to validate. Use Package to pack extensions with HUGRs for serialisation.
  • CustomOp removed, OpType now contains ExtensionOp and OpaqueOp directly. CustomOpError renamed toOpaqueOpError.

Features

Bug Fixes

Code Refactoring

hugr-passes: v0.8.0

30 Aug 15:41
3213063
Compare
Choose a tag to compare

Features

  • [breaking] Variadic logic ops now binary (#1451)
  • [breaking] Int operations other than widen/narrow have only one width arg (#1455)
  • [breaking] Move Lift, MakeTuple, UnpackTuple and Lift to prelude (#1475)
  • [breaking] Add more list operations (#1474)
  • [breaking] Move int conversions to conversions ext, add to/from usize (#1490)

Refactor

  • [breaking] Flatten CustomOp in to OpType (#1429)
  • [breaking] Bring the collections ext in line with other extension defs (#1469)
  • [breaking] Make Either::Right the "success" case (#1489)

hugr-core: v0.9.0

30 Aug 15:41
3213063
Compare
Choose a tag to compare

Features

  • [breaking] Disallow opaque ops during validation (#1431)
  • [breaking] Add collections to serialized standard extensions (#1452)
  • [breaking] Variadic logic ops now binary (#1451)
  • [breaking] Int operations other than widen/narrow have only one width arg (#1455)
  • Add a FuncTypeBase::io method (#1458)
  • Add missing ops (#1463)
  • [breaking] Move Lift, MakeTuple, UnpackTuple and Lift to prelude (#1475)
  • Option / Result helpers (#1481)
  • [breaking] Add more list operations (#1474)
  • [breaking] Move int conversions to conversions ext, add to/from usize (#1490)
  • Fill out array ops (#1491)

Refactor

  • [breaking] Flatten CustomOp in to OpType (#1429)
  • [breaking] Bring the collections ext in line with other extension defs (#1469)
  • [breaking] Make Either::Right the "success" case (#1489)