Skip to content

v2.7.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 11:38

2.7.0 (2026-11-30)

Bug Fixes

  • Keep split modules from being extracted outside the work directory (4240521)
  • Reject baseline profiles with impossible sizes instead of failing to allocate (98ff4d4)
  • Remove BytecodeMode (4679489)
  • Verify DEX files at the method limit with d8 for Android 8.0 (80471d8)

Features

  • Add MutableClass.addMethod() to add a method from smali code (75eefb0)
  • Expose the patcher version and refuse patch bundles cut short (6f0ea87)
  • Map an Android ABI name to the architecture app targets declare (9c348c5)
  • Read the form factor an APK is built for (#304) (0f0e60a)
  • Read what an app declares in its manifest straight from the APK (cf57fc7)
  • Share bundle merging, split selection and compatibility checks with the apps (d403dc9)
  • Share one version comparison with the apps (806cae6)
  • Share split archive, ABI and merge handling with the apps (472a19b)
  • Validate the minSdk of the app target being patched (00f3e17)

Performance Improvements

  • Compare arrays of primitive types as equal so fingerprints can use the type indexes (438c828)
  • Compress the other files patches change on all cores (1ab5f7d)
  • Do not build the class descriptors of every DEX file to carry a profile over (54de783)
  • Limit the candidate classes with the declared method if the instruction values are common (440aa26)
  • Size the compression buffers of a file to the file (2c4233c)
  • Speed up writing the patched APK (#301) (f831fff)
  • Stop shipping kotlin-reflect and kotlinx-serialization (64c6c29)