Skip to content

v3.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 15:51
3819238

CodeTracking v3.0.0

Diff since v2.0.2

Breaking Changes

  • MethodInfoKey is now a proper struct instead of a Pair type alias: (#149)
    Previously, MethodInfoKey was defined as Pair{Union{Nothing, MethodTable}, Type}. This has been replaced with a dedicated struct to avoid type piracy that would occur from defining Pair{...}(::Method) conversion methods.

    The new struct implements Base.iterate to maintain compatibility with existing destructuring patterns like (mt, sig) = key.

Migration Notes

Packages that depend on MethodInfoKey (such as LCU and Revise) will need to update their code to work with the new struct type, i.e. use the MethodInfoKey(mt::Core.MethodTable, sig) constructor to create MethodInfoKey instances rather than creating mt => sig objects. The destructuring syntax (mt, sig) = key continues to work due to the custom iterate implementation.

Merged pull requests:

  • replace MethodInfoKey Pair alias with struct to avoid type piracy (#149) (@aviatesk)
  • Bump actions/checkout from 5 to 6 (#150) (@dependabot[bot])