From 5d1eea82c6c91f7811f20cbe4ef4b4a37a716ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Fri, 1 Dec 2023 17:15:59 +0100 Subject: [PATCH] Temporarily remove changesets for ignored packages --- .changeset/all-quick-lizards-burn.md | 8 -------- .changeset/graph-angry-seals-sin.md | 21 --------------------- .changeset/graph-grumpy-planes-protect.md | 20 -------------------- .changeset/graph-popular-clocks-melt.md | 10 ---------- .changeset/solid-silly-chefs-lick.md | 5 ----- 5 files changed, 64 deletions(-) delete mode 100644 .changeset/all-quick-lizards-burn.md delete mode 100644 .changeset/graph-angry-seals-sin.md delete mode 100644 .changeset/graph-grumpy-planes-protect.md delete mode 100644 .changeset/graph-popular-clocks-melt.md delete mode 100644 .changeset/solid-silly-chefs-lick.md diff --git a/.changeset/all-quick-lizards-burn.md b/.changeset/all-quick-lizards-burn.md deleted file mode 100644 index 7f5ff7b80b..0000000000 --- a/.changeset/all-quick-lizards-burn.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@xstate/graph': minor -'@xstate/immer': minor -'@xstate/inspect': minor -'@xstate/test': minor ---- - -`exports` field has been added to the `package.json` manifest. It limits what files can be imported from a package - it's no longer possible to import from files that are not considered to be a part of the public API. diff --git a/.changeset/graph-angry-seals-sin.md b/.changeset/graph-angry-seals-sin.md deleted file mode 100644 index 752eae7712..0000000000 --- a/.changeset/graph-angry-seals-sin.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -'@xstate/graph': patch ---- - -Traversing state machines that have delayed transitions will now work as expected: - -```ts -const machine = createMachine({ - initial: 'a', - states: { - a: { - after: { - 1000: 'b' - } - }, - b: {} - } -}); - -const paths = getShortestPaths(machine); // works -``` diff --git a/.changeset/graph-grumpy-planes-protect.md b/.changeset/graph-grumpy-planes-protect.md deleted file mode 100644 index 6ae97f2c29..0000000000 --- a/.changeset/graph-grumpy-planes-protect.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -'@xstate/graph': major ---- - -Remove `getMachineShortestPaths` and `getMachineSimplePaths` - -```diff -import { -- getMachineShortestPaths, -+ getShortestPaths, -- getMachineSimplePaths, -+ getSimplePaths -} from '@xstate/graph'; - --const paths = getMachineShortestPaths(machine); -+const paths = getShortestPaths(machine); - --const paths = getMachineSimplePaths(machine); -+const paths = getSimplePaths(machine); -``` diff --git a/.changeset/graph-popular-clocks-melt.md b/.changeset/graph-popular-clocks-melt.md deleted file mode 100644 index 4045301c57..0000000000 --- a/.changeset/graph-popular-clocks-melt.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@xstate/graph': major ---- - -The steps in the paths returned from functions like `getShortestPaths(...)` and `getSimplePaths(...)` have the following changes: - -- The `step.event` property now represents the `event` object that resulted in the transition to the `step.state`, _not_ the event that comes before the next step. -- The `path.steps` array now includes the target `path.state` as the last step. - - Note: this means that `path.steps` always has at least one step. -- The first `step` now has the `{ type: 'xstate.init' }` event diff --git a/.changeset/solid-silly-chefs-lick.md b/.changeset/solid-silly-chefs-lick.md deleted file mode 100644 index 7e8d80dc91..0000000000 --- a/.changeset/solid-silly-chefs-lick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@xstate/solid': minor ---- - -FSM-related functions have been removed.