Releases: copper-leaf/ballast
Releases · copper-leaf/ballast
2.0.1
- Updates to Kotlin 1.7.10
- Updates Ktor to 2.1.0
- Updates other dependencies to latest versions
- Removes Debugger UI from IntelliJ plugin, so the that plugin can be republished without the Compose dependency, allowing the templating feature in the latest IntelliJ versions, at least
New/Updated Features
- Adds
BootstrapInterceptor
for sending an Input when the ViewModel is created, instead of making the UI send the initial Input InputStrategy
is now typed with the same type paramters as everything else in theDefaultViewModelConfiguration
- Some configuration DSL methods are deprecated:
builder.forViewModel()
should be replaced withbuilder.withViewModel().build()
BallastRepository
now takesBallastViewModelConfiguration
in its primary constructor instead ofBallastViewModelConfiguration.Builder
. Usebuilder.withRepository().build()
instead of the old constructor.
- Adds a configuration callback to
BallastSavedStateInterceptor
to allow user-specified buffering/filtering on the States as they are sent to be saved
2.0.0
- Updates to Kotlin 1.7.10
- Updates Ktor to 2.1.0
- Updates other dependencies to latest versions
- Removes Debugger UI from IntelliJ plugin, so the that plugin can be republished without the Compose dependency, allowing the templating feature in the latest IntelliJ versions, at least
New/Updated Features
- Adds
BootstrapInterceptor
for sending an Input when the ViewModel is created, instead of making the UI send the initial Input InputStrategy
is now typed with the same type paramters as everything else in theDefaultViewModelConfiguration
- Some configuration DSL methods are deprecated:
builder.forViewModel()
should be replaced withbuilder.withViewModel().build()
BallastRepository
now takesBallastViewModelConfiguration
in its primary constructor instead ofBallastViewModelConfiguration.Builder
. Usebuilder.withRepository().build()
instead of the old constructor.
- Adds a configuration callback to
BallastSavedStateInterceptor
to allow user-specified buffering/filtering on the States as they are sent to be saved
1.3.0
- Update IntelliJ Plugin to support 2022.1.4. It still cannot support 2022.2 or higher because it's blocked by the Compose plugin that it depends on, which does not support 2022.2 yet.
1.2.1
1.2.0
- Improvements to
AndroidViewModel
- Adds
attachEventHandler()
override which runs on aCoroutineScope
rather than aLifecycle
, which is better-suited for Compose EventHandlers - Adds
attachEventHandlerOnLifecycle()
to be more explicit about when the eventHandler is running on a Lifecycle - Original
attachEventHandler()
is now marked as deprecated, and should be replaced withattachEventHandlerOnLifecycle()
- Adds
observeStatesOnLifecycle()
method for more easily collecting states in XML-based Views
- Adds
1.1.0
- Many improvements to the Intellij plugin
- Allow Debugger to work with all
1.x.x
client versions - The Debugger's port can now be changed in the Preferences dialog
- File templates are now provided to quickly generate components from the
Right-click > New
menu - The values and errors show for inputs, events, states, and sideJobs in the debugger are now more nicely formatted
- Allow Debugger to work with all
1.0.0
- Ballast is now considered stable with its first 1.0.0 release!
- Adds Repository
fetchWithCache
function to observe a Flow rather than emit a one-shot data source - Adopt Flow/Coroutine adapters from KaMPKit instead of using home-grown ones
0.15.1
- Fix bug in IntelliJ plugin where settings were not being saved
- Removes "sample" from IntelliJ plugin, as that example and several more are available from the documentation site
0.15.0
- Fix several bugs in Debugger UI
- Kotlin coroutines versions were in conflict and crashing the debugger
- Timestamps not correctly reported once ViewModel was refreshed
- Connection Ballast Version not reported correctly once refreshed
- Adds new
ballast-saved-state
module - Adds
ballast-test
API for isolating a single input - Reverts Coroutines version back to 1.5.2. To use Ballast on iOS with the new memory model, manually include the 1.6.0 dependency
0.14.0
- Attempts to get iOS support working and documented, with M1 Simulator support