chore(main): release 0.21.0 #1042
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 I have created a release beep boop
0.21.0 (2025-08-04)
⚠ BREAKING CHANGES
guppy.compile(foo)andguppy.check(foo)replaced withfoo.check()andfoo.compile()guppylang.tracing.object.GuppyDefinitionmoved toguppylang.defs.GuppyDefinitionguppylang.tracing.object.TypeVarGuppyDefinitionmoved and renamed toguppylang.defs.GuppyTypeVarDefinitionto_hugrmethods on types, arguments, and parameters now require aToHugrContextCompileableDef.compile_outernow requires aToHugrContextguppy.hugr_opnow passes the compiler context to the function generating the opCheckedFunctionDefnow implementsMonomorphizableDefinstead ofCompileableDefCompilerContext.build_compiled_defnow requires an instantiation for the definition's type parameters TheToHugrContextprotocol now requires two additional methods:type_var_to_hugrandconst_var_to_hugrCompilerContext.{compiled, worklist}andCompilationEngine.compiledare now indexed by a tuple ofDefIdand optionalPartiallyMonomorphizedArgsguppylang.enable_experimental_features(), however note that they are not supported throughout the stack.Features
Futuretype (#1075) (5ad7673)core.prefix for metadata keys (#1055) (2bf0d68)Bug Fixes
[@custom](https://github.com/custom)_guppy_decoratorin nested scopes (#1086) (678583c)Documentation
compile_moduleusage in README (#1041) (03ccf3a)This PR was generated with Release Please. See documentation.