Skip to content

hugr-py: v0.2.1

Compare
Choose a tag to compare
@aborgna-q aborgna-q released this 20 May 13:15
bcffabd

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)