2
0
Files
bot/apps/docs/breaking-changes.mdx
Baptiste Arnaud 65f4fb0d7a 📝 Add Contribute docs
2024-01-03 16:29:41 +01:00

38 lines
1.1 KiB
Plaintext

---
title: 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](./settings/overview) 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:
<div
style={{
position: 'relative',
paddingBottom: '64.5933014354067%',
height: 0,
}}
>
<iframe
src="https://www.loom.com/embed/df5d64dd01ca47daa5b7acd18b05a725?sid=e6df2f5b-643c-4175-8351-03e1726b2749"
allowFullScreen
style={{
position: 'absolute',
top: 0,
left: 0,
width: '100%',
height: '100%',
}}
/>
</div>