diff --git a/apps/docs/docs/breaking-changes.md b/apps/docs/docs/breaking-changes.md deleted file mode 100644 index 80175e29e..000000000 --- a/apps/docs/docs/breaking-changes.md +++ /dev/null @@ -1,13 +0,0 @@ -# Breaking changes - -## Typebot v6 - -- List variables now don't automatically display the last item when inserted into a bubble. It was too "magical". Now you can leverage the inline code feature to easily get the last element of a list: - - ``` - {{={{List var}}.at(-1)=}} - ``` - - Check out the new [Inline variable formatting section](./editor/variables) for more information. - -- Input prefill is now disabled by default. You can still enable it in the [Settings](./editor/settings) tab of your bot. diff --git a/apps/docs/docs/breaking-changes.mdx b/apps/docs/docs/breaking-changes.mdx new file mode 100644 index 000000000..a4c8815e3 --- /dev/null +++ b/apps/docs/docs/breaking-changes.mdx @@ -0,0 +1,38 @@ +# Breaking changes + +## Typebot v6 + +- List variables now don't automatically display the last item when inserted into a bubble. It was too "magical". Now you can leverage the inline code feature to easily get the last element of a list: + + ``` + {{={{List var}}.at(-1)=}} + ``` + + Check out the new [Inline variable formatting section](./editor/variables) for more information. + +- Input prefill is now disabled by default. You can still enable it in the [Settings](./editor/settings) tab of your bot. + +- `Message sequence` option in the OpenAI block was removed because it was also too "magical" and it. Now I've introduced the `Dialogue` option. For more information: + +
+