Skip to content

v0.23.11

Choose a tag to compare

@cyberchronos00 cyberchronos00 released this 19 Oct 12:02
· 5 commits to main since this release

Added

  • cg roundtrip --all (MCP roundtrip(prop="")): every stored property in one pass, listing only the round trips.
    About 1 s on a 5,000-field iOS app, where one call per property took minutes (#233).
  • Compose state in a local delegate (var count by remember { mutableIntStateOf(0) }, by rememberSaveable { },
    by mutableStateOf(), by vm.state.collectAsStateWithLifecycle(), by produceState) is a field:<function>.<name>
    node (property: state, hook, local) with READS_PROP / WRITES_PROP for bare uses in the function and its
    lambdas (#234).
  • Vue Options API templates: a bare {{ count }}, :title="label" or @click="count++" reads / writes the data()
    key (template: true); a v-for variable of that name does not (#234).

Changed

  • cg lint async-state: a call of a project Kotlin suspend function (val hits = repo.find(q) inside launch { })
    is an await point. incomplete-cache-key counts a Swift / Kotlin field used without self. / this. as an input,
    unless the function calls methods on it. two-writers treats a sentinel reset (= AsyncData.Loading(),
    = UiState.Idle) as a default (#233).