Skip to content

0.13.0

Latest

Choose a tag to compare

@lwj1994 lwj1994 released this 28 Oct 05:30
· 1 commit to main since this release

Added

  • AppleViewModelLintFix command plugin (swift package apple-view-model-fix)
    and a scanner --fix mode apply safe fixes: a stored or lazy resolved
    property becomes a computed property, and an aliveForever spec gets a key
    named after its variable.

Fixed

  • NSObject.viewModelBinding installs a fresh binding when the previous one was
    disposed ahead of the host, instead of handing out a disposed binding whose
    next resolution traps.
  • Document the refresh contract of ViewModelBinding.onUpdate and
    ViewModelBindingRefreshable (a coalesced request whose read must be
    deferred), and the cooperative-cancellation caveat for viewModelBinding
    access after await in taskScope Tasks.