Releases: CQCL/hugr
Releases · CQCL/hugr
hugr-passes: v0.1.0
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
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
andHugrMutInternals
(#1122)
Refactor
- Add a
hugr-core
crate (#1108)
hugr-cli: v0.1.0
hugr: v0.4.0
Bug Fixes
- Disallow non-finite values for
ConstF64
(#1075) - Serialization round-trips (#948)
- [breaking] Combine
ConstIntU
andConstIntS
(#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 andprint
function toprelude
(#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
Type
s andOp
s. (#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
0.2.1 (2024-05-20)
⚠ BREAKING CHANGES
- New serialisation schema
- rename
Const::const_type
andValue::const_type
toConst::get_type
andValue::get_type
. These now match several otherget_type
functions (#1005) - Many uses of
Const
now useValue
.
Features
- Add serialization schema for metadata (#1038) (19bac62)
- Add LoadFunction node (#947) (81e9602)
- Encoder metadata in serialized hugr (#955) (0a44d48)
- Implement
CustomConst
serialization (#1005) (c45e6fc) - Revert the removal of
Value
(#967) (0c354b6) - Set default value for
Conditional.sum_rows
(#934) (d69198e)
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
, andValue
(#968) (d913f40) - Serialization for
Op
s (#997) (9ce6e49) - set
[build-system]
inhugr-py/pyproject.toml
(#1022) (b9c3ee4)
Code Refactoring
hugr-py: v0.2.0a1
0.2.0a1 (2024-05-13)
⚠ BREAKING CHANGES
- New serialisation schema
- rename
Const::const_type
andValue::const_type
toConst::get_type
andValue::get_type
. These now match several otherget_type
functions (#1005) - Many uses of
Const
now useValue
.
Features
- Add LoadFunction node (#947) (81e9602)
- Encoder metadata in serialized hugr (#955) (0a44d48)
- Implement
CustomConst
serialization (#1005) (c45e6fc) - Revert the removal of
Value
(#967) (0c354b6) - Set default value for
Conditional.sum_rows
(#934) (d69198e)
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
, andValue
(#968) (d913f40) - Serialization for
Op
s (#997) (9ce6e49) - set
[build-system]
inhugr-py/pyproject.toml
(#1022) (b9c3ee4)
Code Refactoring
hugr-py: v0.2.0-pre.1
hugr-py: v0.2.0-pre
0.2.0-pre (2024-05-10)
⚠ BREAKING CHANGES
- New serialisation schema
- rename
Const::const_type
andValue::const_type
toConst::get_type
andValue::get_type
. These now match several otherget_type
functions (#1005) - Many uses of
Const
now useValue
.
Features
- Add LoadFunction node (#947) (81e9602)
- Encoder metadata in serialized hugr (#955) (0a44d48)
- Implement
CustomConst
serialization (#1005) (c45e6fc) - Revert the removal of
Value
(#967) (0c354b6) - Set default value for
Conditional.sum_rows
(#934) (d69198e)
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
, andValue
(#968) (d913f40) - Serialization for
Op
s (#997) (9ce6e49)
Code Refactoring
hugr: v0.3.1
hugr: v0.2.1
This is the last release for the crate quantinuum-hugr
.
The library has been renamed to hugr
, please update your dependency.