Skip to content

refactor: make EnvelopeFormat::ModelWithExtensions the default#2816

Merged
ferbetanzo merged 2 commits intomainfrom
fb/change-default-envelope-format-enum
Jan 15, 2026
Merged

refactor: make EnvelopeFormat::ModelWithExtensions the default#2816
ferbetanzo merged 2 commits intomainfrom
fb/change-default-envelope-format-enum

Conversation

@ferbetanzo
Copy link
Copy Markdown
Contributor

Done as part of the efforts to deprecate the JSON encoding (#2728). Changes the default of the EnvelopeFormat enum and fixes the CLI describe tests.

@ferbetanzo ferbetanzo requested a review from a team as a code owner January 15, 2026 14:47
@ferbetanzo ferbetanzo requested a review from aborgna-q January 15, 2026 14:47
@ferbetanzo ferbetanzo added the S-breaking-change Status: Need a breaking change release to progress label Jan 15, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.71%. Comparing base (f3cfff4) to head (776b002).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2816   +/-   ##
=======================================
  Coverage   83.71%   83.71%           
=======================================
  Files         261      261           
  Lines       52631    52631           
  Branches    47372    47372           
=======================================
+ Hits        44058    44060    +2     
+ Misses       6183     6182    -1     
+ Partials     2390     2389    -1     
Flag Coverage Δ
python 88.85% <ø> (ø)
rust 83.14% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Collaborator

@aborgna-q aborgna-q left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@ferbetanzo ferbetanzo added this pull request to the merge queue Jan 15, 2026
Merged via the queue into main with commit 1879778 Jan 15, 2026
31 checks passed
@ferbetanzo ferbetanzo deleted the fb/change-default-envelope-format-enum branch January 15, 2026 15:42
@hugrbot hugrbot mentioned this pull request Jan 15, 2026
@hugrbot hugrbot mentioned this pull request Feb 3, 2026
github-merge-queue bot pushed a commit that referenced this pull request Feb 3, 2026
## 🤖 New release

* `hugr-model`: 0.25.4 -> 0.25.5 (✓ API compatible changes)
* `hugr-core`: 0.25.4 -> 0.25.5 (✓ API compatible changes)
* `hugr-llvm`: 0.25.4 -> 0.25.5 (✓ API compatible changes)
* `hugr-passes`: 0.25.4 -> 0.25.5 (✓ API compatible changes)
* `hugr-persistent`: 0.4.4 -> 0.4.5 (✓ API compatible changes)
* `hugr`: 0.25.4 -> 0.25.5 (✓ API compatible changes)
* `hugr-cli`: 0.25.4 -> 0.25.5 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

## `hugr-model`

<blockquote>

##
[0.25.0](hugr-model-v0.24.3...hugr-model-v0.25.0)
- 2025-12-22

### Bug Fixes

- *(model)* avoid non abi-compatible pyo3 calls
([#2679](#2679))

### New Features

- [**breaking**] Upgrade pyo3 dependency to 0.27
([#2736](#2736))

### Refactor

- Direct import of model representation to Python
([#2683](#2683))
</blockquote>

## `hugr-core`

<blockquote>

##
[0.25.5](hugr-core-v0.25.4...hugr-core-v0.25.5)
- 2026-02-03

### Refactor

- make EnvelopeFormat::ModelWithExtensions the default
([#2816](#2816))
</blockquote>

## `hugr-llvm`

<blockquote>

##
[0.25.0](hugr-llvm-v0.24.3...hugr-llvm-v0.25.0)
- 2025-12-22

### New Features

- *(llvm)* [**breaking**] upgrade to inkwell 0.7
([#2695](#2695))

### Refactor

- Deprecate Value::Function and inline_constant_functions
([#2770](#2770))
</blockquote>

## `hugr-passes`

<blockquote>

##
[0.25.4](hugr-passes-v0.25.3...hugr-passes-v0.25.4)
- 2026-01-14

### Bug Fixes

- UnpackTuple error on disconnected outputs
([#2813](#2813))
</blockquote>

## `hugr-persistent`

<blockquote>

##
[0.4.0](hugr-persistent-v0.3.4...hugr-persistent-v0.4.0)
- 2025-12-22

### New Features

- [**breaking**] Remove `RootCheckable`
([#2704](#2704))
- [**breaking**] Bump MSRV to Rust 1.89
([#2747](#2747))
- [**breaking**] Type-safe access for node metadata
([#2755](#2755))

### Refactor

- [**breaking**] Remove multiple deprecated definitions
([#2751](#2751))
</blockquote>

## `hugr`

<blockquote>

##
[0.25.5](hugr-v0.25.4...hugr-v0.25.5)
- 2026-02-03

### Refactor

- make EnvelopeFormat::ModelWithExtensions the default
([#2816](#2816))
</blockquote>

## `hugr-cli`

<blockquote>

##
[0.25.5](hugr-cli-v0.25.4...hugr-cli-v0.25.5)
- 2026-02-03

### Refactor

- make EnvelopeFormat::ModelWithExtensions the default
([#2816](#2816))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).
@hugrbot hugrbot mentioned this pull request Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-breaking-change Status: Need a breaking change release to progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants