Skip to content

Releases: CQCL/hugr

hugr-passes: v0.1.0

29 May 13:25
d89b6f1
Compare
Choose a tag to compare

Initial release, with functions ported from the hugr::algorithms module.

Bug Fixes

  • Set initial version of hugr-core to 0.1.0 (#1129)

Features

  • [breaking] Move passes from algorithms into a separate crate (#1100)
  • [breaking] Move cli in to hugr-cli sub-crate (#1107)

Refactor

  • Add a hugr-core crate (#1108)

hugr-core: v0.1.0

29 May 13:25
d89b6f1
Compare
Choose a tag to compare

Bug Fixes

  • Set initial version of hugr-core to 0.1.0 (#1129)

Features

  • [breaking] Move cli in to hugr-cli sub-crate (#1107)
  • Make internals of int ops and the "int" CustomType more public. (#1114)
  • Unseal and make public the traits HugrInternals and HugrMutInternals (#1122)

Refactor

  • Add a hugr-core crate (#1108)

hugr-cli: v0.1.0

29 May 13:25
d89b6f1
Compare
Choose a tag to compare

Initial release, ported from hugr::cli module.

Bug Fixes

  • Set initial version of hugr-core to 0.1.0 (#1129)

Features

  • [breaking] Move cli in to hugr-cli sub-crate (#1107)
  • Add verbosity, return Hugr from run. (#1116)

hugr: v0.4.0

20 May 12:57
0171ccd
Compare
Choose a tag to compare

Bug Fixes

  • Disallow non-finite values for ConstF64 (#1075)
  • Serialization round-trips (#948)
  • [breaking] Combine ConstIntU and ConstIntS (#974)
  • Disable serialisation tests when miri is active (#977)
  • [breaking] Serialisation schema (#968)
  • Correct constant fold for fne. (#995)
  • [breaking] Serialisation fixes (#997)
  • [breaking] OpDef serialisation (#1013)
  • NaryLogicOp constant folding (#1026)

Features

  • Add verification to constant folding (#1030)
  • Add Const::get_custom_value (#1037)
  • Add serialization schema for metadata (#1038)
  • 'Replace' rewrite returns node map (#929)
  • new methods for leaf ops (#940)
  • Add string type and print function to prelude (#942)
  • CustomOp::extension utility function (#951)
  • [breaking] Add non_exhaustive to various enums (#952)
  • Encoder metadata in serialized hugr (#955)
  • [breaking] Bring back Value (#967)
  • Add LoadFunction node (#947)
  • Add From impls for TypeArg (#1002)
  • Constant-folding of integer and logic operations (#1009)
  • [breaking] Update serialisation schema, implement CustomConst serialisation (#1005)
  • Merge basic blocks algorithm (#956)
  • [breaking] Allow panic operation to have any input and output wires (#1024)

Refactor

  • [breaking] Rename crate::ops::constant::ExtensionValue => OpaqueValue (#1036)
  • Outline hugr::serialize::test (#976)
  • [breaking] Replace SmolStr identifiers with wrapper types. (#959)
  • Separate extension validation from the rest (#1011)
  • Remove "trait TypeParametrised" (#1019)

Testing

  • Reorg OutlineCfg/nest_cfgs tests so hugr doesn't depend on algorithm (#1007)
  • Ignore tests which depend on typetag when cfg(miri) (#1051)
  • Really ignore tests which depend on typetag when cfg(miri) (#1058)
  • Proptests for round trip serialisation of Types and Ops. (#981)
  • Add a test of instantiating an extension set (#939)
  • Ignore serialisation tests when using miri (#975)
  • [breaking] Test roundtrip serialisation against strict + lax schema (#982)
  • Fix some bad assert_matches (#1006)
  • Expand test of instantiating extension sets (#1003)
  • Fix unconnected ports in extension test (#1010)

hugr-py: v0.2.1

20 May 13:15
bcffabd
Compare
Choose a tag to compare

0.2.1 (2024-05-20)

⚠ BREAKING CHANGES

  • New serialisation schema
  • rename Const::const_type and Value::const_type to Const::get_type and Value::get_type. These now match several other get_type functions (#1005)
  • Many uses of Const now use Value.

Features

Bug Fixes

  • OpDef serialization (#1013) (3d8f6f6)
  • input_port_types and other helper functions on pydantic schema (#958) (8651839)
  • Remove insert_port_types for LoadFunction (#993) (acca7bf)
  • Serialisation for Type, PolyFuncType, and Value (#968) (d913f40)
  • Serialization for Ops (#997) (9ce6e49)
  • set [build-system] in hugr-py/pyproject.toml (#1022) (b9c3ee4)

Code Refactoring

  • rename Const::const_type and Value::const_type to Const::get_type and Value::get_type. These now match several other get_type functions (#1005) (c45e6fc)

hugr-py: v0.2.0a1

13 May 10:13
71836e5
Compare
Choose a tag to compare

0.2.0a1 (2024-05-13)

⚠ BREAKING CHANGES

  • New serialisation schema
  • rename Const::const_type and Value::const_type to Const::get_type and Value::get_type. These now match several other get_type functions (#1005)
  • Many uses of Const now use Value.

Features

Bug Fixes

  • OpDef serialization (#1013) (3d8f6f6)
  • input_port_types and other helper functions on pydantic schema (#958) (8651839)
  • Remove insert_port_types for LoadFunction (#993) (acca7bf)
  • Serialisation for Type, PolyFuncType, and Value (#968) (d913f40)
  • Serialization for Ops (#997) (9ce6e49)
  • set [build-system] in hugr-py/pyproject.toml (#1022) (b9c3ee4)

Code Refactoring

  • rename Const::const_type and Value::const_type to Const::get_type and Value::get_type. These now match several other get_type functions (#1005) (c45e6fc)

hugr-py: v0.2.0-pre.1

10 May 13:54
934929e
Compare
Choose a tag to compare
hugr-py: v0.2.0-pre.1 Pre-release
Pre-release

0.2.0-pre.1 (2024-05-10)

Bug Fixes

  • set [build-system] in hugr-py/pyproject.toml (870453d)

hugr-py: v0.2.0-pre

10 May 12:46
ed28905
Compare
Choose a tag to compare
hugr-py: v0.2.0-pre Pre-release
Pre-release

0.2.0-pre (2024-05-10)

⚠ BREAKING CHANGES

  • New serialisation schema
  • rename Const::const_type and Value::const_type to Const::get_type and Value::get_type. These now match several other get_type functions (#1005)
  • Many uses of Const now use Value.

Features

Bug Fixes

  • OpDef serialization (#1013) (3d8f6f6)
  • input_port_types and other helper functions on pydantic schema (#958) (8651839)
  • Remove insert_port_types for LoadFunction (#993) (acca7bf)
  • Serialisation for Type, PolyFuncType, and Value (#968) (d913f40)
  • Serialization for Ops (#997) (9ce6e49)

Code Refactoring

  • rename Const::const_type and Value::const_type to Const::get_type and Value::get_type. These now match several other get_type functions (#1005) (c45e6fc)

hugr: v0.3.1

23 Apr 09:41
85ea544
Compare
Choose a tag to compare

Features

  • new methods for leaf ops (#940)
  • CustomOp::extension utility function (#951)
  • Encoder metadata in serialized hugr (#955)

Testing

  • Add a test of instantiating an extension set (#939)

hugr: v0.2.1

15 Apr 11:06
Compare
Choose a tag to compare

This is the last release for the crate quantinuum-hugr.

The library has been renamed to hugr, please update your dependency.