Skip to content

Commit 5416a9b

Browse files
Add changelog posts to blog (#193)
* Update packages * Add changelog posts as blog posts * Fix broken characters * Update blog/2023-04-28-new-default-machine/index.mdx Co-authored-by: David Khourshid <[email protected]> --------- Co-authored-by: David Khourshid <[email protected]>
1 parent f8ba2ce commit 5416a9b

File tree

31 files changed

+395
-18
lines changed

31 files changed

+395
-18
lines changed

blog/2023-04-21-embed-url/index.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Embed URL
3+
description: '🤫 We’re testing a new feature where you can embed machines.'
4+
authors: [laura]
5+
tags: [changelog, new, beta]
6+
date: 2023-04-21
7+
slug: 2023-04-21-embed-url
8+
image: /blog/2023-07-18-embed-url.png
9+
---
10+
11+
🤫 We’re testing a new feature where you can embed machines.
12+
13+
From the **Share** menu, there’s now a **Copy embed URL** button. You can use this URL in an `<iframe>` to embed your machine anywhere `<iframe>`s are allowed. We love to use embedded machines in our docs!
14+
15+
![embed-url](https://canny.io/images/d1135e463827ba77d2199971d2e7d1e9.png)
16+
17+
We plan to add more to this feature in the future, and [we’d love to hear your feedback](https://discord.gg/xstate).
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: 'New default machine'
3+
description: 'There’s now a more detailed default machine when you create a new machine in Stately Studio or jump straight into modeling at state.new.'
4+
authors: [laura]
5+
tags: [changelog, improved]
6+
date: 2023-04-28
7+
slug: 2023-04-28-new-default-machine
8+
image: /blog/2023-04-28-new-default-machine.png
9+
---
10+
11+
There’s now a more detailed default machine when you create a new machine in Stately Studio or when you jump straight into modeling at state.new.
12+
13+
<!--truncate-->
14+
15+
![Stately Studio machine featuring initial state, guards, parent and child states, and using descriptions.](https://canny.io/images/362e27b65f13dfe7ce6979a91a5fdd6c.png)
16+
17+
We hope this will help you get started and maybe learn more about features you’ve not used before.
18+
19+
If you don’t want any of these states and transitions in your new machine, you can drag to select all the unwanted features and hit backspace to delete them.
20+
21+
We’d love your thoughts about our new default machine; please [give us your feedback in our Discord!](https://discord.gg/xstate)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: 'Stately Studio minor improvements'
3+
description: 'Over the week, the Stately team made the following improvements.'
4+
authors: [laura]
5+
tags: [changelog, improved]
6+
date: 2023-05-17
7+
slug: 2023-05-17-stately-studio-minor-improvements
8+
image: /blog/2023-05-17-stately-studio-minor-improvements.png
9+
---
10+
11+
Over the week we made the following improvements.
12+
13+
<!--truncate-->
14+
15+
- When copy and pasting states and transitions, the pasted layout is now much improved. [Watch a demo of copy paste in last week’s office hours](https://www.youtube.com/watch?v=fPrZ19EKlJU&t=128s).
16+
- The background of the **Live simulation** mode panel is now easier to read in light mode.
17+
- A whole range of internal minor improvements and fixes.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: 'Context-aware search in the docs'
3+
description: 'The search results in the Stately Studio and XState docs are now context-aware. '
4+
authors: [laura]
5+
tags: [changelog, new, improved]
6+
date: 2023-05-19
7+
slug: 2023-05-19-context-aware-search
8+
image: /blog/2023-05-19-context-aware-search.png
9+
---
10+
11+
The search results in the [Stately Studio and XState docs](https://stately.ai/docs) are now context-aware. So if you’re browsing the current XState V4 version of the docs, you’ll get results for V4, and if you’re browsing the XState V5 beta version of the docs, you’ll get results for V5.
12+
13+
<!--truncate-->
14+
15+
![Side-by-side comparison of search results for cond in the Stately docs. In the V4 docs, it gives you results about combining cond and in. In the V5 docs, it gives you results telling you to use guard instead of cond.](https://canny.io/images/0a39d4269b59a7a5268b9b85bf0a172a.png)
16+
17+
Thanks to Chev for bringing this up in [our Discord](https://discord.gg/xstate), Tobi for suggesting the solution, and Anders for quickly implementing it! If you have any feedback about our docs, please let us know in our [#documentation channel in Discord](https://discord.gg/xstate).
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: 'Stately Studio minor improvements'
3+
description: 'In the last week, we made the following bug fixes and improvements.'
4+
authors: [laura]
5+
tags: [changelog, improved, fixed]
6+
date: 2023-05-26
7+
slug: 2023-05-26-stately-studio-minor-improvements
8+
image: /blog/2023-05-26-stately-studio-minor-improvements.png
9+
---
10+
11+
In the last week, we made the following bug fixes and improvements.
12+
13+
<!--truncate-->
14+
15+
## Bug fixes
16+
17+
- Live simulation mode is now stopped when you switch machines.
18+
- The child state of a new parallel state will no longer be marked as the initial state.
19+
20+
## Improvements
21+
22+
- The editor menu is now available when in version view mode.
23+
- Meta values now support multi-line text input.
24+
- Improved the layout of the starter machine at state.new.
25+
- Improved accessibility of the left drawer toggle.
26+
- Improved accessibility of the Discovery search and filters.
27+
- A variety of internal fixes and improvements.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: 'Stately Studio minor improvements'
3+
description: 'In the last week, we made the following bug fixes and improvements.'
4+
authors: [laura]
5+
tags: [changelog, improved, fixed]
6+
date: 2023-06-14
7+
slug: 2023-06-14-stately-studio-minor-improvements
8+
image: /blog/2023-06-14-stately-studio-minor-improvements.png
9+
---
10+
11+
In the last week, we made the following bug fixes and improvements.
12+
13+
<!--truncate-->
14+
15+
## Bug fixes
16+
17+
- Annotations will no longer cause validation warnings and errors when exporting machines.
18+
- You can no longer create annotations or access autolayout from embedded mode. The embedded mode will also no longer show a banner when a new version of Stately Studio is available.
19+
20+
## Improvements
21+
22+
- You can no longer simulate a machine that has errors. So fix those errors before you head over to Simulate mode!
23+
- You can now resize the left sidebar to an even smaller width.
24+
- Viewing somebody else’s machine in Discovery will no longer show a banner telling you the machine is view-only.
25+
- The meta value field now auto-resizes to fit the content.
26+
- An array of internal fixes and improvements.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: Stately Studio minor improvements
3+
description: 'We launched a huge release last week, but we already have more for you! In the last week, we made the following bug fixes and improvements.'
4+
authors: [laura]
5+
tags: [changelog, pro, improved, fixed]
6+
date: 2023-07-18
7+
slug: 2023-07-18-stately-studio-minor-improvements
8+
image: /blog/2023-07-18-stately-studio-minor-improvements.png
9+
---
10+
11+
We launched a huge release last week, but we already have more for you! In the last week, we made the following bug fixes and improvements.
12+
13+
<!--truncate-->
14+
15+
## Autosave for Pro users
16+
17+
Machine versions are now automatically saved for Pro users every hour. Once created, these versions appear in the list of versions and function just like other versions, with the ability to view, restore, delete, etc. Users can toggle to filter auto-saved versions out of the version history list. A version is also auto-saved when the user’s browser window is closed.
18+
19+
## Filter machines
20+
21+
Got a really long list of machines in your project? You can now filter these machines by name.
22+
23+
![Using the filter machines text input to find machines with export in their name.](https://canny.io/images/7cd5b51ace3e563f7773e18d1f801b2e.gif)
24+
25+
## Bug fixes
26+
27+
- Importing machines without names will no longer cause errors in Safari.
28+
- The zoom controls now slide out of the way of the Help drawer when it’s toggled open and closed.
29+
- The reset button now slides out of the way of the Help drawer when it’s toggled open and closed in Simulate mode.
30+
31+
## Improvements
32+
33+
- States are now exported in a predictable, intuitive order, regardless of the order you added them. Initial states will be first, and the order of states will tend to follow transitions, with the “furthest” states being last.
34+
- You will now be prompted to sign in when accessing features that require login.
35+
- Improved accessibility of dropdown menus.
36+
- An assortment of internal fixes and improvements.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: 'Export to Mermaid'
3+
description: 'You can now export your state machines to Mermaid code and diagrams!'
4+
authors: [laura]
5+
tags: [changelog, pro, improved, fixed]
6+
date: 2023-07-20
7+
slug: 2023-07-20-export-to-mermaid
8+
image: /blog/2023-07-20-export-to-mermaid.png
9+
---
10+
11+
You can now export your state machines to Mermaid code and diagrams! [Mermaid](https://mermaid.js.org) is a JavaScript-based diagramming and charting tool that renders Markdown-inspired text definitions.
12+
13+
<!--truncate-->
14+
15+
![mermaid](https://canny.io/images/6439446ea46c01d1ad1e8a65e6d922d4.png)
16+
17+
Mermaid is a useful format because Mermaid diagrams are created using plain text and can be easily version-controlled and shared with others. [GitHub supports Mermaid as an advanced format](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams) for issues, discussions, pull requests, wikis, and Markdown files.
18+
19+
Find the **Mermaid** export in Stately from the dropdown menu in the **Code** panel. You can export as Mermaid-formatted code, preview the diagram, and copy an SVG.
20+
21+
The export to Mermaid feature is in beta. If you have any feedback, please [let us know on Discord](https://discord.gg/xstate).
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: Stately minor improvements
3+
description: 'The Stately team has released more this week, and we have even more fixes and improvements for you.'
4+
authors: [laura]
5+
tags: [changelog, beta, new]
6+
date: 2023-07-26
7+
slug: 2023-07-26-stately-minor-improvements
8+
image: /blog/2023-07-26-stately-minor-improvements.png
9+
---
10+
11+
We have more fixes and improvements for you this week.
12+
13+
<!--truncate-->
14+
15+
## Bug fixes
16+
17+
- The previously over-eager logged out toast will now only show after successfully signing out.
18+
19+
## Improvements
20+
21+
- We now use the XState logo for built-in actions to distinguish them from custom actions:
22+
![State with built-in XState entry actions, including assign, raise, log, send, and stop. These all have a corresponding XState X icon. The custom action has a lightning icon.](https://canny.io/images/15c535b6fcbcfe8213cac46cbf38947c.png)
23+
- We’ve labeled the [Export to Mermaid option](https://feedback.stately.ai/changelog/export-to-mermaid) as “Beta” as we continuously improve this feature.
24+
- When a user shares a direct team link with another user who has been invited to the team but has yet to accept the invitation, we will now redirect that recipient to their team invitation page, where they can accept or decline the invitation.
25+
- After a user has created a new machine, the editor will always switch back to Design mode, even if the user was previously in Simulation mode.
26+
- We’ve improved the page titles so that browser tab text is easier to read and understand.
27+
- A melange of internal fixes and improvements.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: 'Markdown in annotations, performance improvements, and more!'
3+
description: 'This week’s headlines are that annotations now support markdown, and we’ve made many performance improvements!'
4+
authors: [laura]
5+
tags: [changelog, improved, fixed]
6+
date: 2023-08-04
7+
slug: 2023-08-04-markdown-in-annotations
8+
image: /blog/2023-08-04-markdown-in-annotations.png
9+
---
10+
11+
This week’s headlines are that annotations now support markdown, and we’ve made many performance improvements!
12+
13+
<!--truncate-->
14+
15+
## New
16+
17+
Markdown is now supported in [annotations](https://stately.ai/docs/annotations)! Previously you could only use plain text in your annotations; now, you can use markdown, like in [descriptions](https://stately.ai/docs/descriptions).
18+
19+
![Markdown being entered into an annotation, and that same annotation with bold text, italic text, a link, and a cute goldfish image.](https://canny.io/images/6ac21f4c3304524750dc52485c1d59fb.png)
20+
21+
Create an annotation by right-clicking anywhere on the canvas.
22+
23+
## Bug fixes
24+
25+
- Simulation mode has been fixed for embedded machines.
26+
- You now only need to press the back button once to return to the Projects list from the editor.
27+
- Share image URLs were quickly fixed after being broken by a previous release.
28+
- Renamed machines can now be filtered by their new names when filtered in the machines list.
29+
- Initial states are now correctly assigned when copying and pasting states.
30+
- The keyboard shortcuts button in the help drawer is now fixed.
31+
- The Give Feedback button in the help drawer is now easier to click.
32+
33+
## Improvements
34+
35+
- We have spent some time improving the performance of the canvas and UI, and your large machines should now be much smoother. Please [let us know](mailto:[email protected]) if you have any machines which need more attention!
36+
- You can now rename your project by double-clicking its name in the editor’s breadcrumb.
37+
- Old context values with type array or object are now migrated correctly. Arrays and objects in the old machine context structure were stored as strings, and now when the user opens their machines, they’re correctly converted to JavaScript arrays and objects, respectively.
38+
- The starter machine description is now an annotation, making it easier to delete all the states and transitions inside a starter machine if you want a fresh start.
39+
- The left panel width is now persisted when you reload the page.
40+
- Custom actions are now correctly handled in **Import Code**; top-level action parameters are moved inside the `action.params` object, and `type` now appears before `params` in exported code.
41+
- The following machine options are no longer included in exported code: Do not include these in machine options in the exported code: actions with expression `type`, actors with expression `src`, guards with expression names, and delays with expression values.
42+
- A motley collection of internal fixes and improvements.

0 commit comments

Comments
 (0)