diff --git a/.changeset/beige-needles-hug.md b/.changeset/beige-needles-hug.md deleted file mode 100644 index d0f4d3e9..00000000 --- a/.changeset/beige-needles-hug.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'stately-vscode': patch ---- - -Show source parsing errors and invalid config errors (that prevent the visualization) in the visual editor. diff --git a/.changeset/brave-chairs-raise.md b/.changeset/brave-chairs-raise.md deleted file mode 100644 index 8dd48d6a..00000000 --- a/.changeset/brave-chairs-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'stately-vscode': patch ---- - -The Editor and the Visualizer should no longer blink when typing into parts of the source code unrelated to the currently displayed machine. diff --git a/.changeset/chilled-rocks-sneeze.md b/.changeset/chilled-rocks-sneeze.md deleted file mode 100644 index e8d54dc5..00000000 --- a/.changeset/chilled-rocks-sneeze.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'stately-vscode': patch ---- - -Keyboard events should now propagate to the VS Code correctly from within the open Editor. This means that you will now be able to properly close the tab, open the command palette, and more diff --git a/.changeset/fifty-boats-admire.md b/.changeset/fifty-boats-admire.md deleted file mode 100644 index 578fbadb..00000000 --- a/.changeset/fifty-boats-admire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"stately-vscode": patch ---- - -Code-related processing has been centralized in the source code. Thanks to that it should be way less likely to end up with stale data being returned by code lenses, commands, etc. diff --git a/.changeset/grumpy-foxes-trade.md b/.changeset/grumpy-foxes-trade.md deleted file mode 100644 index 0afff0bb..00000000 --- a/.changeset/grumpy-foxes-trade.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"stately-vscode": patch ---- - -Fixed an issue with updating the generated typegen files even if there was no actual change in their output. This reduces the amount of the file system notifications triggered by updating the typegen files. diff --git a/.changeset/hip-turtles-hear.md b/.changeset/hip-turtles-hear.md deleted file mode 100644 index 490d6343..00000000 --- a/.changeset/hip-turtles-hear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'stately-vscode': patch ---- - -The method for updating typegen files in the background has been changed. The TS language server shouldn't miss any updates made to those files now. diff --git a/.changeset/khaki-dragons-tie.md b/.changeset/khaki-dragons-tie.md deleted file mode 100644 index a2b9030d..00000000 --- a/.changeset/khaki-dragons-tie.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@xstate/cli': patch -'stately-vscode': patch ---- - -Fixed a bug that caused the path to the typegen file not always being correctly updated in the machine definition when the basename of the file didn't change but its relative location did. diff --git a/.changeset/long-doors-sin.md b/.changeset/long-doors-sin.md deleted file mode 100644 index 40f97930..00000000 --- a/.changeset/long-doors-sin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'stately-vscode': minor ---- - -Revamped the bidirectional-editing implementation. When syncing edits made in the Editor we should no longer remove parts of the config that don't relate to the performed change. diff --git a/.changeset/loud-dogs-run.md b/.changeset/loud-dogs-run.md deleted file mode 100644 index f7fb738c..00000000 --- a/.changeset/loud-dogs-run.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'stately-vscode': patch ---- - -Fixed an issue with not being able to apply changes coming from an open Editor when the corresponding text editor has been closed. diff --git a/.changeset/tiny-otters-obey.md b/.changeset/tiny-otters-obey.md deleted file mode 100644 index 2564abb1..00000000 --- a/.changeset/tiny-otters-obey.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'stately-vscode': minor ---- - -The Editor is now bundled together with the extension. This allows you to use the extension offline. diff --git a/apps/cli/CHANGELOG.md b/apps/cli/CHANGELOG.md index b425e6dc..023ce170 100644 --- a/apps/cli/CHANGELOG.md +++ b/apps/cli/CHANGELOG.md @@ -1,5 +1,11 @@ # @xstate/cli +## 0.3.4 + +### Patch Changes + +- [#220](https://github.com/statelyai/xstate-tools/pull/220) [`39f6393`](https://github.com/statelyai/xstate-tools/commit/39f639321b2291d7f309f39b7184bd2bff1676be) Thanks [@Andarist](https://github.com/Andarist)! - Fixed a bug that caused the path to the typegen file not always being correctly updated in the machine definition when the basename of the file didn't change but its relative location did. + ## 0.3.3 ### Patch Changes diff --git a/apps/cli/package.json b/apps/cli/package.json index 741fd530..e4a02529 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -1,6 +1,6 @@ { "name": "@xstate/cli", - "version": "0.3.3", + "version": "0.4.0", "bin": { "xstate": "./bin/bin.js" }, @@ -18,8 +18,8 @@ }, "dependencies": { "@babel/core": "^7.19.3", - "@xstate/machine-extractor": "0.7.1", - "@xstate/tools-shared": "1.2.3", + "@xstate/machine-extractor": "^0.8.0", + "@xstate/tools-shared": "^2.0.0", "chokidar": "^3.5.3", "commander": "^8.0.0", "xstate": "^4.33.4" diff --git a/apps/extension/client/CHANGELOG.md b/apps/extension/client/CHANGELOG.md index 5f51df20..68888ea5 100644 --- a/apps/extension/client/CHANGELOG.md +++ b/apps/extension/client/CHANGELOG.md @@ -1,5 +1,31 @@ # stately-vscode +## 1.11.0 + +### Minor Changes + +- [#229](https://github.com/statelyai/xstate-tools/pull/229) [`5be7962`](https://github.com/statelyai/xstate-tools/commit/5be7962759267aae606d690bf22390c02a0ff4b0) Thanks [@Andarist](https://github.com/Andarist)! - Revamped the bidirectional-editing implementation. When syncing edits made in the Editor we should no longer remove parts of the config that don't relate to the performed change. + +* [#208](https://github.com/statelyai/xstate-tools/pull/208) [`600d1ef`](https://github.com/statelyai/xstate-tools/commit/600d1ef771cb360974fc1d0da389d163ffa45d2e) Thanks [@Andarist](https://github.com/Andarist)! - The Editor is now bundled together with the extension. This allows you to use the extension offline. + +### Patch Changes + +- [#242](https://github.com/statelyai/xstate-tools/pull/242) [`921586e`](https://github.com/statelyai/xstate-tools/commit/921586e76dff653364db61fbca5dbb548a882e92) Thanks [@mellson](https://github.com/mellson)! - Show source parsing errors and invalid config errors (that prevent the visualization) in the visual editor. + +* [#232](https://github.com/statelyai/xstate-tools/pull/232) [`e38318e`](https://github.com/statelyai/xstate-tools/commit/e38318e549ed3346ffb120e9f01150b29200d0aa) Thanks [@Andarist](https://github.com/Andarist)! - The Editor and the Visualizer should no longer blink when typing into parts of the source code unrelated to the currently displayed machine. + +- [#208](https://github.com/statelyai/xstate-tools/pull/208) [`600d1ef`](https://github.com/statelyai/xstate-tools/commit/600d1ef771cb360974fc1d0da389d163ffa45d2e) Thanks [@Andarist](https://github.com/Andarist)! - Keyboard events should now propagate to the VS Code correctly from within the open Editor. This means that you will now be able to properly close the tab, open the command palette, and more + +* [#220](https://github.com/statelyai/xstate-tools/pull/220) [`39f6393`](https://github.com/statelyai/xstate-tools/commit/39f639321b2291d7f309f39b7184bd2bff1676be) Thanks [@Andarist](https://github.com/Andarist)! - Code-related processing has been centralized in the source code. Thanks to that it should be way less likely to end up with stale data being returned by code lenses, commands, etc. + +- [#220](https://github.com/statelyai/xstate-tools/pull/220) [`39f6393`](https://github.com/statelyai/xstate-tools/commit/39f639321b2291d7f309f39b7184bd2bff1676be) Thanks [@Andarist](https://github.com/Andarist)! - Fixed an issue with updating the generated typegen files even if there was no actual change in their output. This reduces the amount of the file system notifications triggered by updating the typegen files. + +* [#234](https://github.com/statelyai/xstate-tools/pull/234) [`911964a`](https://github.com/statelyai/xstate-tools/commit/911964ad6b5a96fc3826400c8ce4b6316a2ce1dd) Thanks [@Andarist](https://github.com/Andarist)! - The method for updating typegen files in the background has been changed. The TS language server shouldn't miss any updates made to those files now. + +- [#220](https://github.com/statelyai/xstate-tools/pull/220) [`39f6393`](https://github.com/statelyai/xstate-tools/commit/39f639321b2291d7f309f39b7184bd2bff1676be) Thanks [@Andarist](https://github.com/Andarist)! - Fixed a bug that caused the path to the typegen file not always being correctly updated in the machine definition when the basename of the file didn't change but its relative location did. + +* [#229](https://github.com/statelyai/xstate-tools/pull/229) [`5be7962`](https://github.com/statelyai/xstate-tools/commit/5be7962759267aae606d690bf22390c02a0ff4b0) Thanks [@Andarist](https://github.com/Andarist)! - Fixed an issue with not being able to apply changes coming from an open Editor when the corresponding text editor has been closed. + ## 1.10.0 ### Minor Changes diff --git a/apps/extension/client/package.json b/apps/extension/client/package.json index 12249906..b658d285 100644 --- a/apps/extension/client/package.json +++ b/apps/extension/client/package.json @@ -4,7 +4,7 @@ "description": "Visual editing, autocomplete and typegen for XState", "license": "MIT", "author": "Stately Team", - "version": "1.10.0", + "version": "1.11.0", "private": true, "engines": { "vscode": "^1.52.0" @@ -97,7 +97,7 @@ "dependencies": { "@types/lz-string": "^1.3.34", "@xstate/inspect": "^0.4.1", - "@xstate/tools-shared": "1.2.3", + "@xstate/tools-shared": "^2.0.0", "isomorphic-fetch": "^3.0.0", "lz-string": "^1.4.4", "vscode-languageclient": "^7.0.0", diff --git a/apps/extension/server/package.json b/apps/extension/server/package.json index ee5bcdbb..9dd0a3b0 100644 --- a/apps/extension/server/package.json +++ b/apps/extension/server/package.json @@ -11,7 +11,7 @@ "url": "https://github.com/statelyai/xstate-tools" }, "dependencies": { - "@xstate/tools-shared": "1.2.3", + "@xstate/tools-shared": "^2.0.0", "fast-deep-equal": "^3.1.3", "vscode-languageserver": "^7.0.0", "vscode-languageserver-textdocument": "^1.0.1", diff --git a/packages/machine-extractor/package.json b/packages/machine-extractor/package.json index bd1b1a21..d13eb95e 100644 --- a/packages/machine-extractor/package.json +++ b/packages/machine-extractor/package.json @@ -1,6 +1,6 @@ { "name": "@xstate/machine-extractor", - "version": "0.7.1", + "version": "0.8.0", "main": "dist/xstate-machine-extractor.cjs.js", "author": "Matt Pocock", "license": "MIT", diff --git a/packages/shared/package.json b/packages/shared/package.json index 33972e97..2570b085 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,10 +1,10 @@ { "name": "@xstate/tools-shared", - "version": "1.2.3", + "version": "2.0.0", "main": "dist/xstate-tools-shared.cjs.js", "license": "MIT", "dependencies": { - "@xstate/machine-extractor": "0.7.1" + "@xstate/machine-extractor": "^0.8.0" }, "scripts": { "lint": "tsc",