Skip to content

Releases: CQCL/hugr

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.

hugr: v0.3.0

15 Apr 10:51
e71489a
Compare
Choose a tag to compare

This release includes a long list of breaking changes to the API.

  • The crate was renamed from quantinuum_hugr to hugr.
  • The API has been simplified, flattening structures and reworking unnecessarily
    fallible operations where possible.
  • Includes version 1 of the hugr serialization schema. Older pre-v1 serialized
    hugrs are no longer supported. Starting with v1, backward compatibility for
    loading older versions will be maintained.

hugr-py: v0.1.0

15 Apr 15:59
477fa95
Compare
Choose a tag to compare

0.1.0 (2024-04-15)

⚠ BREAKING CHANGES

  • Flatten LeafOp (#922)
  • EdgeKind::{Static -> Const}, add new EdgeKind::Function, Type contains only monomorphic functions, remove TypeApply.
  • py: Rename package to hugr (#913)

Features

Release 0.2.0

20 Feb 16:37
4985850
Compare
Choose a tag to compare

Documentation

  • Fix crates.io badge in README (#809)
  • Use absolute links in the README (#811)
  • Remove input->const order edges from spec diagrams (#812)
  • Remove incorrect indentation in spec (#813)
  • Tweaks to main example (#825)
  • Add example to CFGBuilder (#826)

Features

  • Add InlineDFG rewrite (#828)
  • [breaking] Impls of CustomConst must be able to report their type (#827)
  • Minimal implementation for YAML extensions (#833)

Release v0.1.0

15 Jan 16:37
9e71c89
Compare
Choose a tag to compare

This is the initial release of the Hierarchical Unified Graph Representation.
See the representation specification available at hugr.md.

This release includes an up-to-date implementation of the spec, including the core definitions (control flow, data flow and module structures) as well as the Prelude extension with support for basic classical operations and types.

HUGRs can be loaded and stored using the versioned serialization format, or they can be constructed programmatically using the builder utility.
The modules hugr::hugr::view and hugr::hugr::rewrite provide an API for querying and mutating the HUGR.
For more complex operations, some algorithms are provided in hugr::algorithms.

https://crates.io/crates/quantinuum-hugr/0.1.0