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
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)