Releases: square/workflow-kotlin
Releases · square/workflow-kotlin
v1.22.0
What's Changed
- Make Logging Utils Public by @steve-the-edwards in #1408
 - Move UncaughtExceptionGuard into workflow-testing by @steve-the-edwards in #1409
 
Full Changelog: v1.21.0...v1.22.0
v1.21.0
Please do not use, wait for 1.22.0
The workflow-testing artifact is broken in this publication because we stopped publishing internal-testing-utils, which it relies on.
What's Changed
- Introduces Activity.workflowContentView, workflowContentViewOrNull by @rjrjr in #1336
 - 1338: Clean up caches after WorkflowNode torn down by @steve-the-edwards in #1339
 - 1340: Changing 
RenderContextfrom an inner class to a nested class with its own generics by @steve-the-edwards in #1341 - 1337: Cache 
StatelessWorkflow.RenderContextin theStatefulWorkflow.RenderContextby @steve-the-edwards in #1342 - Workflow visualizer prototype by @wenli-cai in #1335
 - 1314: Update Sonatype Central Secrets by @steve-the-edwards in #1321
 - Improve workflow visualizer functionality by @wenli-cai in #1343
 - Exception reporter disentangling for Android UI code by @rjrjr in #1345
 - Use workflow-pr-fixer app for Token Auth on fixup commits by @steve-the-edwards in #1348
 - Updated ComposeScreen idioms in samples. by @rjrjr in #1349
 - Persist checkout credentials for push by @steve-the-edwards in #1351
 - 1311: Dispatcher Tests for RenderWorkflowIn on Android by @steve-the-edwards in #1350
 - Move non-ui Android RenderWorkflow concerns to workflow-runtime-android by @steve-the-edwards in #1352
 - 1311:Use Compose's AndroidUiDispatcher.Main to conflate actions in runtime. by @steve-the-edwards in #1353
 - Migrate Parametrized Tests to Burst by @steve-the-edwards in #1354
 - Update code snippets in the tutorials by @BKinya in #1362
 - Workflow visualizer prototype by @wenli-cai in #1363
 - DRAIN_EXCLUSIVE_ACTIONS implementation by @steve-the-edwards in #1355
 - Introduce WorkStealingDispatcher. by @zach-klippenstein in #1364
 - Make RenderingProduced not a value class. by @zach-klippenstein in #1372
 - Workflow visualizer UI improvement by @wenli-cai in #1366
 - Workflow Visualizer UX improvements by @wenli-cai in #1367
 - Move workflow-runtime-android into android source set in workflow-runtime module. by @zach-klippenstein in #1370
 - Move SnapshotParcels.kt to workflow-core. by @zach-klippenstein in #1373
 - Update API Design Link Syntax in README File by @theck13 in #1376
 - Revert two recent PRs that add KMP android source sets by @zach-klippenstein in #1378
 - Use WorkStealingDispatcher in runtime, behind a flag. by @zach-klippenstein in #1365
 - Fix workflow freezing thread safety. by @zach-klippenstein in #1375
 - replace deprecated 
gradle/wrapper-validation-actionwithgradle/actions/wrapper-validationby @RBusarow in #1283 - Update actions/upload-artifact digest to ea165f8 by @renovate[bot] in #1279
 - Update actions/setup-java digest to c5195ef - autoclosed by @renovate[bot] in #1278
 - Remove Compose Dependency from Android Runtime by @steve-the-edwards in #1379
 - Update mikepenz/action-junit-report digest to db71d41 by @renovate[bot] in #1281
 - Update gradle/gradle-build-action digest to ac2d340 by @renovate[bot] in #1258
 - Stream emulator data into workflow visualizer app by @wenli-cai in #1374
 - 1319: Use Dokka Plugin v2 by @steve-the-edwards in #1383
 - Update reactivecircus/android-emulator-runner digest to 1dcd009 by @renovate[bot] in #1389
 - Update gradle/actions digest to ac638b0 by @renovate[bot] in #1388
 - Update actions/cache digest to 5a3ec84 by @renovate[bot] in #1387
 - Update Compose BOM by @steve-the-edwards in #1390
 - Update Coroutines to 1.9 by @steve-the-edwards in #1396
 - Update actions/checkout action to v4.2.2 by @renovate[bot] in #1394
 - Pin dependencies by @renovate[bot] in #1386
 - Fix PhoneWindow.superDispatchTouchEvent NullPointerException by @tcmulcahy in #1402
 - Update Tutorial Documentation Code Samples and Typographical Errors by @theck13 in #1401
 - Update to Kotlin 2.1.21 and Compiler Plugins; compileSdk 36; AGP 1.11.1;… by @steve-the-edwards in #1395
 - Upstreaming Runtime Monitoring and Tracing by @steve-the-edwards in #1406
 - Follow-up cleanups from Runtime Tracing Upstream by @steve-the-edwards in #1407
 
New Contributors
- @wenli-cai made their first contribution in #1335
 - @BKinya made their first contribution in #1362
 - @theck13 made their first contribution in #1376
 - @tcmulcahy made their first contribution in #1402
 
Full Changelog: v1.20.0...v1.21.0
v1.20.0
What's Changed
- Modernize tutorials by @rjrjr in #1316
 - Fix /design-docs/*.md lint errors by @lucamtudor in #1334
 - Publish compose-based-workflows-design.md and related docs. by @zach-klippenstein in #1332
 - Give EnvironmentScreen a toString to help when debugging. by @zach-klippenstein in #1330
 - Revert "Update expectRemember to provide result" by @rjrjr in #1333
 
New Contributors
- @lucamtudor made their first contribution in #1334
 
Full Changelog: v1.19.0...v1.20.0
v1.19.0
What's Changed
- Completes our navigation story by @rjrjr in #1313
 - Tweak to default 
onNavigate()by @rjrjr in #1315 - 1318: Update to Kotlin 2.1.20 by @steve-the-edwards in #1320
 - Kotlin 2.0.21 & Return 'out RenderingT' variance by @steve-the-edwards in #1328
 - Add expectCovariantWorkflow for expecting via workflow classes that have generics by @steve-the-edwards in #1329
 - Update expectRemember to provide a result by @steve-the-edwards in #1331
 
New Contributors
- @wardellbagby made their first contribution in #1322
 
Full Changelog: v1.18.0...v1.19.0
v1.18.0
v1.17.0
What's Changed
- Update CSR to yield() and update tests by @steve-the-edwards in #1294
 - Pass Rendering if any Conflations changed state by @steve-the-edwards in #1296
 - Add an extension on 
TextControllerthat returns a mutable state ofTextFieldValueby @darshanparajuli in #1299 - Better crash reporter error grouping from RenderContext assertions by @rjrjr in #1302
 - Improves the error message thrown by 
remember()for duplicates. by @rjrjr in #1303 - Add Interceptor Methods for Skip and Update Rendering by @steve-the-edwards in #1297
 - CSR pass old rendering, do not render again if can skip by @steve-the-edwards in #1306
 
Full Changelog: v1.16.1...v1.17.0
v1.16.1
v1.16.0
v1.15.0
v1.14.0
What's Changed
We're no longer pretending that this is beta software, and quite a bit has changed since v1.7.1.
If you've been using the betas, the interesting change since v1.13.0-beta2 is the introduction of stable eventHandler:
- BREAKING Introduces 
BaseRenderContext.rememberand stableeventHandlers. by @rjrjr in #1267 - Adds 
STABLE_EVENT_HANDLERSto runtime config tools, CI by @rjrjr in #1270 
Here's a sampling of what else has happened in the meantime:
- Introduces Screen, WithEnvironment : Screen. Deprecates ViewFactory by @rjrjr in #577
 - Renames WithEnvironment to EnvironmentScreen. by @rjrjr in #587
 - Introduces Overlay, and its first uses: BodyAndModalsScreen, AlertOverlay by @rjrjr in #588
 - Introduces ScreenOverlay and ModalScreenOverlayDialogFactory by @rjrjr in #595
 - Brings ViewStarter to the UI update. by @rjrjr in #620
 - Simpler, safer ViewEnvironment and ViewRegistry management. by @rjrjr in #630
 - Introduces ScreenViewFactoryFinder by @rjrjr in #625
 - Undoes port of AlertContainerScreen to Screen by @rjrjr in #629
 - Simpler, safer ViewEnvironment and ViewRegistry management. by @rjrjr in #631
 - Overhaul of Compose support. by @rjrjr in #689
 - Introduces OverlayDialogFactoryFinder by @rjrjr in #690
 - rememberPreview... by @rjrjr in #692
 - ScreenViewHolder replaces View.* extensions and DecorativeViewFactory by @rjrjr in #712
 - Hello ModalScreenOverlay by @rjrjr in #726
 - Fixes BackStackContainer view persistence by @rjrjr in #730
 - Adds EnvironmentScreenLegacyViewFactory. by @rjrjr in #732
 - More consistent use of Compatible.keyFor by @rjrjr in #734
 - Introduces ViewEnvironmentKey.combine, makes ViewRegistry use it. by @rjrjr in #737
 View.environmentOrNull,View.screenOrNull. by @rjrjr in #742- Pt. 1: Migrate :workflow-core and :workflow-runtime to kmp gradle plugin by @bnvinay92 in #793
 - Convert :workflow-core to kmp by @bnvinay92 in #797
 - Convert :workflow-runtime to KMM by @bnvinay92 in #799
 - Introduces 
ScreenViewFactory.forWrapperby @rjrjr in #805 - More flexible modality. by @rjrjr in #808
 - Makes 
OverlayDialogFactorymore consistent withScreenViewFactory. by @rjrjr in #809 - Simpler, better back button handling. by @rjrjr in #843
 - Reuse RenderContext; unfreeze before rendering by @steve-the-edwards in #850
 - Add KMP target for iosSimulatorArm64 by @bnvinay92 in #854
 - Add js target by @hujim in #887
 - Cache WorkflowIdentifier by @steve-the-edwards in #911
 - Close dialogs even if the managing view is never attached. by @rjrjr in #941
 - Add interceptor methods: onNextRendering, onSnapshotTree by @pyricau in #952
 - Provide optional collectionContext for WorkflowLayout.take by @steve-the-edwards in #964
 - Extracts 
ScreenViewFactory.mapfromScreenViewFactory.forWrapperby @rjrjr in #975 - Introduces 
DialogCollatorby @rjrjr in #981 - Eliminates the useless 
typeproperty fromViewEnvironmentKey. by @rjrjr in #999 - Do not show 
Dialogs beforeActivitycontent view is attached. by @rjrjr in #1003 - Add RuntimeConfig through to WorkflowSession in Interceptor by @steve-the-edwards in #1018
 - Add CoroutineScope to initialState; SessionWorkflow to aid rollout by @steve-the-edwards in #1106
 - Makes 
BackStackScreen<*>practical by @rjrjr in #1121 - BREAKING: Stop stomping 
View.layoutParams, new parameter forreplaceViewInParentby @rjrjr in #1135 - Add testRender with CoroutineScope for SessionWorkflow by @steve-the-edwards in #1141
 - Fix what bounds gets reported in layered dialog sessions by @ekeitho in #1155
 - BREAKING: container > navigation by @rjrjr in #1154
 - Document how WorkflowAction can delegate by @rjrjr in #1156
 - BREAKING: 🔥 Delete all the deprecated things. by @rjrjr in #1119
 - BREAKING: Replaces 
ComposeScreenViewFactorywithScreenComposableFactoryby @rjrjr in #1146 - Makes 
CoveredByModalpublic. by @rjrjr in #1201 - Stop pretending everyone implements view state right. by @rjrjr in #1202
 - BREAKING: Compose overhaul makes ViewEnvironment less in your face. by @rjrjr in #1207
 - BREAKING: Renames 
BackStackConfig.OthertoCanGoBackby @rjrjr in #1214 - Return the 
JobfromWorkflowLayout.takeso it can be canceled. by @rjrjr in #1219 - Introduces 
BackStackScreen.nameby @rjrjr in #1220 action {},eventHandler {}with no debugging name is deprecated by @rjrjr in #1226- Introduces 
SavedStateHandle.removeWorkflowState()by @rjrjr in #1227 - Deprecates the name-optional flavor of 
StatelessWorkflow.actionby @rjrjr in #1229 - Add public 
debuggingNametoWorkflowAction, use it in defaulttoString()by @steve-the-edwards in #1232 - Ensure Correct SavedStateRegistryOwner Propagation in asComposableFactory by @ekeitho in #1233
 - Refactor to ComposeLifecycleOwner for Better Lifecycle Synchronization by @ekeitho in #1234
 - Remove Deprecated Worker, eventHandler, and action APIs by @steve-the-edwards in #1237
 - Add WorkflowTracer Through some Runtime Internals by @steve-the-edwards in #1240
 - Pipe Worker Output Action Names by @steve-the-edwards in #1241
 - 1249: Cache Intercepted Workflow Instance by @steve-the-edwards in #1250
 - 988: Cache RenderContext per instance by @steve-the-edwards in #1251
 - Make Flow.collectToSink public. by @zach-klippenstein in #1261
 - Fix Conflate Stale Rendering Logic for Short Circuit by @steve-the-edwards in #1263
 - 1247: Partial Tree Rerendering by @steve-the-edwards in #1248
 - BREAKING Introduces 
BaseRenderContext.rememberand stableeventHandlers. by @rjrjr in #1267 - Adds 
STABLE_EVENT_HANDLERSto runtime config tools, CI by @rjrjr in #1270 
New Contributors
- @tyler-higashi made their first contribution in #820
 - @sapuglha made their first contribution in #829
 - @6879756e made their first contribution in #869
 - @hujim made their first contribution in #887
 - @tom-pratt made their first contribution in #906
 - @EtherBit made their first contribution in #901
 - @renovate made their first contribution in #921
 - @pyricau made their first contribution in #952
 - @RotBolt made their first contribution in #1032
 - @crocsandcoffee mad...