diff --git a/.changeset/fix-fallback-activity-called-on-match.md b/.changeset/fix-fallback-activity-called-on-match.md deleted file mode 100644 index bd2c4e06b..000000000 --- a/.changeset/fix-fallback-activity-called-on-match.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@stackflow/plugin-history-sync": patch ---- - -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. diff --git a/docs/components/ChangelogContent.mdx b/docs/components/ChangelogContent.mdx index 38eafc961..b70f13528 100644 --- a/docs/components/ChangelogContent.mdx +++ b/docs/components/ChangelogContent.mdx @@ -1,3 +1,12 @@ +## 2026.04.30 + +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. [`2c5786a`](https://github.com/daangn/stackflow/commit/2c5786a2934c3d2b74c20e8c57465ae03b3d3416) + +Released packages: +- 📦 [@stackflow/plugin-history-sync@1.10.1](https://npmjs.com/package/@stackflow/plugin-history-sync/v/1.10.1) + +--- + ## 2026.04.15 Add lifecyclePlugin and useFocusEffect hook for activity focus/blur lifecycle [`39dbf81`](https://github.com/daangn/stackflow/commit/39dbf81472af06daa5c40da098e232c2fe3b4a92) diff --git a/extensions/plugin-history-sync/CHANGELOG.md b/extensions/plugin-history-sync/CHANGELOG.md index 82e473c14..347f32e08 100644 --- a/extensions/plugin-history-sync/CHANGELOG.md +++ b/extensions/plugin-history-sync/CHANGELOG.md @@ -1,5 +1,11 @@ # @stackflow/plugin-history-sync +## 1.10.1 + +### 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. + ## 1.10.0 ### Minor Changes diff --git a/extensions/plugin-history-sync/package.json b/extensions/plugin-history-sync/package.json index 8005836a6..f63dbf369 100644 --- a/extensions/plugin-history-sync/package.json +++ b/extensions/plugin-history-sync/package.json @@ -1,6 +1,6 @@ { "name": "@stackflow/plugin-history-sync", - "version": "1.10.0", + "version": "1.10.1", "repository": { "type": "git", "url": "https://github.com/daangn/stackflow.git",