github JetBrains/compose-hot-reload v1.1.0-alpha03

10 hours ago

Release summary

  • We introduced a new re-initialisation mode for static variables. Enable it by setting compose.reload.staticsReinitializeMode=AllDirty and share your feedback!
  • We sped up incremental compilation times when compose.reload.gradle.build.optimize is enabled
  • We added support for TableSwitch and LookupSwitch instructions in the bytecode analysis
  • We optimised memory consumption of the hot reload agent in the runtime
  • Simplified support for Gradle isolated projects by @simonlebras 🎉

Gradle

  • 020df3b Simplified support for isolated projects
    • Isolated projects are now correctly handled without the need to explicitly set a flag
    • compose.reload.isolatedProjectsEnabled is now deprecated and will be removed in the future
  • 5a94395 Enable IC for KMP when compose.reload.gradle.build.optimize is set

Analysis

  • 2241fbf Introduce AllDirty mode for statics re-initialisation
    • By default compose.reload.staticsReinitializeMode=ChangedOnly, only statics of the changed class are re-initialised
    • With compose.reload.staticsReinitializeMode=AllDirty, all static variables that are marked as dirty are re-initialised
  • b871ebe [runtime] memory optimisations
    • Introduce custom interning for string constants
    • Optimise collections in MutableApplciationInfo
    • methodDependencies and fieldDependencies properties of the ScopeInfo are now deprecated. Use methodDependenciesList and fieldDependenciesList instead
  • 16b1547 Support TableSwitch and LookupSwitch instructions
    • These instruction are now correctly parsed into the InstructionTree and ScopeInfo

Don't miss a new compose-hot-reload release

NewReleases is sending notifications on new releases.