Recent Releases of https://github.com/cqcl/hugr

https://github.com/cqcl/hugr - hugr-py: v0.13.1

0.13.1 (2025-08-18)

Features

  • Add option to render a subgraph of a hugr. (#2497) (c3370fe)
  • py: implement Sequence protocol for qsys results/shots (#2524) (b42e9df)
  • Type of constants in core Terms. (#2411) (2ba5764)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-cli: v0.22.2

New Features

  • (cli) Deprecate HugrInputArgs::get_hugr (#2506)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr: v0.22.2

New Features

  • Type of constants in core Terms. (#2411)
  • Support LineConvexChecker (#2487)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-persistent: v0.2.2

New Features

  • [breaking] Update portgraph dependency to 0.15 (#2455)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-passes: v0.22.2

New Features

  • Include copydiscardarray in DelegatingLinearizer::default (#2479)
  • Inline calls to functions not on cycles in the call graph (#2450)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-llvm: v0.22.2

Bug Fixes

  • added public func getter for EmitFuncContext (#2482)
  • (hugr-llvm) Set llvm function linkage based on Visibility hugr node field (#2502)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-core: v0.22.2

New Features

  • Type of constants in core Terms. (#2411)
  • Support LineConvexChecker (#2487)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-model: v0.22.2

New Features

  • Type of constants in core Terms. (#2411)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-py: v0.13.0

0.13.0 (2025-07-29)

Bug Fixes

  • py: Python builder for function declarations did not create static output port (#2485) (06bc080)

Documentation

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-cli: v0.22.1

New Features

  • include generator metatada in model import and cli validate errors (#2452)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr: v0.22.1

New Features

  • Include copydiscardarray in DelegatingLinearizer::default (#2479)
  • Inline calls to functions not on cycles in the call graph (#2450)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-persistent: v0.2.1

New Features

  • [breaking] Update portgraph dependency to 0.15 (#2455)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-passes: v0.22.1

New Features

  • Include copydiscardarray in DelegatingLinearizer::default (#2479)
  • Inline calls to functions not on cycles in the call graph (#2450)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-llvm: v0.22.1

New Features

  • [breaking] No nested FuncDefns (or AliasDefns) (#2256)
  • [breaking] Split TypeArg::Sequence into tuples and lists. (#2140)
  • [breaking] More helpful error messages in model import (#2272)
  • [breaking] Merge TypeParam and TypeArg into one Term type in Rust (#2309)
  • Add MakeError op (#2377)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-core: v0.22.1

Bug Fixes

  • Ensure SumTypes have the same json encoding in -rs and -py (#2465)

New Features

  • Export entrypoint metadata in Python and fix bug in import (#2434)
  • Names of private functions become core.title metadata. (#2448)
  • [breaking] Use binary envelopes for operation lower_func encoding (#2447)
  • [breaking] Update portgraph dependency to 0.15 (#2455)
  • Detect and fail on unrecognised envelope flags (#2453)
  • include generator metatada in model import and cli validate errors (#2452)
  • [breaking] Add insert_region to HugrMut (#2463)
  • Non-region entrypoints in hugr-model. (#2467)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-model: v0.22.1

New Features

  • Names of private functions become core.title metadata. (#2448)
  • include generator metatada in model import and cli validate errors (#2452)
  • Version number in hugr binary format. (#2468)
  • Use semver crate for -model version, and include in docs (#2471)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-py: v0.13.0rc1

0.13.0rc1 (2025-07-24)

⚠ BREAKING CHANGES

  • Lowering functions in extension operations are now encoded as binary envelopes. Older hugr versions will error out when trying to load them.
  • py: EnvelopeConfig::BINARY now uses the model binary encoding. EnvelopeFormat.MODULE is now EnvelopeFormat.MODEL. EnvelopeFormat.MODULE_WITH_EXTS is now EnvelopeFormat.MODEL_WITH_EXTS
  • hugr-model: Symbol has an extra field
  • Renamed the Any type bound to Linear
  • The model CFG signature types were changed.
  • Added TypeParams and TypeArgs corresponding to floats and bytes.
  • TypeArg::Sequence needs to be replaced with TypeArg::List or TypeArg::Tuple
  • FuncDefns must be moved to beneath Module. Container::define_function is gone, use HugrBuilder::module_root_builder; similarly in hugr-py DefinitionBuilder (define_function -> module_root_builder().define_function). In hugr-llvm, some uses of

Features

Bug Fixes

  • Ensure SumTypes have the same json encoding in -rs and -py (#2465) (7f97e6f)
  • Escape html-like labels in DotRenderer (#2383) (eaa7dfe)
  • Export metadata in Python (#2342) (7be52db)
  • Fix model export of Opaque types. (#2446) (3943499)
  • Fixed bug in python model export name mangling. (#2323) (041342f)
  • Fixed bugs in model CFG handling and improved CFG signatures (#2334) (ccd2eb2)
  • Fixed export of Call and LoadConst nodes in hugr-py. (#2429) (6a0e270)
  • Fixed invalid extension name in test. (#2319) (c58ddbf)
  • Fixed two bugs in import/export of function operations (#2324) (1ad450f)
  • map IntValue to unsigned repr when serializing (#2413) (26d426e), closes #2409
  • Order hints on input and output nodes. (#2422) (a31ccbc)
  • py: correct ConstString JSON encoding (#2325) (9649a48)
  • StaticArrayVal payload encoding, improve roundtrip checker (#2444) (1a301eb)
  • stringify metadata before escaping in renderer (#2405) (8d67420)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-cli: v0.22.0

New Features

  • include generator metatada in model import and cli validate errors (#2452)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr: v0.22.0

This release fixes multiple inconsistencies between the serialization formats and improves the error messages when loading unsupported envelopes.

We now also support nodes with up to 2^32 connections to the same port (up from 2^16).

Bug Fixes

  • Ensure SumTypes have the same json encoding in -rs and -py (#2465)

New Features

  • ReplaceTypes allows linearizing inside Op replacements (#2435)
  • Add pass for DFG inlining (#2460)
  • Export entrypoint metadata in Python and fix bug in import (#2434)
  • Names of private functions become core.title metadata. (#2448)
  • [breaking] Use binary envelopes for operation lower_func encoding (#2447)
  • [breaking] Update portgraph dependency to 0.15 (#2455)
  • Detect and fail on unrecognised envelope flags (#2453)
  • include generator metatada in model import and cli validate errors (#2452)
  • [breaking] Add insert_region to HugrMut (#2463)
  • Non-region entrypoints in hugr-model. (#2467)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-persistent: v0.2.0

New Features

  • [breaking] Update portgraph dependency to 0.15 (#2455)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-passes: v0.22.0

New Features

  • ReplaceTypes allows linearizing inside Op replacements (#2435)
  • Add pass for DFG inlining (#2460)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-llvm: v0.22.0

New Features

  • [breaking] No nested FuncDefns (or AliasDefns) (#2256)
  • [breaking] Split TypeArg::Sequence into tuples and lists. (#2140)
  • [breaking] More helpful error messages in model import (#2272)
  • [breaking] Merge TypeParam and TypeArg into one Term type in Rust (#2309)
  • Add MakeError op (#2377)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-core: v0.22.0

Bug Fixes

  • Ensure SumTypes have the same json encoding in -rs and -py (#2465)

New Features

  • Export entrypoint metadata in Python and fix bug in import (#2434)
  • Names of private functions become core.title metadata. (#2448)
  • [breaking] Use binary envelopes for operation lower_func encoding (#2447)
  • [breaking] Update portgraph dependency to 0.15 (#2455)
  • Detect and fail on unrecognised envelope flags (#2453)
  • include generator metatada in model import and cli validate errors (#2452)
  • [breaking] Add insert_region to HugrMut (#2463)
  • Non-region entrypoints in hugr-model. (#2467)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-model: v0.22.0

New Features

  • Names of private functions become core.title metadata. (#2448)
  • include generator metatada in model import and cli validate errors (#2452)
  • Version number in hugr binary format. (#2468)
  • Use semver crate for -model version, and include in docs (#2471)

- Rust
Published by hugrbot 10 months ago

https://github.com/cqcl/hugr - hugr-cli: v0.21.0

New Features

  • [breaking] Better error reporting in hugr-cli. (#2318)

- Rust
Published by aborgna-q 11 months ago

https://github.com/cqcl/hugr - hugr: v0.21.0

This release includes a long list of changes:

  • The HUGR model serialization format is now stable, and should be preferred over the old JSON format.
  • Type parameters and type arguments are now unified into a single Term type.
  • Function definitions can no longer be nested inside dataflow regions. Now they must be defined at the top level module.
  • Function definitions and declarations now have a Visibility field, which define whether they are visible in the public API of the module.
  • And many more fixes and improvements.

Bug Fixes

  • DeadFuncElimPass+CallGraph w/ non-module-child entrypoint (#2390)
  • Fixed two bugs in import/export of function operations (#2324)
  • Model import should perform extension resolution (#2326)
  • [breaking] Fixed bugs in model CFG handling and improved CFG signatures (#2334)
  • Use List instead of Tuple in conversions for TypeArg/TypeRow (#2378)
  • Do extension resolution on loaded extensions from the model format (#2389)
  • Make JSON Schema checks actually work again (#2412)
  • Order hints on input and output nodes. (#2422)

Documentation

  • Hide hugr-persistent docs (#2357)

New Features

  • [breaking] Split TypeArg::Sequence into tuples and lists. (#2140)
  • [breaking] Added float and bytes literal to core and python bindings. (#2289)
  • [breaking] More helpful error messages in model import (#2272)
  • [breaking] Better error reporting in hugr-cli. (#2318)
  • [breaking] Merge TypeParam and TypeArg into one Term type in Rust (#2309)
  • (persistent) Add serialisation for CommitStateSpace (#2344)
  • add TryFrom impls for TypeArg/TypeRow (#2366)
  • Add MakeError op (#2377)
  • Open lists and tuples in Term (#2360)
  • Call FunctionBuilder::add_{in,out}put for any AsMut (#2376)
  • Add Root checked methods to DataflowParentID (#2382)
  • Add PersistentWire type (#2361)
  • Add BorrowArray extension (#2395)
  • [breaking] Add Visibility to FuncDefn/FuncDecl. (#2143)
  • (per) [breaking] Support empty wires in commits (#2349)
  • [breaking] hugr-model use explicit Option, with ::Unspecified in capnp (#2424)
  • [breaking] No nested FuncDefns (or AliasDefns) (#2256)
  • [breaking] Rename 'Any' type bound to 'Linear' (#2421)

Refactor

  • [breaking] remove deprecated runtime extension errors (#2369)
  • [breaking] Reduce error type sizes (#2420)
  • [breaking] move PersistentHugr into separate crate (#2277)

Testing

  • Check hugr json serializations against the schema (again) (#2216)

- Rust
Published by aborgna-q 11 months ago

https://github.com/cqcl/hugr - hugr-persistent: v0.1.0

Initial release.

- Rust
Published by aborgna-q 11 months ago

https://github.com/cqcl/hugr - hugr-passes: v0.21.0

Bug Fixes

  • DeadFuncElimPass+CallGraph w/ non-module-child entrypoint (#2390)

New Features

  • [breaking] No nested FuncDefns (or AliasDefns) (#2256)
  • [breaking] Split TypeArg::Sequence into tuples and lists. (#2140)
  • [breaking] Merge TypeParam and TypeArg into one Term type in Rust (#2309)
  • [breaking] Rename 'Any' type bound to 'Linear' (#2421)

Refactor

  • [breaking] Reduce error type sizes (#2420)

- Rust
Published by hugrbot 11 months ago

https://github.com/cqcl/hugr - hugr-llvm: v0.21.0

New Features

  • [breaking] No nested FuncDefns (or AliasDefns) (#2256)
  • [breaking] Split TypeArg::Sequence into tuples and lists. (#2140)
  • [breaking] More helpful error messages in model import (#2272)
  • [breaking] Merge TypeParam and TypeArg into one Term type in Rust (#2309)
  • Add MakeError op (#2377)

- Rust
Published by hugrbot 11 months ago

https://github.com/cqcl/hugr - hugr-core: v0.21.0

Bug Fixes

  • Fixed two bugs in import/export of function operations (#2324)
  • Model import should perform extension resolution (#2326)
  • [breaking] Fixed bugs in model CFG handling and improved CFG signatures (#2334)
  • Use List instead of Tuple in conversions for TypeArg/TypeRow (#2378)
  • Do extension resolution on loaded extensions from the model format (#2389)
  • Make JSON Schema checks actually work again (#2412)
  • Order hints on input and output nodes. (#2422)

New Features

  • [breaking] No nested FuncDefns (or AliasDefns) (#2256)
  • [breaking] Split TypeArg::Sequence into tuples and lists. (#2140)
  • [breaking] Added float and bytes literal to core and python bindings. (#2289)
  • [breaking] More helpful error messages in model import (#2272)
  • [breaking] Better error reporting in hugr-cli. (#2318)
  • [breaking] Merge TypeParam and TypeArg into one Term type in Rust (#2309)
  • (persistent) Add serialisation for CommitStateSpace (#2344)
  • add TryFrom impls for TypeArg/TypeRow (#2366)
  • Add MakeError op (#2377)
  • Open lists and tuples in Term (#2360)
  • Call FunctionBuilder::add_{in,out}put for any AsMut (#2376)
  • Add Root checked methods to DataflowParentID (#2382)
  • Add PersistentWire type (#2361)
  • Add BorrowArray extension (#2395)
  • [breaking] Rename 'Any' type bound to 'Linear' (#2421)
  • [breaking] Add Visibility to FuncDefn/FuncDecl. (#2143)
  • (per) [breaking] Support empty wires in commits (#2349)
  • [breaking] hugr-model use explicit Option, with ::Unspecified in capnp (#2424)

Refactor

  • [breaking] move PersistentHugr into separate crate (#2277)
  • [breaking] remove deprecated runtime extension errors (#2369)
  • [breaking] Reduce error type sizes (#2420)

Testing

  • Check hugr json serializations against the schema (again) (#2216)

- Rust
Published by hugrbot 11 months ago

https://github.com/cqcl/hugr - hugr-model: v0.21.0

Bug Fixes

  • Model import should perform extension resolution (#2326)
  • [breaking] Fixed bugs in model CFG handling and improved CFG signatures (#2334)
  • [breaking] Fix panic in model resolver when variable is used outside of symbol. (#2362)
  • Order hints on input and output nodes. (#2422)

New Features

  • [breaking] Added float and bytes literal to core and python bindings. (#2289)
  • [breaking] Add Visibility to FuncDefn/FuncDecl. (#2143)
  • [breaking] hugr-model use explicit Option, with ::Unspecified in capnp (#2424)

- Rust
Published by hugrbot 11 months ago

https://github.com/cqcl/hugr - hugr-py: v0.12.5

0.12.5 (2025-07-08)

Bug Fixes

- Rust
Published by hugrbot 11 months ago

https://github.com/cqcl/hugr - hugr-py: v0.12.4

0.12.4 (2025-07-03)

Bug Fixes

  • stringify metadata before escaping in renderer (#2405) (1f01e97)

- Rust
Published by hugrbot 11 months ago

https://github.com/cqcl/hugr - hugr-py: v0.12.3

0.12.3 (2025-07-03)

Features

Bug Fixes

- Rust
Published by hugrbot 11 months ago

https://github.com/cqcl/hugr - hugr-cli: v0.20.2

New Features

  • (cli) convert sub-command for converting envelope formats (#2331)

- Rust
Published by ss2165 11 months ago

https://github.com/cqcl/hugr - hugr-core: v0.20.2

Documentation

  • fix doc links in persistent

New Features

  • Add serial data types for SimpleReplacement and PersistentHugr (#2300)
  • Add MermaidFormatter to replace RenderConfig (#2275)
  • (core) builder pattern for EnvelopeConfig (#2330)
  • (core, llvm) add array unpack operations (#2339)
  • Deprecate invalidationset, add invalidatednodes and SimpleReplacement::invalidation_set (#2358)
  • Rewrite for peeling a TailLoop (#2290)
  • Create Module/FunctionBuilders from existing Hugrs (#2359)
  • better errors using metadata from generator (#2368)
  • use core. prefixes for generator metadata keys (#2371)

Refactor

  • (types.rs) rm incorrect comment and unnecessary allow-unused (#2340)

- Rust
Published by ss2165 11 months ago

https://github.com/cqcl/hugr - hugr-llvm: v0.20.2

New Features

  • (core, llvm) add array unpack operations (#2339)

- Rust
Published by ss2165 11 months ago

https://github.com/cqcl/hugr - hugr-model: v0.20.2

New Features

  • better errors using metadata from generator (#2368)

- Rust
Published by ss2165 11 months ago

https://github.com/cqcl/hugr - hugr-passes: v0.20.2

Bug Fixes

  • update CallGraph and removedeadfuncs for module-only FuncDefns (#2336)

0.20.1 - 2025-06-03

Bug Fixes

  • Dataflow analysis produces unsound results on Hugrs with entrypoint (#2255)

New Features

  • LocalizeEdges pass (#2237)

- Rust
Published by ss2165 11 months ago

https://github.com/cqcl/hugr - hugr: v0.20.2

Bug Fixes

  • update CallGraph and removedeadfuncs for module-only FuncDefns (#2336)

Documentation

  • fix doc links in persistent

New Features

  • Add serial data types for SimpleReplacement and PersistentHugr (#2300)
  • Add MermaidFormatter to replace RenderConfig (#2275)
  • (core, llvm) add array unpack operations (#2339)
  • Deprecate invalidationset, add invalidatednodes and SimpleReplacement::invalidation_set (#2358)
  • Rewrite for peeling a TailLoop (#2290)
  • Create Module/FunctionBuilders from existing Hugrs (#2359)
  • better errors using metadata from generator (#2368)
  • use core. prefixes for generator metadata keys (#2371)
  • (core) builder pattern for EnvelopeConfig (#2330)

Full Changelog: https://github.com/CQCL/hugr/compare/hugr-v0.20.1...hugr-v0.20.2

- Rust
Published by ss2165 11 months ago

https://github.com/cqcl/hugr - hugr-py: v0.12.2

0.12.2 (2025-06-03)

Bug Fixes

Performance Improvements

  • py: mutable Node to avoid linear update cost (#2288) (84fb200)

Documentation

- Rust
Published by hugrbot 12 months ago

https://github.com/cqcl/hugr - hugr-cli: v0.20.1

New Features

  • support external subcommands via PATH (#1343) (#2278)

- Rust
Published by hugrbot 12 months ago

https://github.com/cqcl/hugr - hugr: v0.20.1

Bug Fixes

  • Dataflow analysis produces unsound results on Hugrs with entrypoint (#2255)
  • check well-definedness of DFG wires in validate (#2221)
  • Check for order edges in SiblingSubgraph::from_node (#2223)
  • Make SumType::Unit(N) equal to SumType::General([(); N]) (#2250)
  • canonicalize_nodes sometimes mangles the entrypoint (#2263)

New Features

  • LocalizeEdges pass (#2237)
  • Add PersistentHugr (#2080)
  • Add Type::used_extensions (#2224)
  • Add boundary edge traversal in SimpleReplacement (#2231)
  • Add signature map function for DFGs (#2239)
  • PersistentHugr implements HugrView (#2202)
  • PersistentHugr Walker API (#2168)
  • Hugr::storewithexts and auto-include in serde_as (#2280)

Refactor

  • tidies/readability improvements to PersistentHugr (#2251)
  • Deprecate ValidationError::ExtensionError (#2281)

Testing

  • Ignore miri errors in tests involving assert_snapshot (#2261)

- Rust
Published by hugrbot 12 months ago

https://github.com/cqcl/hugr - hugr-passes: v0.20.1

Bug Fixes

  • Dataflow analysis produces unsound results on Hugrs with entrypoint (#2255)

New Features

  • LocalizeEdges pass (#2237)

- Rust
Published by hugrbot 12 months ago

https://github.com/cqcl/hugr - hugr-llvm: v0.20.1

Bug Fixes

  • Make SumType::Unit(N) equal to SumType::General([(); N]) (#2250)

Testing

  • Add exec tests for widen op (#2043)

- Rust
Published by hugrbot 12 months ago

https://github.com/cqcl/hugr - hugr-core: v0.20.1

Bug Fixes

  • check well-definedness of DFG wires in validate (#2221)
  • Check for order edges in SiblingSubgraph::from_node (#2223)
  • Make SumType::Unit(N) equal to SumType::General([(); N]) (#2250)
  • canonicalize_nodes sometimes mangles the entrypoint (#2263)

New Features

  • Add PersistentHugr (#2080)
  • Add Type::used_extensions (#2224)
  • Add boundary edge traversal in SimpleReplacement (#2231)
  • Add signature map function for DFGs (#2239)
  • PersistentHugr implements HugrView (#2202)
  • PersistentHugr Walker API (#2168)
  • Hugr::storewithexts and auto-include in serde_as (#2280)

Refactor

  • tidies/readability improvements to PersistentHugr (#2251)
  • Deprecate ValidationError::ExtensionError (#2281)

Testing

  • Ignore miri errors in tests involving assert_snapshot (#2261)

- Rust
Published by hugrbot 12 months ago

https://github.com/cqcl/hugr - hugr-model: v0.20.1

New Features

  • [breaking] Mark all Error enums as non_exhaustive (#2056)
  • [breaking] Bump MSRV to 1.85 (#2136)
  • Export and import entrypoints via metadata in hugr-model. (#2172)
  • Define text-model envelope formats (#2188)
  • Import CFG regions without adding an entry block. (#2200)
  • Symbol applications can leave out prefixes of wildcards. (#2201)

- Rust
Published by hugrbot 12 months ago

https://github.com/cqcl/hugr - hugr-py: v0.12.1

0.12.1 (2025-05-20)

Bug Fixes

  • handle order port case for missing dataflow ops (#2238) (dc44b81)
  • py: deprecate extensions sets in values (#2233) (fe98ba1)

Documentation

  • update hugr-py docs appearance, add HUGR logo (#2222) (fefa599)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-py: v0.12.0

0.12.0 (2025-05-16)

⚠ BREAKING CHANGES

  • Hugrs now define an entrypoint in addition to a module root.
  • std.collections.array is now a linear type, even if the contained elements are copyable. Use the new std.collections.value_array for an array with the previous copyable semantics.
  • std.collections.array.get now also returns the passed array as an extra output.
  • ArrayOpBuilder was moved from hugr_core::std_extensions::collections::array::op_builder to hugr_core::std_extensions::collections::array.
  • Functions that manipulate runtime extension sets have been removed from the Rust and Python code. Extension set parameters were removed from operations.
  • values field in Extension and ExtensionValue struct/class removed in rust and python. Use 0-input ops that return constant values.

Features

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-cli: v0.20.0

New Features

  • [breaking] Bump MSRV to 1.85 (#2136)
  • [breaking] Add Hugr entrypoints (#2147)
  • [breaking] Validate any HugrView, make errors generic (#2155)
  • [breaking] Only expose envelope serialization of hugrs and packages (#2167)
  • Packages do not include the hugr extensions by default (#2187)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr: v0.20.0

This release contains a big list of changes reworking multiple core definitions of HUGR. Some of these changes include:

  • 🧹 Cleanup of the internal hugr traits, making it possible to create virtual Hugrs that are not backed by a portgraph or use different node index types.
  • 🚪 The functional root of a Hugr is now called the entrypoint. This node may exist somewhere inside the region hierarchy, so we can now model edges that connect beyond the descendants of the entrypoint.
  • 🌲 The hugr region hierarchy is now always rooted by a Module operation.
  • ✂ Made SimpleReplacement even simpler and easy to use.
  • 🔧 The Rewrite trait has been split into VerifyPatch and Patch parts.
  • ✉️ Hugr and package serialization is now done entirely using Envelopes. We provide some backward-compatibility layers that will be removed in the future.
  • 🦀 The Minimum Supported Rust Version (MSRV) has been updated to 1.85.

Bug Fixes

  • [breaking] Don't expose HugrMutInternals (#2071)
  • as_unary_option indexing bug (#2163)
  • Skip phantom data for array value serialisation (#2166)
  • Remove deleted nodes from node_map in SimpleReplacement (#2176)
  • [breaking] Use unique region_portgraph in convexity check (#2192)
  • Panic when an extension name is too long. (#2198)
  • Respect type bounds on local variables when importing. (#2206)
  • Import and export JSON metadata on module roots. (#2207)

New Features

  • [breaking] Handle CallIndirect in Dataflow Analysis (#2059)
  • [breaking] ComposablePass trait allowing sequencing and validation (#1895)
  • [breaking] ReplaceTypes: allow lowering ops into a Call to a function already in the Hugr (#2094)
  • export mangle name function (#2152)
  • [breaking] Explicit hugr type param to ComposablePass (#2179)
  • [breaking] Allow generic Nodes in HugrMut insert operations (#2075)
  • [breaking] Mark all Error enums as non_exhaustive (#2056)
  • Make NodeHandle generic (#2092)
  • [breaking] remove ExtensionValue (#2093)
  • [breaking] Hugrmut on generic nodes (#2111)
  • [breaking] Cleanup core trait definitions (#2126)
  • [breaking] Accept outgoing ports in SimpleReplacement nu_out (#2151)
  • [breaking] Improved array lowering (#2109)
  • [breaking] Make NamedOp private. Add MakeExtensionOp::name and MakeOpDef::opdef_name (#2138)
  • InsertCut patch for inserting HUGR across edges. (#2153)
  • [breaking] Add Hugr entrypoints (#2147)
  • [breaking] Return a node mapping in HugrInternals::region_portgraph (#2164)
  • [breaking] Validate any HugrView, make errors generic (#2155)
  • Reimplement insert_hugr using only HugrView (#2174)
  • Only allow region containers as entrypoints (#2173)
  • Export and import entrypoints via metadata in hugr-model. (#2172)
  • [breaking] Removed model_unstable feature flag (#2120)
  • [breaking] Remove RootTagged from the hugr view trait hierarchy (#2122)
  • [breaking] Split Rewrite trait into VerifyPatch and ApplyPatch (#2070)
  • [breaking] Bump MSRV to 1.85 (#2136)
  • [breaking] Removed runtime extension sets. (#2145)
  • [breaking] Only expose envelope serialization of hugrs and packages (#2167)
  • Packages do not include the hugr extensions by default (#2187)
  • Define text-model envelope formats (#2188)
  • [breaking] Remove description on opaque ops. (#2197)
  • Import CFG regions without adding an entry block. (#2200)
  • [breaking] Remove boundary map in SimpleReplacement (#2208)
  • Export macro for hugr serde wrappers with custom extensions (#2209)
  • Allow any dataflow parent as SiblingSubgraph replacement (#2210)
  • [breaking] Hide FuncDefn/cl fields, add accessors and ::new(...) (#2213)
  • Add SiblingSubgraph::setoutgoingports (#2217)
  • Symbol applications can leave out prefixes of wildcards. (#2201)

Refactor

  • do not use .portgraph in mermaid/graphviz (#2177)
  • [breaking] Removed global portgraph-related methods from HugrInternals (#2180)

Testing

  • Check envelope roundtrips rather than json in HugrView::verify (#2186)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-passes: v0.20.0

New Features

  • [breaking] Mark all Error enums as non_exhaustive (#2056)
  • [breaking] Handle CallIndirect in Dataflow Analysis (#2059)
  • [breaking] ComposablePass trait allowing sequencing and validation (#1895)
  • [breaking] ReplaceTypes: allow lowering ops into a Call to a function already in the Hugr (#2094)
  • [breaking] Hugrmut on generic nodes (#2111)
  • [breaking] Remove RootTagged from the hugr view trait hierarchy (#2122)
  • [breaking] Split Rewrite trait into VerifyPatch and ApplyPatch (#2070)
  • [breaking] Bump MSRV to 1.85 (#2136)
  • [breaking] Cleanup core trait definitions (#2126)
  • [breaking] Removed runtime extension sets. (#2145)
  • [breaking] Improved array lowering (#2109)
  • export mangle name function (#2152)
  • [breaking] Make NamedOp private. Add MakeExtensionOp::name and MakeOpDef::opdef_name (#2138)
  • [breaking] Add Hugr entrypoints (#2147)
  • [breaking] Return a node mapping in HugrInternals::region_portgraph (#2164)
  • [breaking] Validate any HugrView, make errors generic (#2155)
  • [breaking] Explicit hugr type param to ComposablePass (#2179)
  • [breaking] Hide FuncDefn/cl fields, add accessors and ::new(...) (#2213)

Refactor

  • [breaking] Removed global portgraph-related methods from HugrInternals (#2180)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-llvm: v0.20.0

Bug Fixes

  • Fix inline_constant_functions pass (#2135)

New Features

  • [breaking] Hugrmut on generic nodes (#2111)
  • [breaking] Remove RootTagged from the hugr view trait hierarchy (#2122)
  • [breaking] Bump MSRV to 1.85 (#2136)
  • [breaking] Cleanup core trait definitions (#2126)
  • [breaking] Removed runtime extension sets. (#2145)
  • [breaking] Improved array lowering (#2109)
  • [breaking] Make NamedOp private. Add MakeExtensionOp::name and MakeOpDef::opdef_name (#2138)
  • Make hugr_llvm::extension::collections::array::build_array_alloc public (#2165)
  • Add LLVM emission for prelude.noop (#2160)
  • [breaking] Add Hugr entrypoints (#2147)
  • [breaking] Return a node mapping in HugrInternals::region_portgraph (#2164)
  • Restore old array lowering (#2194)
  • [breaking] Hide FuncDefn/cl fields, add accessors and ::new(...) (#2213)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-core: v0.20.0

Bug Fixes

  • [breaking] Don't expose HugrMutInternals (#2071)
  • as_unary_option indexing bug (#2163)
  • Skip phantom data for array value serialisation (#2166)
  • Remove deleted nodes from node_map in SimpleReplacement (#2176)
  • [breaking] Use unique region_portgraph in convexity check (#2192)
  • Panic when an extension name is too long. (#2198)
  • Respect type bounds on local variables when importing. (#2206)
  • Import and export JSON metadata on module roots. (#2207)

New Features

  • [breaking] Allow generic Nodes in HugrMut insert operations (#2075)
  • [breaking] Mark all Error enums as non_exhaustive (#2056)
  • Make NodeHandle generic (#2092)
  • [breaking] remove ExtensionValue (#2093)
  • [breaking] Hugrmut on generic nodes (#2111)
  • [breaking] Removed model_unstable feature flag (#2120)
  • [breaking] Remove RootTagged from the hugr view trait hierarchy (#2122)
  • [breaking] Split Rewrite trait into VerifyPatch and ApplyPatch (#2070)
  • [breaking] Bump MSRV to 1.85 (#2136)
  • [breaking] Cleanup core trait definitions (#2126)
  • [breaking] Removed runtime extension sets. (#2145)
  • [breaking] Accept outgoing ports in SimpleReplacement nu_out (#2151)
  • [breaking] Improved array lowering (#2109)
  • [breaking] Make NamedOp private. Add MakeExtensionOp::name and MakeOpDef::opdef_name (#2138)
  • InsertCut patch for inserting HUGR across edges. (#2153)
  • [breaking] Add Hugr entrypoints (#2147)
  • [breaking] Return a node mapping in HugrInternals::region_portgraph (#2164)
  • [breaking] Validate any HugrView, make errors generic (#2155)
  • Reimplement insert_hugr using only HugrView (#2174)
  • Only allow region containers as entrypoints (#2173)
  • Export and import entrypoints via metadata in hugr-model. (#2172)
  • [breaking] Only expose envelope serialization of hugrs and packages (#2167)
  • Packages do not include the hugr extensions by default (#2187)
  • Define text-model envelope formats (#2188)
  • [breaking] Remove description on opaque ops. (#2197)
  • Import CFG regions without adding an entry block. (#2200)
  • [breaking] Remove boundary map in SimpleReplacement (#2208)
  • Export macro for hugr serde wrappers with custom extensions (#2209)
  • Allow any dataflow parent as SiblingSubgraph replacement (#2210)
  • [breaking] Hide FuncDefn/cl fields, add accessors and ::new(...) (#2213)
  • Add SiblingSubgraph::setoutgoingports (#2217)
  • Symbol applications can leave out prefixes of wildcards. (#2201)

Refactor

  • do not use .portgraph in mermaid/graphviz (#2177)
  • [breaking] Removed global portgraph-related methods from HugrInternals (#2180)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-model: v0.20.0

New Features

  • [breaking] Mark all Error enums as non_exhaustive (#2056)
  • [breaking] Bump MSRV to 1.85 (#2136)
  • Export and import entrypoints via metadata in hugr-model. (#2172)
  • Define text-model envelope formats (#2188)
  • Import CFG regions without adding an entry block. (#2200)
  • Symbol applications can leave out prefixes of wildcards. (#2201)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr: v0.20.0 release candidate 0

- Rust
Published by aborgna-q about 1 year ago

https://github.com/cqcl/hugr - hugr-cli: v0.15.4

Documentation

  • Add usage info to hugr-cli's rustdocs (#2044)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr: v0.15.4

New Features

  • Export the portgraph hierarchy in HugrInternals (#2057)
  • Implement Debug for generic Wires (#2068)
  • Add ExtensionOp helpers (#2072)
  • ReplaceTypes: handlers for array constants + linearization (#2023)
  • move ArrayOpBuilder to hugr-core (#2115)

Testing

  • Disable IO-dependent tests when running miri (#2123)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-passes: v0.15.4

New Features

  • ReplaceTypes: handlers for array constants + linearization (#2023)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-llvm: v0.15.4

New Features

  • move ArrayOpBuilder to hugr-core (#2115)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-core: v0.15.4

New Features

  • Export the portgraph hierarchy in HugrInternals (#2057)
  • Implement Debug for generic Wires (#2068)
  • Add ExtensionOp helpers (#2072)
  • ReplaceTypes: handlers for array constants + linearization (#2023)
  • move ArrayOpBuilder to hugr-core (#2115)

Testing

  • Disable IO-dependent tests when running miri (#2123)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-model: v0.19.1

New Features

  • Python bindings for hugr-model. (#1959)
  • Remove extension sets from hugr-model. (#2031)
  • Packages in hugr-model and envelope support. (#2026)
  • Represent order edges in hugr-model as metadata. (#2027)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-py: v0.11.5

0.11.5 (2025-04-16)

Features

  • hugr-py: move in result classes from guppylang (#2084) (b6efb03)
  • Packages in hugr-model and envelope support. (#2026) (a16389f)
  • Represent order edges in hugr-model as metadata. (#2027) (09de9e3)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-cli: v0.15.3

Documentation

  • Add usage info to hugr-cli's rustdocs (#2044)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr: v0.15.3

Documentation

  • Provide docs for array ops, fix bad doc for HugrView::polyfunctype (#2021)

New Features

  • MakeTuple->UnpackTuple elision pass (#2012)
  • Extend LowerTypes pass to linearize by inserting copy/discard (#2018)
  • Expand SimpleReplacement API (#1920)
  • Python bindings for hugr-model. (#1959)
  • ReplaceTypes pass allows replacing extension types and ops (#1989)
  • Remove extension sets from hugr-model. (#2031)
  • Represent order edges in hugr-model as metadata. (#2027)
  • add build_expect_sum to allow specific error messages (#2032)
  • Packages in hugr-model and envelope support. (#2026)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-passes: v0.15.3

New Features

  • ReplaceTypes pass allows replacing extension types and ops (#1989)
  • MakeTuple->UnpackTuple elision pass (#2012)
  • Extend LowerTypes pass to linearize by inserting copy/discard (#2018)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-llvm: v0.15.3

New Features

  • (hugr-llvm) Add llvm codegen for arithmetic.float.fpow (#2042)
  • (hugr-llvm) Emit divmod and mod operations (#2025)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-core: v0.15.3

Documentation

  • Provide docs for array ops, fix bad doc for HugrView::polyfunctype (#2021)

New Features

  • Expand SimpleReplacement API (#1920)
  • Python bindings for hugr-model. (#1959)
  • ReplaceTypes pass allows replacing extension types and ops (#1989)
  • Remove extension sets from hugr-model. (#2031)
  • Packages in hugr-model and envelope support. (#2026)
  • Represent order edges in hugr-model as metadata. (#2027)
  • add build_expect_sum to allow specific error messages (#2032)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-model: v0.19.0

New Features

  • Python bindings for hugr-model. (#1959)
  • Remove extension sets from hugr-model. (#2031)
  • Packages in hugr-model and envelope support. (#2026)
  • Represent order edges in hugr-model as metadata. (#2027)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-py: v0.11.4

0.11.4 (2025-03-28)

Features

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-py: v0.11.3

0.11.3 (2025-03-21)

Bug Fixes

  • Don't enable envelope compression by default (yet) (#2014) (c5423ed)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-cli: v0.15.2

New Features

  • (hugr-cli) Nicer error when passing a non-envelope file (#2007)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr: v0.15.2

Bug Fixes

  • Don't enable envelope compression by default (yet) (#2014)
  • Inconsistent behaviour in SiblingSubgraph::from_nodes (#2011)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-passes: v0.15.2

Bug Fixes

  • correct CallIndirect tag from FnCall to DataflowChild (#2006)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-llvm: v0.15.2

Bug Fixes

  • Remove return from valorpanic (#1999)

New Features

  • add exit operation to prelude (#2008)
  • Add llvm codegen for collections.static_array (#2003)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-core: v0.15.2

Bug Fixes

  • Don't enable envelope compression by default (yet) (#2014)
  • Inconsistent behaviour in SiblingSubgraph::from_nodes (#2011)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-py: v0.11.2

0.11.2 (2025-03-21)

Features

Bug Fixes

Reverts

  • Revert breaking change to StaticArrayValue (33a2b49)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-cli: v0.15.1

New Features

  • (hugr-cli) Nicer error when passing a non-envelope file (#2007)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr: v0.15.1

Bug Fixes

  • correct CallIndirect tag from FnCall to DataflowChild (#2006)
  • StaticArrayValue serialisation (#2009)

New Features

  • traits for transforming Types/TypeArgs/etc. (#1991)
  • add exit operation to prelude (#2008)
  • Add llvm codegen for collections.static_array (#2003)
  • (hugr-py) Support envelope compression (#1994)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-passes: v0.15.1

Bug Fixes

  • correct CallIndirect tag from FnCall to DataflowChild (#2006)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-llvm: v0.15.1

Bug Fixes

  • Remove return from valorpanic (#1999)

New Features

  • add exit operation to prelude (#2008)
  • Add llvm codegen for collections.static_array (#2003)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-core: v0.15.1

Bug Fixes

  • correct CallIndirect tag from FnCall to DataflowChild (#2006)
  • StaticArrayValue serialisation (#2009)

New Features

  • traits for transforming Types/TypeArgs/etc. (#1991)
  • add exit operation to prelude (#2008)
  • Add llvm codegen for collections.static_array (#2003)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-model: v0.18.1

Bug Fixes

  • Hugr-model using undeclared derive_more features (#1940)

New Features

  • (hugr-model) [breaking] Add read_from_reader and write_to_writer for streaming reads and writes. (#1871)
  • hugr-model AST (#1953)

Refactor

  • (hugr-model) Reexport bumpalo from hugr-model (#1870)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-py: v0.11.1

0.11.1 (2025-03-17)

Features

  • Add default envelope config to Package.to_str/to_bytes (#1980) (44deda1)

Bug Fixes

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-py: v0.11.0

0.11.0 (2025-03-14)

⚠ BREAKING CHANGES

  • Lift op in prelude replaced with a Barrier that behaves similarly except does not add any extensions.

Features

  • Add collections.static_array extension. (#1964) (fdcd48a)
  • Add float <--> int bytecasting ops to conversions extension (#1956) (fa1bf86)
  • Generic HUGR serialization with envelopes (6710e5f)
  • replace Lift with Barrier (#1952) (4e6b6d8)

Bug Fixes

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-cli: v0.15.0

This release changes the format expected by hugr-cli's input to the new generic HUGR envelopes. A new flag --hugr-json provides compatibility with the old format.

New Features

  • [breaking] Generic HUGR serialization with envelopes (#1958)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr: v0.15.0

This release adds a new Node parameter to the HugrView trait, so it is now possible to have more complex structures behave like hugrs.

We also added a new text/binary serialization format for hugrs that will let us keep interoperability between different versions.

Finally, we added multiple new operations and improvements to the rewrites and passes.

New Features

  • Add separate DCE pass (#1902)
  • [breaking] Don't assume "main"-function in dataflow + constant folding (#1896)
  • [breaking] Add associated type Node to HugrView (#1932)
  • Rewrite for inlining a single Call (#1934)
  • [breaking] replace Lift with Barrier (#1952)
  • hugr-model AST (#1953)
  • Add float <--> int bytecasting ops to conversions extension (#1956)
  • Add collections.static_array extension. (#1964)
  • [breaking] Generic HUGR serialization with envelopes (#1958)

Refactor

  • (hugr-model) Reexport bumpalo from hugr-model (#1870)
  • [breaking] remove unused dependencies (#1935)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-passes: v0.15.0

New Features

  • add separate DCE pass (#1902)
  • [breaking] replace Lift with Barrier (#1952)
  • [breaking] don't assume "main"-function in dataflow + constant folding (#1896)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-llvm: v0.15.0

Bug Fixes

  • Rename widen insta tests (#1949)

New Features

  • Emit widen ops from the int ops extension (#1946)
  • [breaking] replace Lift with Barrier (#1952)
  • (hugr-llvm) Emit narrow ops (#1955)
  • Add float <--> int bytecasting ops to conversions extension (#1956)
  • (hugr-llvm) Emit iutos and istou (#1978)

Refactor

  • [breaking] remove unused dependencies (#1935)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-core: v0.15.0

New Features

  • [breaking] Add associated type Node to HugrView (#1932)
  • Rewrite for inlining a single Call (#1934)
  • [breaking] replace Lift with Barrier (#1952)
  • Add float <--> int bytecasting ops to conversions extension (#1956)
  • Add collections.static_array extension. (#1964)
  • [breaking] Generic HUGR serialization with envelopes (#1958)

Refactor

  • [breaking] remove unused dependencies (#1935)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-model: v0.18.0

Bug Fixes

  • Hugr-model using undeclared derive_more features (#1940)

New Features

  • (hugr-model) [breaking] Add read_from_reader and write_to_writer for streaming reads and writes. (#1871)
  • hugr-model AST (#1953)

Refactor

  • (hugr-model) Reexport bumpalo from hugr-model (#1870)

- Rust
Published by hugrbot about 1 year ago

https://github.com/cqcl/hugr - hugr-cli: v0.14.4

New Features

  • Print hugr-cli's correct version when using '--version' (#1790)

- Rust
Published by hugrbot over 1 year ago

https://github.com/cqcl/hugr - hugr: v0.14.4

Bug Fixes

  • delegate default impls in HugrView (#1921)

New Features

  • add xor to logic extension (#1911)
  • Add Type::as_sum and SumType::variants. (#1914)
  • Add HugrMutInternals::insert_ports (#1915)

- Rust
Published by hugrbot over 1 year ago

https://github.com/cqcl/hugr - hugr-passes: v0.14.4

Bug Fixes

  • Export RemoveDeadFuncsError (#1883)
  • const-folding Module keeps at least "main" (#1901)

Documentation

  • Fix deprecation warning messages (#1891)

- Rust
Published by hugrbot over 1 year ago

https://github.com/cqcl/hugr - hugr-llvm: v0.14.4

New Features

  • add xor to logic extension (#1911)
  • (hugr-llvm) Add extension points to PreludeCodegen for customising string lowering (#1918)

- Rust
Published by hugrbot over 1 year ago

https://github.com/cqcl/hugr - hugr-core: v0.14.4

Bug Fixes

  • delegate default impls in HugrView (#1921)

New Features

  • add xor to logic extension (#1911)
  • Add Type::as_sum and SumType::variants. (#1914)
  • Add HugrMutInternals::insert_ports (#1915)

- Rust
Published by hugrbot over 1 year ago

https://github.com/cqcl/hugr - hugr-py: v0.10.3

0.10.3 (2025-02-17)

Features

- Rust
Published by hugrbot over 1 year ago

https://github.com/cqcl/hugr - hugr-cli: v0.14.3

New Features

  • Print hugr-cli's correct version when using '--version' (#1790)

- Rust
Published by hugrbot over 1 year ago

https://github.com/cqcl/hugr - hugr: v0.14.3

Bug Fixes

  • Export RemoveDeadFuncsError (#1883)
  • const-folding Module keeps at least "main" (#1901)
  • determine correct bounds of custom types (#1888)
  • Exporting converging control flow edges (#1890)

Documentation

  • Fix deprecation warning messages (#1891)
  • Explain why ConstF64 is not PartialEq (#1829)

New Features

  • Special cased array, float and int constants in hugr-model export (#1857)
  • Simplify hugr-model (#1893)

- Rust
Published by hugrbot over 1 year ago

https://github.com/cqcl/hugr - hugr-passes: v0.14.3

Bug Fixes

  • Export RemoveDeadFuncsError (#1883)
  • const-folding Module keeps at least "main" (#1901)

Documentation

  • Fix deprecation warning messages (#1891)

- Rust
Published by hugrbot over 1 year ago