Skip to content

Releases: square/workflow-kotlin

v1.14.0

19 Mar 01:34
Compare
Choose a tag to compare

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.remember and stable eventHandlers. by @rjrjr in #1267
  • Adds STABLE_EVENT_HANDLERS to 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.forWrapper by @rjrjr in #805
  • More flexible modality. by @rjrjr in #808
  • Makes OverlayDialogFactory more consistent with ScreenViewFactory. 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.map from ScreenViewFactory.forWrapper by @rjrjr in #975
  • Introduces DialogCollator by @rjrjr in #981
  • Eliminates the useless type property from ViewEnvironmentKey. by @rjrjr in #999
  • Do not show Dialogs before Activity content 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 for replaceViewInParent by @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 ComposeScreenViewFactory with ScreenComposableFactory by @rjrjr in #1146
  • Makes CoveredByModal public. 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.Other to CanGoBack by @rjrjr in #1214
  • Return the Job from WorkflowLayout.take so it can be canceled. by @rjrjr in #1219
  • Introduces BackStackScreen.name by @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.action by @rjrjr in #1229
  • Add public debuggingName to WorkflowAction, use it in default toString() 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.remember and stable eventHandlers. by @rjrjr in #1267
  • Adds STABLE_EVENT_HANDLERS to runtime config tools, CI by @rjrjr in #1270

New Contributors

Read more

v1.13.0-beta2

06 Mar 22:05
Compare
Choose a tag to compare
v1.13.0-beta2 Pre-release
Pre-release

What's Changed

Full Changelog: v1.13.0-beta1...v1.13.0-beta2

v1.13.0-beta1

17 Dec 17:24
Compare
Choose a tag to compare
v1.13.0-beta1 Pre-release
Pre-release

What's Changed

Full Changelog: v1.12.1-beta18...v1.13.0-beta1

v1.12.1-beta18

25 Nov 21:47
Compare
Choose a tag to compare
v1.12.1-beta18 Pre-release
Pre-release

What's Changed

  • Ensure Correct SavedStateRegistryOwner Propagation in asComposableFactory by @ekeitho in #1233
  • Refactor to ComposeLifecycleOwner for Better Lifecycle Synchronization by @ekeitho in #1234

Full Changelog: v1.12.1-beta17...v1.12.1-beta18

v1.12.1-beta17

15 Nov 15:43
Compare
Choose a tag to compare
v1.12.1-beta17 Pre-release
Pre-release

What's Changed

  • Deprecates the name-optional flavor of StatelessWorkflow.action by @rjrjr in #1229
  • Add public debuggingName to WorkflowAction, use it in default toString() by @steve-the-edwards in #1232

Full Changelog: v1.12.1-beta16...v1.12.1-beta17

v1.12.1-beta16

05 Nov 20:41
Compare
Choose a tag to compare
v1.12.1-beta16 Pre-release
Pre-release

What's Changed

  • action {}, eventHandler {} with no debugging name is deprecated by @rjrjr in #1226
  • Introduces SavedStateHandle.removeWorkflowState() by @rjrjr in #1227

Full Changelog: v1.12.1-beta15...v1.12.1-beta16

v1.12.1-beta15

21 Oct 23:26
Compare
Choose a tag to compare
v1.12.1-beta15 Pre-release
Pre-release

What's Changed

  • Makes TextController support equals by @jkwiz in #1224

New Contributors

Full Changelog: v1.12.1-beta14...v1.12.1-beta15

v1.12.1-beta14

25 Sep 23:58
Compare
Choose a tag to compare
v1.12.1-beta14 Pre-release
Pre-release

What's Changed

Full Changelog: v1.12.1-beta13...v1.12.1-beta14

v1.12.1-beta13

13 Sep 19:47
Compare
Choose a tag to compare
v1.12.1-beta13 Pre-release
Pre-release

What's Changed

Full Changelog: v1.12.1-beta12...v1.12.1-beta13

v1.12.1-beta12

08 Aug 00:00
Compare
Choose a tag to compare
v1.12.1-beta12 Pre-release
Pre-release

What's Changed

  • Return the Job from WorkflowLayout.take so it can be canceled. by @rjrjr in #1219

Full Changelog: v1.12.1-beta11...v1.12.1-beta12