|
1 | 1 | # Changelog
|
2 | 2 |
|
3 |
| -## 0.4.0-alpha.1 (2024-05-13) |
| 3 | +## 0.4.0 (2024-05-20) |
4 | 4 |
|
5 | 5 | ### Bug Fixes
|
6 | 6 |
|
| 7 | +- Disallow non-finite values for `ConstF64` ([#1075](https://github.com/CQCL/hugr/pull/1075)) |
7 | 8 | - Serialization round-trips ([#948](https://github.com/CQCL/hugr/pull/948))
|
8 | 9 | - [**breaking**] Combine `ConstIntU` and `ConstIntS` ([#974](https://github.com/CQCL/hugr/pull/974))
|
9 | 10 | - Disable serialisation tests when miri is active ([#977](https://github.com/CQCL/hugr/pull/977))
|
|
15 | 16 |
|
16 | 17 | ### Features
|
17 | 18 |
|
| 19 | +- Add verification to constant folding ([#1030](https://github.com/CQCL/hugr/pull/1030)) |
| 20 | +- Add `Const::get_custom_value` ([#1037](https://github.com/CQCL/hugr/pull/1037)) |
| 21 | +- Add serialization schema for metadata ([#1038](https://github.com/CQCL/hugr/pull/1038)) |
18 | 22 | - 'Replace' rewrite returns node map ([#929](https://github.com/CQCL/hugr/pull/929))
|
19 | 23 | - `new` methods for leaf ops ([#940](https://github.com/CQCL/hugr/pull/940))
|
20 | 24 | - Add `string` type and `print` function to `prelude` ([#942](https://github.com/CQCL/hugr/pull/942))
|
|
31 | 35 |
|
32 | 36 | ### Refactor
|
33 | 37 |
|
| 38 | +- [**breaking**] Rename `crate::ops::constant::ExtensionValue` => `OpaqueValue` ([#1036](https://github.com/CQCL/hugr/pull/1036)) |
34 | 39 | - Outline hugr::serialize::test ([#976](https://github.com/CQCL/hugr/pull/976))
|
35 | 40 | - [**breaking**] Replace SmolStr identifiers with wrapper types. ([#959](https://github.com/CQCL/hugr/pull/959))
|
36 | 41 | - Separate extension validation from the rest ([#1011](https://github.com/CQCL/hugr/pull/1011))
|
37 | 42 | - Remove "trait TypeParametrised" ([#1019](https://github.com/CQCL/hugr/pull/1019))
|
38 | 43 |
|
39 | 44 | ### Testing
|
40 | 45 |
|
| 46 | +- Reorg OutlineCfg/nest_cfgs tests so hugr doesn't depend on algorithm ([#1007](https://github.com/CQCL/hugr/pull/1007)) |
| 47 | +- Ignore tests which depend on typetag when cfg(miri) ([#1051](https://github.com/CQCL/hugr/pull/1051)) |
| 48 | +- Really ignore tests which depend on typetag when cfg(miri) ([#1058](https://github.com/CQCL/hugr/pull/1058)) |
| 49 | +- Proptests for round trip serialisation of `Type`s and `Op`s. ([#981](https://github.com/CQCL/hugr/pull/981)) |
41 | 50 | - Add a test of instantiating an extension set ([#939](https://github.com/CQCL/hugr/pull/939))
|
42 | 51 | - Ignore serialisation tests when using miri ([#975](https://github.com/CQCL/hugr/pull/975))
|
43 | 52 | - [**breaking**] Test roundtrip serialisation against strict + lax schema ([#982](https://github.com/CQCL/hugr/pull/982))
|
|
0 commit comments