Jetifier

  
A standalone tool that migrates a library's dependencies on the deprecated support library to equivalent AndroidX dependencies.
Latest Update Stable Release Release Candidate Beta Release Alpha Release
September 2, 2020 - - 1.0.0-beta10 -

Feedback

Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.

Create a new issue

See the Issue Tracker documentation for more information.

Version 1.0.0

Version 1.0.0-beta10

September 2, 2020

androidx.jetifier:jetifier-core:1.0.0-beta10 and androidx.jetifier:jetifier-processor:1.0.0-beta10 are released. Version 1.0.0-beta10 contains these commits.

New features

  • Introduced timestamp policy (for deterministic builds)
    • new parameter “--timestampsPolicy” in jetifier standalone to use it.
  • Upgraded jetifier to asm 8

Bug Fixes

  • Fixed input method string mappings

Version 1.0.0-beta09

February 19, 2020

androidx.jetifier:jetifier-core:1.0.0-beta09 and androidx.jetifier:jetifier-processor:1.0.0-beta09 are released. Version 1.0.0-beta09 contains these commits.

New features

  • Added support for processing @link references in XML

Bug Fixes

  • Rewrite libraries that contain a mix of androidx and android.support references as these were skipped before. (b/148462462)

Version 1.0.0-beta08

November 20, 2019

androidx.jetifier:jetifier-core:1.0.0-beta08 and androidx.jetifier:jetifier-processor:1.0.0-beta08 are released. Version 1.0.0-beta08 contains these commits.

Bug fixes

  • Fixed a ProGuard parsing error (b/134100420)
  • Fixed a signature error that occurred on unmodified archives (b/142580430)
  • Removed an unnecessary warning that displayed when modifying single files (b/143609228)

Version 1.0.0-beta07

September 18, 2019

com.android.tools.build.jetifier:jetifier-core:1.0.0-beta07 and com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta07 are released. Version 1.0.0-beta07 contains these commits.

Bug fixes

  • Fixed the mappings of the androidx.navigation library

Version 1.0.0-beta06

August 15, 2019

androidx.jetifier:jetifier-core:1.0.0-beta06 and androidx.jetifier:jetifier-processor:1.0.0-beta06 are released. The commits included in this version can be found here.

Bug fixes

  • Fixed a thread safety issue with Class.getResourceAsStream(). (b/137929327, b/120277395)

  • Fixed NullPointerException when processing files locally with Jetifier standalone (b/136576786)

Version 1.0.0-beta05

June 18, 2019

com.android.tools.build.jetifier:jetifier-core:1.0.0-beta05 and com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta05 is released. The commits included in this version can be found here.

New features

  • Adds mappings for Navigation and WorkManager.
  • Jetifier can now skip libraries containing AndroidX references (b/119135578)

Bug fixes

  • Close stream when loading config in jetifier (b/120277395
  • Fix for incorrectly migrated Bundle key strings

Version 1.0.0-beta04

February 25, 2019

com.android.tools.build.jetifier 1.0.0-beta04 is released.

Bug fixes

  • Updated version of ConstraintLayout to 1.1.3
  • Fixed mapping of android.support.v4.os.ResultReceiver (b/123651524)

Version 1.0.0-beta03

February 7, 2019

com.android.tools.build.jetifier 1.0.0-beta03 is released.

New features

  • Jetifier now throws an exception if it finds a signature inside a jetified JAR. This can be disabled by using -stripSignatures which will remove all signature files. This does not apply to libraries that do not have any dependencies on old support library as jetifier skips these (aosp/894356)

Bug fixes

  • Fixed jetification of android.support.customtabs so jetifier no longer migrates the constants (aosp/875343)
  • Fixed that jetifier always marked non-modified archives as modified if they contained a POM file (aosp/876353)