Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bytecodealliance/wit-bindgen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.53.0
Choose a base ref
...
head repository: bytecodealliance/wit-bindgen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.53.1
Choose a head ref
  • 6 commits
  • 27 files changed
  • 6 contributors

Commits on Feb 12, 2026

  1. fix(rust): Use type_path for exported borrowed resource (#1534)

    * fix borrowed handle lift
    
    * rename export_cabi trait name from T to T_
    
    * fix
    chenyan2002 authored Feb 12, 2026
    Configuration menu
    Copy the full SHA
    1c6a7a5 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2026

  1. C#: Compilation failure if variant has same name as one of the cases. (

    …#1535)
    
    * If the variant case and variant name have the same c# names, then add an underscore to the case name
    
    * Add test for variant case with same name as variant
    
    * exclude known c++ failure
    yowl authored Feb 13, 2026
    Configuration menu
    Copy the full SHA
    a5d03a8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fa36ada View commit details
    Browse the repository at this point in the history
  3. fix: merge TypeInfo for structurally equal types in bindgen (#1536)

    When `collect_equal_types` unions structurally identical types from
    different interfaces, the TypeInfo (borrowed/owned/error flags) was not
    being merged. This caused incorrect code generation when a type was
    imported in one interface and exported in another - only one side's
    flags would be visible, leading to missing borrowed or owned type
    variants.
    
    Add a post-pass in `collect_equal_types` that merges TypeInfo across
    all members of each equivalence class, so the representative carries
    the union of all usage flags.
    sumleo authored Feb 13, 2026
    Configuration menu
    Copy the full SHA
    434322d View commit details
    Browse the repository at this point in the history
  4. fix(go): prevent GC finalizer on borrowed resource handles (#1539)

    * chore: add dev-dependencies for integration tests
    
    Add wit-bindgen-core, wit-bindgen-rust, wit-bindgen-go, and wit-parser
    as workspace dev-dependencies to support integration test files.
    
    * fix(go): prevent GC finalizer on borrowed resource handles
    
    FromBorrowHandle for imported resources was incorrectly delegating to
    FromOwnHandle, which registers a GC finalizer via runtime.AddCleanup.
    This violates the Component Model specification: borrowed handles are
    not owned by the callee, so the callee must not drop them. When Go's
    garbage collector ran, it would drop borrowed handles through the
    finalizer, corrupting the host's resource table.
    
    Fix FromBorrowHandle to create a handle object directly without
    registering a GC finalizer, preserving the correct ownership semantics.
    sumleo authored Feb 13, 2026
    Configuration menu
    Copy the full SHA
    a555dc7 View commit details
    Browse the repository at this point in the history
  5. Release wit-bindgen 0.53.1 (#1542)

    [automatically-tag-and-release-this-commit]
    
    Co-authored-by: Auto Release Process <auto-release-process@users.noreply.github.com>
    github-actions[bot] and Auto Release Process authored Feb 13, 2026
    Configuration menu
    Copy the full SHA
    d61d370 View commit details
    Browse the repository at this point in the history
Loading