Skip to content

2023-07-17

Choose a tag to compare

@github-actions github-actions released this 18 Jul 18:39
· 135 commits to main since this release

Benchmark: v1.2.0-beta01

July 18, 2023

androidx.benchmark:benchmark-*:1.2.0-beta01 is released. Version 1.2.0-beta01 contains these commits.

Bug Fixes

  • Fix warnings being sometimes suppressed in Benchmark output in Studio, and workaround leading whitespaces from Benchmark output not showing up in Studio (Ia61d0, b/227205461, b/286306579, b/285912360)
  • Fixed comment for FrameTimingMetric. The submetric is named frameDurationCpuMs. (Ib097f, b/288830934).

Compose Compiler: v1.5.0

July 18, 2023

androidx.compose.compiler:compiler:1.5.0, androidx.compose.compiler:compiler-daemon:1.5.0, and androidx.compose.compiler:compiler-hosted:1.5.0 are released. Version 1.5.0 contains these commits.

Experimental K2 support

  • Compose compiler 1.5.0 provides experimental support for K2 compiler. Some Compose features are not supported with K2 yet and will be coming in the future versions of the compiler.

Important changes since 1.4.0

  • Kotlin version is updated to 1.9.0.
  • Named arguments for @Composable lambda calls have been deprecated. This feature is relying on internal compiler APIs and will not be supported by K2.
  • Added a diagnostic to verify @Composable annotation on expect/actual calls. Both declarations are expected to have matching annotations.

Tracing Perfetto: v1.0.0-beta01

July 18, 2023

androidx.tracing:tracing-perfetto:1.0.0-beta01, androidx.tracing:tracing-perfetto-binary:1.0.0-beta01, and androidx.tracing:tracing-perfetto-handshake:1.0.0-beta01 are released. Version 1.0.0-beta01 contains these commits.

API Changes

  • Renamed androidx.tracing.perfetto.Trace to androidx.tracing.perfetto.PerfettoSdkTrace (I44af8)
  • Renamed "exit code" to "result code" constants in the protocol for consistency (Id1d1e)
  • Renamed EnableTracingResponse to Response. (I56275)
  • Added an option to enable cold start tracing in a persistent mode. Added a function to clear (persistent or not) cold start tracing. (Iaa09d)
  • Made Tracing Perfetto SDK APIs consistent with android.os.Trace. (I73ba0, b/282199917)
  • Moved to a factory pattern for LibrarySource allowing for future use-cases (e.g. loading the .so file directly) to be easily added to the API if needed. (I128df)
  • Making enableTracingColdStart parameters match enableTracingImmediate (I54126)
  • Removed killProcess argument in enableTracingColdStart (I81c4d)