Skip to content

Releases: google/bundletool

1.14.0

31 Jan 15:40
Compare
Choose a tag to compare

What’s new

  • Added a new command build-sdk-apks-for-app, which generates a backwards-compatible app APKs from a given runtime-enabled SDK archive for devices without SDK runtime support.

1.13.2

16 Dec 00:33
Compare
Choose a tag to compare

What's new

  • Enhancements and bugfixes to build-apks command related to handling runtime-enabled SDK dependencies of the App Bundle.
  • Ensure baseline profiles are always uncompressed

1.13.1

14 Nov 16:56
Compare
Choose a tag to compare

Bugfixes

  • build-apks command: bugfixes for supporting runtime-enabled SDK dependencies.
  • extract-apks command: install-time asset modules are now extracted regardless of the requested module names.

1.13.0

04 Nov 00:33
Compare
Choose a tag to compare

What's new

  • Collapse resource name optimizations which reduces size of generated APKs by removing resource names from resources.arsc. Resources with collapsed names are only accessible by their ids. Developers may enable these optimizations in their BundleConfig. Configuration allows to exclude certain resources and/or resource types.
{
  "optimizations": {
    "resourceOptimizations": {
      "collapsedResourceNames": {
        "collapseResourceNames": true,
        "deduplicateResourceEntries": true,
        "noCollapseResourceTypes": ["layout", "mipmap"]
      }
    }
  }
}

Bugs fixed

  • Inject signature mode of adding code transparency fails with incompatible version of bundletool dex #304

1.12.1

19 Oct 16:03
Compare
Choose a tag to compare

Bugs fixed

  • Restored JRE 8 support which was accidentally broken in 1.12.0 #303

1.12.0

19 Oct 00:39
Compare
Choose a tag to compare

What's new

  • Variant with uncompressed DEX files is enabled by default for Android S+ devices. You can opt-out with an option in the BundleConfig:
{
  "optimizations": {
    "uncompressDexFiles": {
      "enabled": false
    }
  }
}

or by including special marker file res/xml/uncompressed_dex_opt_out.xml in the base module of your Android App Bundle.

  • Enhanced support for runtime-enabled SDK dependencies in build-apks command for Android S devices and below.
  • Added SDK_RUNTIME dimension to get-size command.
  • Code transparency enhancements:
    • additional flag --allow-shared-user-id in add-transparency command allows to add code transparency to applications with sharedUserId;
    • dex files used in archived APK are included into code transparency file.
  • Archived apps:
    • added icon treatment for archived apps to make it easier for users to distinguish them from fully installed apps;
    • improved startup behaviour of archived apps.

Other changes

  • Upgraded protobuf and guava libraries.

1.11.2

07 Sep 19:12
Compare
Choose a tag to compare

What's new

  • Added enhancements and bugfixes to bundletool commands that support Android SDK Bundle and Android SDK Archive experimental formats.

1.11.1

03 Sep 09:10
Compare
Choose a tag to compare

What's new

  • Support for custom set of supported ABIs in APEX bundles.
  • Option to have uncompressed dex files on Android S+ devices (previously Android Q+ was the only option).

Bugs fixed

  • Baseline Profile missing from Universal Apk #295
  • install-multi-apks does not work correctly on Windows

1.11.0

29 Jun 10:36
Compare
Choose a tag to compare

What's new

  • Added support for Android SDK Bundles and Android SDK Archives, experimental formats used to publish and distribute runtime-enabled SDKs to SDK distribution channels. You can find more details in the documentation of bundletool commands here.

1.10.0

25 Apr 17:31
Compare
Choose a tag to compare

What's new

  • Added support for 7-zip's implementation of deflate algorithm for APKs compression.
  • With this release all App Bundles built will have Store Archival enabled by default. Archival is a new App Bundle feature that in the future will allow users with low storage to effectively manage their app space, if supported by the store.
    You can opt-out with a new option in the BundleConfig:
{
  "optimizations": {
    "storeArchive": {
      "enabled": false
    }
  }
}

Other changes

  • R8/D8 library is upgraded to the latest (3.3.28) version.