diff --git a/.changeset/forty-knives-remain.md b/.changeset/forty-knives-remain.md new file mode 100644 index 0000000000..5ccbf7e52d --- /dev/null +++ b/.changeset/forty-knives-remain.md @@ -0,0 +1,5 @@ +--- +"@xstate/svelte": minor +--- + +Allow Svelte 4 in the specified peer dependency range. diff --git a/packages/xstate-svelte/package.json b/packages/xstate-svelte/package.json index 619057b803..3a888e4246 100644 --- a/packages/xstate-svelte/package.json +++ b/packages/xstate-svelte/package.json @@ -46,7 +46,7 @@ }, "peerDependencies": { "@xstate/fsm": "^2.1.0", - "svelte": "^3.24.1", + "svelte": "^3.24.1 || ^4", "xstate": "^4.38.0" }, "peerDependenciesMeta": {