Repository navigation
CodeAssist 3.18.2
🚀 CodeAssist 3.18.2
COMPOSE PREVIEW
- A lambda passed to a generic parameter no longer breaks the preview.
rememberUpdatedState(onClick),mutableStateOf(callback)or a lambda stored in a list used to stop the render with "java.lang.Object is not an interface"; the value now travels through and comes back callable. - A non-local
returninside a lambda handed toCanvas,Layout, a comparator or aLaunchedEffectbody ends that lambda, as compiled code would, instead of failing the render. - Reading a property off a boxed value class works:
color.alphaon aState<Color>value,LocalContentColor.currentand defaulted parameters used to report "no readable property". WindowInsets.navigationBarsand the other inset accessors, which Compose declares on a companion object, render instead of reporting "no readable property".buildList { add(x) }and other calls whose receiver type comes from a generic signature resolve.runCatchingandResult,toCharArray,toDouble/toFloaton aCharSequence, and the named arithmetic operators are interpreted.
KOTLIN
when (this) { is Circle -> radius() }now narrowsthis, in the editor and in the preview alike.import androidx.compose.material.icons.filled.Addwas reported unresolved because the import names an extension property with a capitalized name. Since 3.14 an unresolved import also refused every preview in the file, so the whole Material icon family blocked previews.return@labelreturns from the lambda it names, not from the enclosing function.
DEPENDENCIES
- A dependency that takes its scope from
dependencyManagementkeeps that scope.com.google.zxing:android-coreused to pull a 2012android.jarand seven legacy jars onto the classpath, where they shadowed the real framework and every androidx supertype failed with "Cannot access 'androidx.core.app.ComponentActivity'". A project that already resolved under the old rule re-resolves once.
PROJECTS STORE
- Publishing a new version of a project you already listed goes to that listing instead of creating a duplicate, can change its title, summary, description, category and tags (a reviewer sees the change as was/now), and keeps the screenshots you already published unless you replace them.
- "Your project is live" no longer fires for the previous version seconds after you submit a new one.
- A refused or withdrawn submission can be deleted, which also frees its slot in the ten-listing quota.
- Installing a project from the store no longer brings along the publisher's resolved-dependency files, which left every Compose symbol unresolved with no way to repair the project. Listings published before this fix are cleaned on install.
Full changelog: https://github.com/tyron12233/CodeAssist/releases/tag/v3.18.2