Releases: baptisteArno/typebot.io
Releases · baptisteArno/typebot.io
v2.26.0
Breaking changes
We had to fix an important security issue. It changes how code is executed on Typebot's server.
If you have a bot that executes code on the server that contains:
fetch
console.log
setTimeout
orsetInterval
(It applies only to code that have the Execute on client? option unchecked.)
These codes might not work anymore. You should check the new limitations listed here before upgrading: https://docs.typebot.io/editor/blocks/logic/script#limitations-on-scripts-executed-on-server
Added
Changed
- 🚸 Properly parse single break lines in streaming bubble [3d09ad1]
- 🚸 (number) Avoid parsing numbers starting with 0 [3e4e753]
- 🚸 (dify) Improve error display when streaming [e1f1b58]
- 🚸 (url) Improve URL input behavior on web [3320e1b]
- ⚡ (api) Add textBubbleContentFormat option [c53ce34]
- ⚡ (difyAi) Enable streaming with Dify.AI block [58f2e3b]
- 🗃️ Add createdAt to sort transcript answers [79ad1f6]
- ♻️ (mistral) Use new ai sdk Mistral core [15b2901]
- 🚸 Add variables button in forged select input by default [b71dbdb]
- ⚡ Format email input to lower case (#1520) [618322e]
Removed
Fixed
- 🐛 Fix storage bug when setVariableHistory conflicts [fa191fd]
- 🐛 Fix sample result parsing on complex flows [409c553]
- 🐛 (dify) Fix invalid parsing when text delta is multiline [176e3a5]
- 🐛 (script) Fix script exec when one variable is object [85bcb69]
- 🚑 Fix inline code evaluation [073c1d4]
- 🐛 (whatsapp) Fix preview_url parsing [88d98f0]
- 🐛 (calCom) Fix book callback not working on second attempt [c2f3c97]
- 🐛 (calCom) Fix weekly and column layouts restrained from max-width prop [10cbf4d]
- ✏️ Fix ee README broken image [06ac93c]
- 🐛 (variables) Fix session only menu bool [e49d28c]
- 🐛 (wa) Fix session stuck into reply state [9f39c66]
Security
- 🔒 Use isolated-vm [8d66b52]
Miscellaneous
- 📝 Add "Create whatsapp chatbot" article (#1502) [e015385]
- 🧑💻 Add more convenient classes to typebot elements [3031d26]
- 🧑💻 Add keycloak auth provider (#1533) [bb4bbd8]
- 📝 Add "How to train chatbot on your own data" article (#1516) [29040c6]
- 📝 Add release section in self-hosting get-started page [076a950]
- 📄 Add Commercial License for ee folder (#1532) [0eacbeb]
- 🧐 Improve chat session inspection script [ab9e36f]
v2.25.2
Added
Changed
- 🚸 (whatsapp) Enable embed video thumbnail previ… [9b8298b]
- 💄 Fix bubble preview image full size [8151d7f]
- 💄 (bot) Fix bubble max widths and guest avatar shrinking [3662c0d]
- 🗃️ Convert answerv2 content field to Text field [41ccf24]
Fixed
- 🚑 (httpRequests) Fix save variable parsing [304bfcf]
- 🐛 (transcript) Fix typebot link incorrect next group [fa45564]
- 🐛 Fix select input displaying id instead of label on refresh [f211a3e]
- 🐛 (wa) Fix WhatsApp session stuck if state object is empty [8351e20]
- 🚑 (setVariable) Fix inline code parser [91603aa]
v2.25.1
Added
- ✨ Add variables panel [1afa25a]
- 🔊 (customDomain) Add debug log for custom domains req… [6f0e236]
- ✨ Add "OpenAI Assistant Chat" template [a413d1b]
- ✨ Add "Quick Carb Calculator" template [04e29ba]
Changed
- ♻️ (templates) Update variables isSession props [218f689]
- 🚸 (billing) Increase invoices limit list [e4a7774]
- ⏪ (blog) Revert rewrite referer regex and manually add entry for /blog [58ba6a4]
- 🚸 (elevenlabs) Remove variable button in cred… [8a27cea]
- ⚡ (variables) Add session option in variables (#1490) [b4ae098]
Fixed
- 🐛 Fix inconsistent updatedAt when timezone is different fro… [ad4d1a1]
- 🐛 (blog) Fix referer regex matcher [1e5e085]
- 🚑 (blog) Replace matching host regex instead of multi value in list [29d0cae]
- 🐛 (blog) Fix image not loading when coming from /blog [30f81c8]
- 🐛 (payment) Fix description variable parsing [2578335]
- 🐛 (share) Show duplicate button for authenticated guests [9b1ff84]
- 🐛 Fix webhook default timeout and unoptimized json parser (#1492) [7d70f02]
Security
Miscellaneous
v2.25.0
Added
- ✨ (templates) New "Hight ticket follow up" template [a45e8ec]
- ✨ (theme) Add container theme options: border, shadow, filter (#1436) [5c3c7c2]
- 🔊 Improve http req timeout error [75dd554]
- 🔊 Improve toast error when whatsapp token is not valid [3b1b464]
- 🔊 Add prisma metrics to prometheus endpoint (#1420) [6e0388c]
Changed
- ♻️ Improve thread id saving conditions [40a10c7]
- 🚸 Fix auto scroll behavior [0a7d598]
- 🚸 Improve auto scroll behavior [a7fc413]
- 💄 Show send icon by default on textboxes [873ba0b]
- 🔧 (blog) Fix static viewer rewrites for blog posts [fadcd3a]
- 🔧 (blog) Fix viewer rewrites for blog styles [ccc974f]
- 🔧 Add blog endpoint to viewer rewrites [e4e724d]
- 🚸 Improve auto scroll behavior [5aad10e]
- ⚡ Remove empty strings from variable parsing when possible [3ca1a2f]
- 🚸 (whatsapp) Avoid multiple replies to be sent concurently [7bec58e]
- 🚸 Improve zapier, make.com block content feedback [75cd141]
- ⚡ (phoneInput) Add missing Dominican Republic dial codes [d608a30]
- ⚡ (wordpress) Add the lib_version attribute to wp admin panel [f550870]
- 🚸 (payment) Improve payment default currency be… [6594c56]
- ♻️ Migrate from got to ky (#1416) [d96f384]
- 🚸 (dify) Only save Conversation ID when not emp… [ccc7101]
- 💄 Fix image bubble distortion on Safari [2f84b10]
- 🔧 Remove nested prettierignore files [7aad60c]
- 🚸 (dify) Auto convert non-md links to md flavoured links [68ad0f2]
- 🚸 On chat state recover, don't execute client side actions [3aee9e7]
- 🔧 Add embed lib auto patch script [69446ad]
Fixed
- 🐛 (httpReq) Properly parse big ints [7efb79d]
- 🐛 (openai) Fix streaming for legacy OpenAI block config [49c1c0e]
- ✏️ Fix typo in self-hosting troubleshooting (#1478) [1c84d29]
- 🐛 (forge) Fix CLI auth gen [72a5f4a]
- 🐛 (openai) Fix ask assistant not correctly referencing uploaded f… (#1469) [dc1929e]
- 🐛 Fix bug when removing first message from create chat comp a… [bc50d62]
- 🐛 (bot) Fix svg images not being displayed [c75148c]
- 🐛 (dify) Fix conversation ID being overwritten randomly [7f39d5a]
- 💚 Update lock file [a09ccd1]
- 🐛 (whatsapp) Enable custom embed blocks [af01439]
- 🐛 Fix input background not properly set [94539e8]
- 🐛 (whatsapp) Fix media download [7e3e05f]
- 🐛 Fix border color not changing [dcd3eaa]
- 🚑 (condition) Fix not contains condition on list variable [4982400]
- 🚑 Fix clientSideAction streaming stuck when it contains … [f9bdcdc]
- 🐛 Fix invalid format for code blocks in streaming bubble [db6d258]
- 🐛 Fix streaming text selection (#1444) [3f36780]
- 🐛 (condition) Improve contains/not contains on list input [cae7be4]
- 🐛 (buttons) Improve buttons matching when dynamic [d194fbe]
- 🐛 Wipe chat state from storage if disabled [7d6cf2a]
- 🐛 (theme) Fix progress bar background color [51bf5b6]
- 🐛 (theme) Fix containers disabled bg should be transparent [408aeb4]
- 🚑 Fix no scroll issue on mobile [8fe856a]
- 🐛 Only display export flow option if user is not guest [ae2350e]
- 🐛 Fix ky not working due to fetch rewriting by mistral package [ef10f69]
- 🐛 Fix new guessApiHost in editor [6a4a43e]
- 🐛 Fix autocomplete submit [b5dd12c]
Miscellaneous
- 🧑💻 (forge) Make credentials in fetch function optionnal [988e752]
- 📝 Add "Best WhatsApp chatbot" blog post (#1475) [74a0707]
- 📝 Add "Lead Generation Guide" article (#1465) [5d99e00]
- 📝 Add docker manual image build instructions [6594723]
- 📝 (blog) Improve Image MDX component [5fb20e3]
- 📝 Add "Top 5 Alternatives to Landbot" article [a1da5f2]
- 📝 Improve blog capabilities and components [eb2001c]
- 📝 Add new blog structure [6fe4e28]
- 🚀 (theme) Add new aqua glass theme [fb847e1]
- 🐳 Fix docker buil...
v2.24.1
v2.24.0
Added
- 👷♂️ Add network debug tools to chat api image [37204f5]
- ✨ Add operators documentation for response field components. (#1387) [2bd1cb7]
- ✨ Add Anthropic block (#1336) [ecec702]
- 🔊 Add better error log for auth email sending [595bffc]
- ✨ Add "turn into" option in block context menu [2fb379b]
- ✨ Add OpenRouter block [84d6c59]
- 📈 (posthog) Send user last login event [434b067]
Changed
- ⚡ (anthropic) Add sonnet and haiku models [89dec4a]
- 🚸 (bubble) Add swipe gesture to close preview… [1f158e7]
- ⚡ Fix typebot drag and drop lag [798e94a]
- ⚡ Introduce a new high-performing standalone chat API (#1200) [2fcf83c]
- 🚸 Auto disable whatsapp if plan does not have pro… [7c23b95]
- 🚸 (radar) Don't show claim bot if workspace is no… [c72052c]
- ♻️ Include forged blocks schema in typebot schema [ed5096e]
- 🚸 Auto focus new blocks and fix text editor close callback [a797fc0]
- ♻️ Remove @typebot.io/schemas from @typebot.io/lib [5073be2]
- 🚸 Remove debounce on forged block credentials… [cdbdb35]
- 🚸 (editor) Fix buttons textarea size when con… [cf73900]
- 🚸 Fix select and autocomplete max width [70cc1f0]
- 🚸 (calCom) Fix embed responsivity [968abf5]
- 🚸 (results) Improve time filter so that it takes into account user timezone [f6d2b15]
- ⬇️ Downgrade anthropic sdk to make it compatible with ai sdk [3f294c9]
- ⬆️ Upgrade ai package [ff3807a]
- 💄 Fix UI regression on editor menu button [7e3c1e7]
- 🚸 Remove 50 select items initial hard limit [cbfc980]
- 🚸 (billing) Improve upgrade UX for non admin [1f40a4d]
- 🚸 Add aria-label on Bubble close button (#1344) [a9daac6]
- ⚡ Restore chat state when user is remembered (#1333) [0dc276c]
- 💄 Improve editor header responsiveness [5dafb64]
- ⬆️ Upgrade ai and openai packages [c2003da]
- ⚡ (calCom) Add additional notes prefill option [0f96440]
- 🚸 (results) Improve submitted at field parsing [77bc138]
- 🚸 (elevenLabs) Only show text-to-speech compatible models [022a320]
- 💄 (textEditor) Fix floating link inputs color in dark mode [579e407]
- ♻️ Use at function instead of dangerous direct lookup array index [4ca613e]
- 💄 (bot) Show only loading bubble when current block only has messages [8846cdb]
Fixed
- 🐛 Fix auto filled input not submittable [a412a31]
- 🐛 Fix potential infinite redirect when session is remembered [50d515c]
- 🐛 (textBubble) Fix text bubble not updating when focusing on another one [c9b7f6a]
- 🚑 Allow for regex without slashes for retro compat [2663ca2]
- 🐛 (conditions) Parse regex flags as well [a0ba8c5]
- 🐛 (conditions) Fix regex matching when starting and ending wi… [76e7fbd]
- 🐛 Fix edge dropping on condition block when all conditions ar… [1566f01]
- 🐛 (bubble) Fix bubble chat height when custom size [af941b1]
- 🐛 Fix event edges display when navigating in linked typebots [f646826]
- 🐛 Fix typebot and folder name update in dashboard [a48a211]
- 🐛 (typebotLink) Fix n+1 variable fill [c552fa7]
- 🚑 (stream) Fix stream for Vercel hosting [669f550]
- 🚑 (stream) Re-enable stream on Vercel env [8e52ee8]
- 🚑 Fix embed fallback api host [b14ee12]
- 🐛 Fix absolute URL bug with ky on backend [e435ead]
- 🐛 Fix experimental chat api enable checking [6876b48]
- 🐛 (editor) Share groups clipboard state across tabs [5b91767]
- 💚 Remove unused helper [97107d4]
- 🐛 (pictureChoice) Fix dynamic image only variable saving [9c86c5e]
- 💚 Fix embeds build and create-block CLI [a4c865c]
- 🐛 Fix bug when adding items in array in forged block [56a23a1]
- 🐛 (fileUpload) Handle duplicate names properly [26a9282]
- 🐛 Fix retry message variable parsing [782c08b]
- 🐛 (difyAi) Fix chunk parsing [e035a54]
- 🐛 (anthropic) Upgrade sdk to fix stream issue [3ac211d]
- 🐛 (bot) Fix await processClientActio… [b53242c]
- 🐛 (anthropic) Fix transform functions when response mapping has Message content [[7d11a7d](https://github.com/baptisteArno/typebot.io/commit/7d...
v2.23.0
Added
- ✨ Add Together AI block (#1304) [648ec08]
- 🔊 (whatsapp) Improve phone ID verification error details [060c49d]
- 🔊 (radar) Add debug option [7fc8bc9]
- ✨ (theme) Add progress bar option (#1276) [2d7ccf1]
- 👷♂️ Build docker image on new "next" tag [d2c9b5f]
- ✨ (theme) Custom font option (#1268) [7cf1a3e]
- ✨ Add ElevenLabs block (#1226) [2f6de8e]
- 👷♂️ Add posthog keys to github secrets [9f0c6b3]
- 📈 Track custom domain and WA enabled events [b9183f9]
- 📈 Send onboarding replies to PostHog [fd4867f]
Changed
- 🚸 (whatsapp) Remove .mp4 regex restriction for video URLs [3971e4a]
- 💄 Fix dark mode timefilter dropdown in analytics page [78d3e9b]
- 💄 Improve progress bar UI and make avoid starting at 0 [229453d]
- 🚸 (theme) Improve custom font flow by asking for font-face props directly [33d0fcd]
- ⬆️ Upgrade and improve plate editor [b9e5468]
- 🚸 (chatnode) Add proper error message handling [fe98f2a]
- 🚸 (fileUpload) Correctly set default item for visibility [f2b2174]
- 🚸 (buttons) Fix new buttons new line and escape behavior [508859a]
- 🚸 (buttons) Detect multi items pasting with br… [927feae]
- 🚸 Better embed button size prop now acception … [54f51b6]
- 🚸 Rename "webhook" block to "HTTP request" [33cbb2b]
- ⚡ (setVariable) Add timezone option for dates [3e0d3e7]
- 🚸 (buttons) Better multiple item parsing [07240e6]
- 🚸 (buttons) Parse clipboard items separated wi… [5d0be9e]
- ⚡ (dify) Make sure Dify also works with agent assistants [d171aa6]
- 🚸 Fix shift key to scroll the graph horizontally [cd488c2]
- 🚸 (editor) Enable groups clipboard accross tabs [e05580a]
- 🚸 (url) Less strict URL validation on server [f7d3d58]
- ⚡ (dify) Include empty files require field [1b2876d]
- 🚸 (elevenlabs) Add set variable indication [d91e212]
- 🚸 (results) Add time filter to results table as… [066fabc]
- ⚡ (rating) Add start number option in Rating block [3e2533b]
- 🚸 Fix vat input size for better placeholder visibility [2fb0a4f]
- 💄 Fix key component in tooltip for dark mode [5e9dfaa]
- 🚸 (fileUpload) Add success labels cutomization [9fc05cb]
- ♻️ Re-organize telemetry package [92a1d67]
Fixed
- 💚 Remove unused mp4 url check [3037771]
- 🐛 (bot) Remove SendButton disable state [dd9b7ee]
- 🚑 (whatsapp) Fix broken preview [275ba1b]
- 🐛 (chat) Enable prefilledVariables in preview mode [9b65621]
- 🐛 (theme) Fix custom bg color when type is undefined [0b19310]
- 🐛 (whatsapp) Fix webhook when having 2 phone numbers in same WA account [ce17ce5]
- ✏️ Rewrite "optionnal" to "optional" (#1278) [ddb7ac7]
- 💚 Add "next" docker image metadata [a7eb5cd]
- 🐛 Fix return executeCommand result [219b229]
- 🐛 Allow DATABASE_URL starting with "postgres://" [5879c89]
- 🐛 (whatsapp) Fix image or video bubble before choice input [18c0445]
- 🐛 (dify) Fix issue when receiving "event" chunk [6735ecc]
- 🐛 Fix missing http request block in side bar [f3adaa3]
- 🐛 (setVariable) Fix timeZone variable parsing [519f3aa]
- 🐛 (editor) Fix groups graphPosition round coordinates saving [e3470bc]
- 🐛 (billing) Fix webhook calls when workspace was deleted [191aeb0]
- 💚 Fix outdated lockfile [4f924db]
- 🐛 (editor) Fix changes revert when update call is long [d653003]
- 🐛 (dify) Fix Dify error when inputs are empty [f5bdba5]
- 🐛 Fix default theme colors not appearing [a0ab3b4]
- 🐛 (editor) Fix lost changes when typebot takes a long time to update [c648947]
- 🐛 (results) Fix export all results defaulting to "today" time frame [396ca5b]
- 🐛 (docs) Fix "Get stats" empty api ref [2cc1b44]
- 🚑 (folders) Make sure folders are not all listed in root folder [fa2eeff]
- 🐛 (calCom) Make sure Cal.com book event is emitted once per block [83231e6]
- 🐛 (folders) Make sure to exit folder on workspace change [c2603d9]
- 🐛 Revert to got for user created webhook to...
v2.22.0
Added
- ✨ (analytics) Add time dropdown to filter analytics with a time range [515fcaf]
- 👷♂️ Change pre-commit format fix to check only [4b8b80e]
- ✨ Add Dify.AI block (#1183) [0817fba]
- ✨ Add Mistral AI block [b68f16f]
- 👷♂️ Fix usage emails banner broken images [4ce29d6]
- ✨ (settings) Add delay between bubbles option and typing disabling on first message [f052b4c]
- ✨ (editor) Actions on multiple groups [00dcb13]
- ✨ (openai) Add tools and functions support (#1167) [f4d315f]
- ✨ Customizable allowed origins [8771def]
- ✨ (openai) Add "Ask assistant" action [03258e0]
- ✨ New QR code block (#1142) [799c694]
- 👷♂️ Replace sleep from docker:up script for cross-plat compatibility [f3a4922]
Changed
- ⬆️ Upgrade next [2462e79]
- ⬆️ Upgrade google-spreadsheet and fix openapi docs g… [3b27f16]
- 🚸 Enable OneDrive video url parsing [8ad4a09]
- 🚸 Rewrite the markdown deserializer to improve br… (#1198) [ff9c472]
- ⚡ (fileUpload) New visibility option: "Public", "Private" or "Auto" (#1196) [6215cfb]
- 🚸 (editor) Avoid editor closing when pressing Enter [3ab84b7]
- ⚡ (openai) Add enum support in function tools [8d363c0]
- 🚸 (editor) Remove blocks pointer events only in analytics [c23e760]
- ♻️ Change overflow:scroll to overflow:auto [ab01065]
- 🚸 (openai) Make sure annotations are removed from assistant replies [d8e2b74]
- ⏪ Re-implement trackpad/mouse choice and defau… [5f0b369]
- 🚸 (editor) Add graph gesture notification [bf6c258]
- ⚡ (editor) Improve graph pan when dragging on groups [be74ad1]
- ⚡ (openai) Enable setVariable function in tools [42008f8]
- ⚡ Receive WhatsApp location (#1158) [61bfe1b]
- ⚡ (sheets) Reset timeout after Google Sheets execution [a44857e]
- ⚡ (radar) Add radar cumulative keyword alternatives check [0b00fa7]
- ⬆️ Upgrade root deps [b412f0e]
- 📱 (editor) Fix editor header responsivity [6d7c811]
- 🚸 (results) Add progress bar to export results modal [5d971f7]
- 🔧 Allow react lib to be used with v16 [459dac4]
- ⚡ (calCom) Add phone prefill option [73d68f0]
- ⚡ (whatsapp) Improve / fix markdown serializer [244a294]
Fixed
- 🐛 Add max wait block timeout on WhatsApp runtime [26872e2]
- 🐛 Fix listing deleted bots on Zapier and Make.com [07928c7]
- 🐛 (editor) Fix dragging text bubble after editting [1ebfc15]
- 🐛 Fix unexported Popup and Bubble from react lib [cf101d6]
- 🐛 (share) Fix bubble button default background in embed modals [f9e0cef]
- 🐛 (editor) Fix single block duplication [b668ac1]
- 🐛 (setVariable) Avoid octal number evalution [ef05b71]
- 🐛 Fix templates not properly selected sometimes [e80f297]
- 🐛 (whatsapp) Fix first message capture regression [32927e0]
- 🐛 (calCom) Don't delete session if chat reply has custom embed [5627105]
- 🐛 (webhook) Update zapier and make.com result sample parser [233e993]
- 🐛 (web) Dynamic first host avatar not displaying in viewer [98107ee]
- 🐛 (cors) Fix cors setting when bot is origin-restricted [d6f94d3]
- ✏️ Fix URL starting with postgres error message [30d6fcc]
- 🐛 (editor) Fix duplicate group unique key parsing [1c4c058]
- 🐛 (whatsapp) Fix last char slicing if new line [5d088b1]
- 🐛 (whatsapp) Fix inline variable serializing [9b5b277]
Miscellaneous
- 🛂 (billing) Disable sub update when workspace is past due [0f245b8]
- 👷 Update version of copied prisma files in Dockerfile (#1186) [7baaf59]
- 📝 Add notice for WhatsApp mismatch numbers in preview [f0cfc20]
- 📝 Add env WHATSAPP_CLOUD_API_URL to possible change https://gr… (#1170) [47af9a9]
- 📝 Add report abuse doc [8998276]
- 🧐 Add inspectChatSession script [53e778e]
- 📝 (settings) Update wait between messages instruction [7e9c67a]
- 📝 Fix graph pan keys typo [d85a03f]
- 🚀 (whatsapp) Remove beta status [c08ab3d]
- fix OpenAi function call...