CodeTracking v3.0.0
Breaking Changes
-
MethodInfoKeyis now a proper struct instead of aPairtype alias: (#149)
Previously,MethodInfoKeywas defined asPair{Union{Nothing, MethodTable}, Type}. This has been replaced with a dedicated struct to avoid type piracy that would occur from definingPair{...}(::Method)conversion methods.The new struct implements
Base.iterateto 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
MethodInfoKeyPair alias with struct to avoid type piracy (#149) (@aviatesk) - Bump actions/checkout from 5 to 6 (#150) (@dependabot[bot])