Skip to content

Releases: daangn/stackflow

@stackflow/react@2.1.0

08 Jun 14:40
efa5a4e

Choose a tag to compare

Minor Changes

  • 510a287: Expose prepare on the stackflow() output to preload an activity's component chunk and data loader from outside the React render tree (e.g. at app bootstrap, before the first render), without depending on React Context.

    const { Stack, actions, stepActions, prepare } = stackflow({
      config,
      components,
      plugins,
    });
    
    prepare("Article", { articleId: "123" }); // warm chunk + fire data loader
    prepare("Article"); // warm chunk only

    The signature matches the existing usePrepare hook (omitting params warms the chunk only; passing params also fires the loader), and usePrepare is now a thin wrapper over the same implementation, so in-tree callers are unchanged. Failures are delivered as a rejection of the returned promise rather than a synchronous throw.

@stackflow/plugin-history-sync@1.11.2

08 Jun 14:40
efa5a4e

Choose a tag to compare

Patch Changes

  • 416b65d: Withdraw the activity and step param string coercion introduced in 1.11.0.
    Internal navigation now preserves non-string param values at runtime again, while
    URL arrivals continue to use decoded URL params as before.

@stackflow/core@2.0.1

08 Jun 14:40
efa5a4e

Choose a tag to compare

Patch Changes

  • 416b65d: Remove the internal optional stepContext event fields and ActivityStep.context
    storage that were added for plugin-history-sync URL preservation.

@stackflow/plugin-history-sync@1.10.1

30 Apr 09:46
20c719d

Choose a tag to compare

Patch Changes

  • 2c5786a: Fix fallbackActivity callback being invoked on every initialization regardless of route matching outcome. Restored the pre-1.8.0 contract: the callback is now called only when no route matches currentPath. Apps that perform side effects in this callback (e.g. Sentry logging for unknown deep links) no longer fire on successful matches.

@stackflow/core@1.3.2

06 Apr 01:53
3f68ddd

Choose a tag to compare

Patch Changes

  • 0160f82: Fix intermittent incorrect transition state when transitionDuration is set to 0 by ensuring now >= eventDate in the initial aggregate call within dispatchEvent.

@stackflow/react-ui-core@1.3.4

13 Mar 07:49
a43dbe4

Choose a tag to compare

Patch Changes

  • b9c1946: fix(react-ui-core): clamp swipe-back dx to prevent left-drag screen movement

@stackflow/core@1.3.1

13 Mar 07:49
a43dbe4

Choose a tag to compare

Patch Changes

  • 4d3b294: fix(core): prevent duplicate setInterval in dispatchEvent

@stackflow/plugin-history-sync@1.10.0

29 Jan 07:55
d74ed94

Choose a tag to compare

Minor Changes

  • 45fb7ba: Add encode option to Route interface for converting activity params to URL string params

@stackflow/plugin-history-sync@1.9.0

07 Jan 09:54
6276b49

Choose a tag to compare

Minor Changes

  • a7d0c01: Add an option to skip default history setup transition

@stackflow/react@1.12.0

06 Jan 04:01
74d24ce

Choose a tag to compare

Minor Changes

  • 57fd2da: Improve scheduling of Activity preparation tasks by marking them as passive effects.

Patch Changes

  • 4b894ae: Make structured activities defined by other than the standard constructor can be preloaded and cached