Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |
---|---|---|---|---|
August 7, 2024 | 1.5.15 | - | - | - |
Structure
Compose is combination of 7 Maven Group Ids within androidx
. Each Group
contains a targeted subset of functionality, each with its own set of release
notes.
This table explains the groups and links to each set of release notes.
Group | Description |
---|---|
compose.animation | Build animations in their Jetpack Compose applications to enrich the user experience. |
compose.compiler | Transform @Composable functions and enable optimizations with a Kotlin compiler plugin. |
compose.foundation | Write Jetpack Compose applications with ready to use building blocks and extend foundation to build your own design system pieces. |
compose.material | Build Jetpack Compose UIs with ready to use Material Design Components. This is the higher level entry point of Compose, designed to provide components that match those described at www.material.io. |
compose.material3 | Build Jetpack Compose UIs with Material Design 3 Components, the next evolution of Material Design. Material 3 includes updated theming and components and Material You personalization features like dynamic color, and is designed to be cohesive with the new Android 12 visual style and system UI. |
compose.runtime | Fundamental building blocks of Compose's programming model and state management, and core runtime for the Compose Compiler Plugin to target. |
compose.ui | Fundamental components of compose UI needed to interact with the device, including layout, drawing, and input. |
Declaring dependencies
To add a dependency on Compose, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.
Add the dependencies for the artifacts you need in the build.gradle
file for
your app or module:
Groovy
android { buildFeatures { compose true } composeOptions { kotlinCompilerExtensionVersion = "1.5.15" } kotlinOptions { jvmTarget = "19" } }
Kotlin
android { buildFeatures { compose = true } composeOptions { kotlinCompilerExtensionVersion = "1.5.15" } kotlinOptions { jvmTarget = "19" } }
For more information about dependencies, see Add build dependencies.
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.
See the Issue Tracker documentation for more information.
Version 1.5
Version 1.5.15
August 7, 2024
androidx.compose.compiler:compiler:1.5.15
and androidx.compose.compiler:compiler-hosted:1.5.15
are released. Version 1.5.15 contains these commits.
- This compiler release is targeting Kotlin 1.9.25.
Version 1.5.14
May 14, 2024
androidx.compose.compiler:compiler:1.5.14
and androidx.compose.compiler:compiler-hosted:1.5.14
are released. Version 1.5.14 contains these commits.
This compiler release is targeting Kotlin 1.9.24.
Bug Fixes
- Ensure that inline body is realized when source information is off. (Idddb8)
Version 1.5.13
May 1, 2024
androidx.compose.compiler:compiler:1.5.13
and androidx.compose.compiler:compiler-hosted:1.5.13
are released. Version 1.5.13 contains these commits.
New features
- Strong skipping is no longer considered experimental and is safe for use in production. It will become the default behavior in an upcoming release. (I6c8c4)
Bug Fixes
- Fix binary compatibility for
@Composable
functions with value class parameters that have a default value and are wrapping a non-primitive value. (I89465 - Upstreamed fixes for JS and Native compilation from Compose multiplatform. See the commit range above for full details.
Version 1.5.12
April 17, 2024
androidx.compose.compiler:compiler:1.5.12
and androidx.compose.compiler:compiler-hosted:1.5.12
are released. Version 1.5.12 contains these commits.
Bug Fixes
- Fixes an issue with incremental compilation with Kotlin 1.9.23. (Ifca55)
- Fix non-nullable types in value parameters for non-primitive inline classes. (Ie6bb5)
Version 1.5.11
March 20, 2024
androidx.compose.compiler:compiler:1.5.11
and androidx.compose.compiler:compiler-hosted:1.5.11
are released. Version 1.5.11 contains these commits.
Notes
Starting with this version, the compiler will now call
startReplaceGroup
instead ofstartReplacableGroup
when a module is compiled with a runtime that contains this method.startReplaceGroup
was introduced in the runtime in Compose Runtime1.7.0-alpha03
. Calls tostartRestartGroup
are only generated when targeting 1.7.0-alpha03 or later versions of the runtime.Calling
startReplaceGroup
instead ofstartReplaceableGroup
allows the runtime to detect changes more efficiently but may affect the order in which changes are detected by theComposer
and sent to theApplier
. This may result in subtle changes in behavior if anApplier
relies on the order these operations are detected.
New Features
- Support for Kotlin 1.9.23
Bug Fixes
- Fix nested external generic types being inferred Unstable. (I3437f, b/327643787)
- Support multiple stability configuration files. (I8db14, b/325326744)
- Compose Compiler now correctly transforms overridden functions by recursively walking through base classes/overrides. (I2c9f9, b/316196500)
- Ensure that function reference memoization doesn't try to capture implicit parents of local declarations when they are not used directly. (Ib1267)
- Fix code generation for composable crossinline lambda (hard to encounter this bug without "nonSkippingGroupOptimization" enabled). (Icb2fd, b/325502738)
Version 1.5.10
February 21, 2024
androidx.compose.compiler:compiler:1.5.10
and androidx.compose.compiler:compiler-hosted:1.5.10
are released. Version 1.5.10 contains these commits.
Bug Fixes
- Support live literals inside init blocks. (b/320397488)
- Use dispatcher parameter to check if the function is inside local class (b/323123439)
Version 1.5.9
February 7, 2024
androidx.compose.compiler:compiler:1.5.9
and androidx.compose.compiler:compiler-hosted:1.5.9
are released. Version 1.5.9 contains these commits.
Bug Fixes
- Fix composable calls in anonymous object initializer. (b/320261458, 96315c)
- Count recursive local declarations as captures. (b/318745941, e7b4b0)
- Fix Intrinsic remember changes behavior related to Java method refs by forceing .changed for function types with intrinsic remember. (b/319810819, 77128e)
- Added an experimental optimization that will remove the groups around functions that are not skippable such as explicitly marked as
@NonSkippableComposable
and functions that are implicitly not skippable such inline functions and functions that return a non-Unit value such asremember
. - This optimization can be enabled by passing plugin option,
-P plugin:androidx.compose.compiler.plugins.kotlin:nonSkippingGroupOptimization=true
to the Kotlin compiler. (I1688f)
Version 1.5.8
January 10, 2024
androidx.compose.compiler:compiler:1.5.8
and androidx.compose.compiler:compiler-hosted:1.5.8
are released. Version 1.5.8 contains these commits.
New Features
- Support for Kotlin 1.9.22
Bug Fixes
- Fix bug where Compose Compiler build threw exceptions when built using Java21. Users who are using Compose Compiler from Google Maven (i.e., not building it themselves) were never impacted by this bug. (b/316644294)
- Fix bug where
COMPOSABLE_EXPECTED
error was being reported for some callers of non-inlined lambdas. (b/309364913) - Add a compilation error for default parameters in open functions (previously only it was restricted only for abstract functions). Compose does not support substitution of default parameters from overridden functions at the moment, and overriding a composable function with default parameters was failing at runtime. Use
@Suppress("ABSTRACT_COMPOSABLE_DEFAULT_PARAMETER_VALUE")
to suppress, but note that overriding such function without providing a default value for parameter will result in a crash at runtime.(b/317490247) - Fixed bug in intrinsic remember which prevented values from propagating correctly. (b/316327367)
External Contribution
- Fix documentation typo. (aosp/288106)
Version 1.5.7
December 19, 2023
androidx.compose.compiler:compiler:1.5.7
and androidx.compose.compiler:compiler-hosted:1.5.7
are released. Version 1.5.7 contains these commits.
Bug Fixes
- Fix compose runtime crash when
remember()
key parameter invokes a Composable function (b/315855015) - Fix Compose runtime crash when
return@
is used. (b/315821171) - Avoid using absolute paths in memoization keys which allows better build cache utilization. (b/313937484)
Version 1.5.6
December 6, 2023
androidx.compose.compiler:compiler:1.5.6
and androidx.compose.compiler:compiler-hosted:1.5.6
are released. Version 1.5.6 contains these commits.
New Features
- Support for Kotlin 1.9.21
Bug Fixes
- Enable intrinsic remember - the compiler transform that inlines remember in Compose compiler plugin and replaces
.equals
comparisons with int comparisons of the parameter meta for stable params. This results in less slots being used and less comparisons being done at runtime. The option can be disabled by providing compiler plugin argument: -Pplugin:androidx.compose.compiler.plugins.kotlin:intrinsicRemember=false
. (If675f) - Fix memoization of adapted function references and inline arguments. (b/312738720)
- Realize groups when exiting inline function call (b/312242547)
External Contribution
- Fix k/native and k/wasm runtime crash due to missing return statement in Composable functions when it's the last statement and returns a null const (aosp/2835716)
Version 1.5.5
November 29, 2023
androidx.compose.compiler:compiler:1.5.5
and androidx.compose.compiler:compiler-hosted:1.5.5
are released. Version 1.5.5 contains these commits.
Bug Fixes
- Fixes a crash during lookup of overridden composable types (Ib6d2c, b/297665426)
- Add
stabilityConfigurationPath
to known parameters (previously bug prevented usage of configuration file flag). (b/309765121) - Memoization fixes (I081d1, I4d7bf)
- Recomposition fix by accounting for Uncertain param state in intrinsic remember (b/263402091)
- Fix debugging line information for intrinsic remember (Ic8cf5)
- Fix crash (IR lowering failed) during overridden composable types lookup at compile time (b/297665426)
- Add
External Contribution
- Memoize stable function references with arguments (I4d7bf, b/302680514)
Version 1.5.4
November 7, 2023
androidx.compose.compiler:compiler:1.5.4
and androidx.compose.compiler:compiler-hosted:1.5.4
are released. Version 1.5.4 contains these commits.
Dependency Updates
- Compose Compiler is now compatible with Kotlin 1.9.20
New Features
- Add an experimental option to enable strong skipping mode. Strong skipping mode allows composables with unstable parameters to be skipped. Additionally, lambdas with unstable captures are memoized. This feature is experimental and not considered ready for production use. (22421e)
- Add flag to enable/disable source/trace information. (4d45f09)
- Allow configuring the stability of external classes via a configuration file. (If40eb)
Bug Fixes
- Fix early exit from composable functions when source information is not collected. (fe6267)
- Fix continue from composable functions. (948362)
- Fix resolution when composable functions are invoked from within a function invocation that has multiple overloads that are dependent on expression return type. (2d36d0)
- Fix memoization when function reference does not have dispatch receiver. (fc2326)
- Fix dirty check which was preventing recomposition of lambdas in some situations. (db3699)
- Fix stability when incrementally compiling across modules. (7d3e127)
- Reduce scope of
@DontMemoize
to lambda expressions only. (7a7fa52) - Fix Variables not captured correctly when using a Composable fun interface as a lambda. (5ae3556)
External Contribution
- Use structural equality symbol for numeric and null comparison (c612a0)
Version 1.5.3
August 29, 2023
androidx.compose.compiler:compiler:1.5.3
, androidx.compose.compiler:compiler-daemon:1.5.3
, and androidx.compose.compiler:compiler-hosted:1.5.3
are released. Version 1.5.3 contains these commits.
Dependency Update
- Kotlin version is updated to 1.9.10
Version 1.5.2
August 23, 2023
androidx.compose.compiler:compiler:1.5.2
, androidx.compose.compiler:compiler-daemon:1.5.2
, and androidx.compose.compiler:compiler-hosted:1.5.2
are released. Version 1.5.2 contains these commits.
Bug Fixes
- Insert line numbers for return statements in constant-returning composable functions. (I42d89)
- Fix a memory leak caused by switching to the new compiler plugin entrypoint. (4f0a101)
- Stop transforming non-composable fun interfaces in Compose compiler. This causes fun interfaces to be handled the same way as lambdas, including memoization rules. (28b3ce9)
- Use vararg argument type for inferring stability on call site. (bc83645)
Version 1.5.1
July 26, 2023
androidx.compose.compiler:compiler:1.5.1
, androidx.compose.compiler:compiler-daemon:1.5.1
, and androidx.compose.compiler:compiler-hosted:1.5.1
are released. Version 1.5.1 contains these commits.
Bug Fixes
- Fixed composition trace event markers in
@ReadOnlyComposable
functions with early returns which caused trace corruption.
Version 1.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.
Version 1.4.8
Version 1.4.8
June 28, 2023
androidx.compose.compiler:compiler:1.4.8
, androidx.compose.compiler:compiler-daemon:1.4.8
, and androidx.compose.compiler:compiler-hosted:1.4.8
are released. Version 1.4.8 contains these commits.
New Features
- Target Kotlin compiler version is bumped to 1.8.22.
Bug Fixes
- Improved error message for
@Composable
overrides. Now it correctly points out annotation mismatch. - Warn about redundant
@Composable
annotation on inline lambdas that should not be marked as composable. This feature will not be supported with K2 compiler.
Version 1.4.7
Version 1.4.7
May 3, 2023
androidx.compose.compiler:compiler:1.4.7
, androidx.compose.compiler:compiler-daemon:1.4.7
, and androidx.compose.compiler:compiler-hosted:1.4.7
are released. Version 1.4.7 contains these commits.
New Features
- Support for Kotlin 1.8.21
- Added primitive versions of the
State
API, allowing Int, Long, Float, and Double values to be tracked inState
objects without incurring penalties for autoboxing.
Version 1.4.6
Version 1.4.6
April 19, 2023
androidx.compose.compiler:compiler:1.4.6
, androidx.compose.compiler:compiler-daemon:1.4.6
, and androidx.compose.compiler:compiler-hosted:1.4.6
are released. Version 1.4.6 contains these commits.
Bug Fixes
- Compose Compiler now depends on Java11 (instead of Java17 required by Compose Compiler version 1.4.5) to better support users who are still using older versions of Java.
Version 1.4.5
Version 1.4.5
April 12, 2023
androidx.compose.compiler:compiler:1.4.5
, androidx.compose.compiler:compiler-daemon:1.4.5
, and androidx.compose.compiler:compiler-hosted:1.4.5
are released. Version 1.4.5 contains these commits.
NOTE This build of Compose Compiler requires your build environment to use Java 17+. Based on user feedback, we will drop this requirement back to Java 11 and follow-up with another release (1.4.6) to better support users who are using older Java versions.
New Features
Support for Kotlin 1.8.20
Bug Fixes
- Propagate requirement of composable invoke operator override to classes and interfaces that are extending lambda interfaces with corresponding annotations.f8f2f78a1a769c2373201027f12700e772e4e97e
- Allows usage of
@Composable
annotation ongetValue
operator and marks generated getter for delegate as composable in IR to ensure it is correctly transformed later. f174f6ee60ca957d5cb6d19a5bd02a88267cdf40 - Fix internal compose runtime error (Expected
applyChanges()
to have been called) for inline functions.b/274786923 - Avoid capturing
ProcessCancelledException
as it has a special meaning in the IDE.b/274725600
External Contribution
- Improved support for Composable functions in Kotlin/Native.f52b6aeed22400dd4f4a4f05559a9aa42642402c
Version 1.4.4
Version 1.4.4
March 22, 2023
androidx.compose.compiler:compiler:1.4.4
, androidx.compose.compiler:compiler-daemon:1.4.4
, and androidx.compose.compiler:compiler-hosted:1.4.4
are released. Version 1.4.4 contains these commits.
Bug Fixes
- Fix Composable inline lambda returns (72172b)
- Allow composables to return
Nothing
(Do not generate an error when using TODO in a composable function) 3aea8d)
Version 1.4.3
Version 1.4.3
February 22, 2023
androidx.compose.compiler:compiler:1.4.3
is released. Version 1.4.3 contains these commits.
Bug Fixes
- Fixes conditional composable calls in arguments of composable calls (Ie93edb)
Version 1.4.2
Version 1.4.2
February 8, 2023
androidx.compose.compiler:compiler:1.4.2
is released. Version 1.4.2 contains these commits.
New Features
- Support for Kotlin 1.8.10
Bug Fixes
- Add groups in the body of unskippable lambdas to avoid recomposition bug.
Version 1.4.1
Version 1.4.1
February 8, 2023
androidx.compose.compiler:compiler:1.4.1
is released. Version 1.4.1 contains these commits.
Bug Fixes
- Disable intrinsic remember optimization which had previously introduced a few code generation bugs.
- Disable intrinsic remember in functions containing a vararg parameter.
- Fix erroneous skipping in composables with default parameters
- Add defensive fallback error message if checking Kotlin compatibility fails.
- Remove skipping code generation from inline lambda
Version 1.4.0
January 17, 2023
androidx.compose.compiler:compiler:1.4.0
is released. Version 1.4.0 contains these commits.
Important changes since 1.3.0
- Support for Kotlin 1.8.0
- Turned off intrinsic remember
- The ui tooling data class
Group
now has a field,isInline
, that indicates if the group is for a call to an inline composable function. IfisInline
istrue
then the call is to an inline composable function. However, the value might be false for calls to inline composable functions that are from modules that are compiled with a version of the compose compiler plugin that doesn't generate the inline function information. ImmutableCollection
and their Persistent siblings are now considered stable.- New param in
AnimatedContent
for tooling label - Fixed faulty code generation for inline lambda
Version 1.4.0-alpha02
November 11, 2022
androidx.compose.compiler:compiler:1.4.0-alpha02
is released. Version 1.4.0-alpha02 contains these commits.
New Features
- Added support for Kotlin
1.7.21
Version 1.4.0-alpha01
November 9, 2022
androidx.compose.compiler:compiler:1.4.0-alpha01
is released. Version 1.4.0-alpha01 contains these commits.
Bug Fixes
- Fix ability to return early from inline composable functions (b/255350755)
- Fix bug in decoy lowering which broke Kotlin/JS support in Compose (6a40f8).
Version 1.3
Version 1.3.2
October 4, 2022
androidx.compose.compiler:compiler:1.3.2
is released. Version 1.3.2 contains these commits.
New Feature
- This version includes an update to Kotlin 1.7.20
Version 1.3.1
September 7, 2022
androidx.compose.compiler:compiler:1.3.1
is released. Version 1.3.1 contains these commits.
Bug Fixes
- Fix
IllegalStateException
where Compose Compiler was erroneously marking unit types as composable in some circumstances. (b/237863365) - Users must now specify their preferred Kotlin version when suppressing compiler version check (I9e5e2)
Version 1.3.0
August 10, 2022
androidx.compose.compiler:compiler:1.3.0
is released. Version 1.3.0 contains these commits.
Version 1.3.0-rc02
August 3, 2022
androidx.compose.compiler:compiler:1.3.0-rc02
is released. Version 1.3.0-rc02 contains these commits.
Version 1.3.0-rc01
July 27, 2022
androidx.compose.compiler:compiler:1.3.0-rc01
is released. Version 1.3.0-rc01 contains these commits.
Version 1.3.0-beta01
July 20, 2022
androidx.compose.compiler:compiler:1.3.0-beta01
is released. Version 1.3.0-beta01 contains these commits.
New Features
- Added support for Kotlin
1.7.10
Version 1.2
Version 1.2.0
June 29, 2022
androidx.compose.compiler:compiler:1.2.0
is released. Version 1.2.0 contains these commits.
Important changes since 1.1.0
- Support for Kotlin 1.7.0
- Check out our blog post explaining our new Compose Compiler Versioning strategy in Compose.
Version 1.2.0-rc02
June 22, 2022
androidx.compose.compiler:compiler:1.2.0-rc02
is released. Version 1.2.0-rc02 contains these commits.
Bug Fixes
- Removed composable Trace Event code generation (aosp/2127922)
Version 1.2.0-rc01
June 15, 2022
androidx.compose.compiler:compiler:1.2.0-rc01
is released. Version 1.2.0-rc01 contains these commits.
Version 1.2.0-beta03
June 1, 2022
androidx.compose.compiler:compiler:1.2.0-beta03
is released. Version 1.2.0-beta03 contains these commits.
Version 1.2.0-beta02
May 18, 2022
androidx.compose.compiler:compiler:1.2.0-beta02
is released. Version 1.2.0-beta02 contains these commits.
Version 1.2.0-beta01
May 11, 2022
androidx.compose.compiler:compiler:1.2.0-beta01
is released. Version 1.2.0-beta01 contains these commits.
- This is the first beta release of 1.2! There are no changes since the last alpha.
New Features
- Added support for Kotlin
1.6.21
Version 1.2.0-alpha08
April 20, 2022
androidx.compose.compiler:compiler:1.2.0-alpha08
is released. Version 1.2.0-alpha08 contains these commits.
Version 1.2.0-alpha07
April 6, 2022
androidx.compose.compiler:compiler:1.2.0-alpha07
is released. Version 1.2.0-alpha07 contains these commits.
Version 1.2.0-alpha06
March 23, 2022
androidx.compose.compiler:compiler:1.2.0-alpha06
is released. Version 1.2.0-alpha06 contains these commits.
Version 1.2.0-alpha05
March 9, 2022
androidx.compose.compiler:compiler:1.2.0-alpha05
is released. Version 1.2.0-alpha05 contains these commits.
Version 1.2.0-alpha04
February 23, 2022
androidx.compose.compiler:compiler:1.2.0-alpha04
is released. Version 1.2.0-alpha04 contains these commits.
Version 1.2.0-alpha03
February 9, 2022
androidx.compose.compiler:compiler:1.2.0-alpha03
is released. Version 1.2.0-alpha03 contains these commits.
Version 1.2.0-alpha02
January 26, 2022
androidx.compose.compiler:compiler:1.2.0-alpha02
is released. Version 1.2.0-alpha02 contains these commits.
Version 1.2.0-alpha01
January 12, 2022
androidx.compose.compiler:compiler:1.2.0-alpha01
is released. Version 1.2.0-alpha01 contains these commits.
New Features
- Added support for Kotlin
1.6.10
.
Version 1.1
Version 1.1.1
February 23, 2022
androidx.compose.compiler:compiler:1.1.1
is released. Version 1.1.1 contains these commits.
Bug Fixes
- Fix
NullPointerException
atandroidx.compose.ui.platform.RenderNodeLayer.updateDisplayList
(aosp/1947059, b/206677462) - Fix crash caused by clipboard content while reading from clipboard on Android. (I06020, b/197769306)
- Fixed RTL in
LazyVerticalGrid
(aosp/1931080, b/207510535)
Version 1.1.0
February 9, 2022
androidx.compose.compiler:compiler:1.1.0
is released. Version 1.1.0 contains these commits.
Important changes since 1.0.0
- Stable support for the Android 12 Overscroll effect
- Improvements to touch target sizing
- Note that, with respect to Compose 1.0, Material components will expand their layout space to meet Material accessibility guidelines for touch target size. For instance, Button touch target will expand to a minimum size of
48x48dp
, even if you set the Button's size to be smaller. This aligns Compose Material to the same behavior of Material Design Components, providing consistent behavior if you mix Views and Compose. This change also ensures that when you create your UI using Compose Material components, minimum requirements for touch target accessibility will be met. - Stable support for Navigation Rail
- Graduates a number of previously experimental APIs to stable
- Support for newer versions of Kotlin
Version 1.1.0-rc03
January 26, 2022
androidx.compose.compiler:compiler:1.1.0-rc03
is released. Version 1.1.0-rc03 contains these commits.
Bug Fixes
- Updated to support Compose Material 1.1.0-rc03
Version 1.1.0-rc02
December 16, 2021
androidx.compose.compiler:compiler:1.1.0-rc02
is released. Version 1.1.0-rc02 contains these commits.
Dependency updates
- Compose Compiler
1.1.0-rc02
is compatible with Kotlin1.6.10
.
Version 1.1.0-rc01
December 15, 2021
androidx.compose.compiler:compiler:1.1.0-rc01
is released. Version 1.1.0-rc01 contains these commits.
Dependency changes
- Compose Compiler
1.1.0-rc01
is compatible with Kotlin1.6.0
. A compatible
1.6.10
build is available through androidx.dev SNAPSHOTs withbuildId
8003490. The following dependency snippet will configure SNAPSHOTs for the Compose Compiler:Add the following snippet to the root
build.gradle
file for your project:buildscript { repositories { google() jcenter() maven { url 'https://androidx.dev/snapshots/builds/8003490/artifacts/repository' } } }
Add the following snippet to the
build.gradle
file for your app or module that uses Compose:android { composeOptions { kotlinCompilerExtensionVersion = "1.2.0-SNAPSHOT" } }
Version 1.1.0-beta04
December 1, 2021
androidx.compose.compiler:compiler:1.1.0-beta04
is released. Version 1.1.0-beta04 contains these commits.
New Features
- Updated to be compatible with Kotlin
1.6.0
Version 1.1.0-beta03
November 17, 2021
androidx.compose.compiler:compiler:1.1.0-beta03
is released. Version 1.1.0-beta03 contains these commits.
Version 1.1.0-beta02
November 3, 2021
androidx.compose.compiler:compiler:1.1.0-beta02
is released. Version 1.1.0-beta02 contains these commits.
Version 1.1.0-beta01
October 27, 2021
androidx.compose.compiler:compiler:1.1.0-beta01
is released. Version 1.1.0-beta01 contains these commits.
Version 1.1.0-alpha06
October 13, 2021
androidx.compose.compiler:compiler:1.1.0-alpha06
is released. Version 1.1.0-alpha06 contains these commits.
Version 1.1.0-alpha05
September 29, 2021
androidx.compose.compiler:compiler:1.1.0-alpha05
is released. Version 1.1.0-alpha05 contains these commits.
Version 1.1.0-alpha04
September 15, 2021
androidx.compose.compiler:compiler:1.1.0-alpha04
is released. Version 1.1.0-alpha04 contains these commits.
Version 1.1.0-alpha03
September 1, 2021
androidx.compose.compiler:compiler:1.1.0-alpha03
is released. Version 1.1.0-alpha03 contains these commits.
New Features
- The Compose Compiler now supports older versions of the Compose Runtime (1.0). Prior to this change, the Compose Compiler was only compatible with the Compose Runtime of the same version or later. After this change, the Compose Compiler is compatible with an older version of the Compose Runtime (1.0). (aosp/1796968)
- Updated Compose
1.1.0-alpha03
to depend on Kotlin1.5.30
. (I74545)
Version 1.1.0-alpha02
August 18, 2021
androidx.compose.compiler:compiler:1.1.0-alpha02
is released. Version 1.1.0-alpha02 contains these commits.
Version 1.1.0-alpha01
August 4, 2021
androidx.compose.compiler:compiler:1.1.0-alpha01
is released. Version 1.1.0-alpha01 contains these commits.
Version 1.0
Version 1.0.5
November 3, 2021
androidx.compose.compiler:compiler:1.0.5
is released. Version 1.0.5 contains these commits.
Bug Fixes
- Fixed a crash tracking derivedStateOf instances. (aosp/1792247)
Version 1.0.4
October 13, 2021
androidx.compose.compiler:compiler:1.0.4
is released. Version 1.0.4 contains these commits.
Dependency Updates
- Updated to depend on Kotlin
1.5.31
Version 1.0.3
September 29, 2021
androidx.compose.compiler:compiler:1.0.3
is released. Version 1.0.3 contains these commits.
Dependency Updates
- Updated to depend on Kotlin
1.5.30
Version 1.0.2
September 1, 2021
androidx.compose.compiler:compiler:1.0.2
is released. Version 1.0.2 contains these commits.
Updated to support the Compose 1.0.2
release. Compose 1.0.2
is still compatible with Kotlin 1.5.21
.
Version 1.0.1
August 4, 2021
androidx.compose.compiler:compiler:1.0.1
is released. Version 1.0.1 contains these commits.
Dependency Updates
- Updated to depend on Kotlin
1.5.21
.
Version 1.0.0
July 28, 2021
androidx.compose.compiler:compiler:1.0.0
is released. Version 1.0.0 contains these commits.
Major features of 1.0.0
This is the first stable release of Compose. Please see the official Compose Release blog for more details!
Version 1.0.0-rc02
July 14, 2021
androidx.compose.compiler:compiler:1.0.0-rc02
is released. Version 1.0.0-rc02 contains these commits.
Version 1.0.0-rc01
July 1, 2021
androidx.compose.compiler:compiler:1.0.0-rc01
is released. Version 1.0.0-rc01 contains these commits.
Version 1.0.0-beta09
June 16, 2021
androidx.compose.compiler:compiler:1.0.0-beta09
is released. Version 1.0.0-beta09 contains these commits.
Version 1.0.0-beta08
June 2, 2021
androidx.compose.compiler:compiler:1.0.0-beta08
is released. Version 1.0.0-beta08 contains these commits.
Version 1.0.0-beta07
May 18, 2021
androidx.compose.compiler:compiler:1.0.0-beta07
is released. Version 1.0.0-beta07 contains these commits.
Version 1.0.0-beta06
May 5, 2021
androidx.compose.compiler:compiler:1.0.0-beta06
is released. Version 1.0.0-beta06 contains these commits.
Version 1.0.0-beta05
April 21, 2021
androidx.compose.compiler:compiler:1.0.0-beta05
is released. Version 1.0.0-beta05 contains these commits.
Version 1.0.0-beta04
April 7, 2021
androidx.compose.compiler:compiler:1.0.0-beta04
is released. Version 1.0.0-beta04 contains these commits.
Version 1.0.0-beta03
March 24, 2021
androidx.compose.compiler:compiler:1.0.0-beta03
is released. Version 1.0.0-beta03 contains these commits.
Version 1.0.0-beta02
March 10, 2021
androidx.compose.compiler:compiler:1.0.0-beta02
is released. Version 1.0.0-beta02 contains these commits.
Version 1.0.0-beta01
February 24, 2021
androidx.compose.compiler:compiler:1.0.0-beta01
is released. Version 1.0.0-beta01 contains these commits.
This is the first release of Compose 1.0.0 Beta.
Version 1.0.0-alpha12
February 10, 2021
androidx.compose.compiler:compiler:1.0.0-alpha12
is released. Version 1.0.0-alpha12 contains these commits.
Version 1.0.0-alpha11
January 28, 2021
androidx.compose.compiler:compiler:1.0.0-alpha11
is released. Version 1.0.0-alpha11 contains these commits.
Version 1.0.0-alpha10
January 13, 2021
androidx.compose.compiler:compiler:1.0.0-alpha10
is released. Version 1.0.0-alpha10 contains these commits.
Version 1.0.0-alpha09
December 16, 2020
androidx.compose.compiler:compiler:1.0.0-alpha09
is released. Version 1.0.0-alpha09 contains these commits.
Version 1.0.0-alpha08
December 2, 2020
androidx.compose.compiler:compiler:1.0.0-alpha08
is released. Version 1.0.0-alpha08 contains these commits.
Version 1.0.0-alpha07
November 11, 2020
androidx.compose.compiler:compiler:1.0.0-alpha07
is released. Version 1.0.0-alpha07 contains these commits.
New Features
- Stability Inference & Propagation. The Compose Compiler Plugin will analyze types it compiles to infer whether or not it is eligible for certain optimizations by the runtime. This inferred result is then synthesized as metadata onto the class to be utilized by the compiler in other modules. Furthermore, the runtime result of these inferences is passed along in metadata passed to composable calls during composition. This necessitated a different metadata protocol for composable functions, which means that composable functions compiled with the alpha07 compiler will not be binary compatible with composable functions compiled with any earlier compiler version. (aosp/1431988)
Version 1.0.0-alpha06
October 28, 2020
androidx.compose.compiler:compiler:1.0.0-alpha06
is released. Version 1.0.0-alpha06 contains these commits.
Version 1.0.0-alpha05
October 14, 2020
androidx.compose.compiler:compiler:1.0.0-alpha05
is released. Version 1.0.0-alpha05 contains these commits.
Version 1.0.0-alpha04
October 1, 2020
androidx.compose.compiler:compiler:1.0.0-alpha04
is released. Version 1.0.0-alpha04 contains these commits.
androidx.compose:compose-compiler
has been refactored to androidx.compose.compiler:compiler
.
This is the first release in the new group.