Releases: baptisteArno/typebot.io
v2.18.4
v2.18.3
Breaking change
Billing has been upgraded to be usage-based. Stripe ENV variables have been simplified. Check the configuration for more information
Added
- 👷♂️ Add convenient script for migrating Stripe prices [11186d8]
- 👷♂️ Improve getUsage accuracy in check cron job [1cc4ccf]
Changed
- 🚸 (buttons) Trim items content when parsing reply for better consistency [621fcd5]
- ♻️ Update import contact to brevo script [be9daee]
- ⚡ (billing) Automatic usage-based billing (#924) [797751b]
Fixed
- 🐛 Fixed pinch zooming mouse issue (with ctrl key) (#940) [2c15662]
- 🐛 Freeze body overflow when opening a Popup embed (#937) [df3a17e]
- 💚 Fix send email in CI "React is not defined" [3e06d89]
- 🐛 (results) Lower the max limit in getResults endpoint to avoid payload size error [885dcec]
- 🚑 (billing) Fix chats pricing tiers incremental flat amou… [6b0c263]
- 🐛 (webhook) Fix webhook response data key number parsing [1d0aab7]
Miscellaneous
v2.18.2
Changed
- ⚡ (video) Allow changing video height when resolved to an iframe [ee685f1]
Fixed
- 🐛 (videoBubble) Fix youtube parsing for IDs containing a "-" [ee7dfbf]
- 🐛 (textBubble) Fix overflow with long links [9bbb30f]
- 🐛 Fix link parsing when using variables [ad79178]
- 🐛 (openai) Fix 2 openai streaming back to back [42fd603]
- 🚑 Fix empty bubble issue when plate element does not have a type attribute [a48026c]
Miscellaneous
v2.18.1
Added
- ✨ Automatically parse markdown from variables in text bubbles [cfc5f64]
Changed
- 🚸 (openai) Improve streaming bubble sequence and visual [49826d1]
- ⬆️ Upgrade sentry and improve its reliability [3e7b9b3]
- 🚸 (condition) Don't show value in node content if operator is "set" or "empty" [224a08b]
- ♻️ Remove sentry client monitoring in viewer [073654e]
- 💄 Better parsing of lists and code in streaming bubbles [877a58d]
- 🚸 (openai) Improve streamed message lists CSS [b232a94]
- ⬆️ (openai) Replace openai-edge with openai and upgrade next [225dfed]
- ♻️ (api) Auto start bot if starting with input [9e6a1f7]
- 🚸 (videoBubble) Reparse variable video URL to correctly detect provider [a7b784b]
- 🚸 (sendEmail) Rename username SMTP creds label to avoid confusion [42ae75c]
Removed
- 🔥 Remove streamer Pages API endpoint [bf1f657]
Fixed
- 💚 Fix docker build when Sentry not enabled [54788a8]
- 🚑 Fix custom CSS sanitization [8eb9f25]
- 🐛 (editor) Fix default branding settings on cre… [258de60]
- 🐛 Add no cache instructions to streamer [4746e38]
- 🐛 Enable stream again by migrating endpoint to route handler [0ba13b4]
- 🐛 New sendMessage version for the new parser [3838ac9]
- 🚑 Fix text styling parsing on variables [6f3e9e9]
- 🚑 (results) Fix broken infinite scroll [2bc9dfb]
- 🐛 (whatsapp) Fix force create session when flow is completed at first round [bf051be]
- 🚑 (whatsapp) Fix start whatsapp session when user has multiple whatsapp enabled [60c06aa]
Miscellaneous
- 📝 (s3) Add s3 configuration detailed instructions [021cae3]
- 🛂 Sanitize custom CSS and head code to avoid modification of lite badge [8e54824]
- 📝 (embed) Add note about non-embeddable websites [15823df]
- 📝 (whatsapp) Remove private beta mention [d567bed]
- 🐳 Remove wait-for-it script to avoid edge cases issues [ee800d5]
- 🧑💻 Improve invalid environment variable insight on build fail [8b8a23a]
- 🛂 (whatsapp) Set default whatsapp expiry to 4 hours [a53d128]
- 🛂 (whatsapp) Disable whatsapp by default on duplication [3292ccc]
- 📝 (docker) Update postgres image name [317a15b]
- 📝 (vercel) Add a note on function maxDuration for Hobby plans [4d475ff]
- 📝 (whatsapp) Re-organize whatsapp overview doc [a102d45]
- 🐳 Bump Postgres version in official docker compose file [876625d]
v2.18.0
What's new?
![Typebot illustration](https://private-user-images.githubusercontent.com/16015833/271836484-75ebd18f-d76d-40be-8deb-257df0194f08.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMjEwNzgsIm5iZiI6MTczOTEyMDc3OCwicGF0aCI6Ii8xNjAxNTgzMy8yNzE4MzY0ODQtNzVlYmQxOGYtZDc2ZC00MGJlLThkZWItMjU3ZGYwMTk0ZjA4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE3MDYxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThjNDQ0NzMzMDIwYWU1ODZmYjcwYzk0ZGE5ZjhkZGNlYmQzYjhkZmZjOGQ3YjNlNzZjMDE1ZTE2YjFhOGE2Y2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.5zLhAsY2uo75RZqRb45RisqQGN0egvjrA7vXJ61fADA)
-
WhatsApp integration has been greatly improved. Also the documentation to set it up as a self-hosters has more details.
-
New Zemantic AI bock. It's the first ever block contributed by the community 🥳
Details
Added
- ✨ (whatsapp) Add custom session expiration (#842) [4f953ac]
- 👷♂️ Only build docker images on tag push [4cfb45e]
- 👷♂️ (vercel) Increase max execution duration for webhooks [8f4e5b5]
- ✨ Add Zemantic AI Integration block (#752) [75e4b16]
Changed
- 🚸 (whatsapp) Improve how the whatsapp preview behaves (#873) [f016072]
- 🚸 (pictureChoice) Allow dynamic picture choice with… (#865) [76f4954]
- 🚸 (pictureChoice) Improve single picture choice with same titles [d46e801]
- 🚸 (whatsapp) Improve upgrade plan for whatsapp notice [ccc34b3]
- 🚸 Better random IDs generation in setVariable [a176e23]
- ⚡ (setVariable) Add "Environment name" value in Set variable block (#850) [1ca742f]
- ⚡ Auto continue bot on whatsApp if starting block is input (#849) [b81fcf0]
- ⚡ (wordpress) Add query params exclusion support [2307231]
- ♿ (embed) Add aria-label to bubble button [90cf2e9]
- ⚡ (whatsapp) Improve whatsApp management and media collection [9e0109f]
- ♻️ Remove storage limit related code [d7dc5fb]
- ♻️ Export bot-engine code into its own package [7d57e8d]
- ⚡ (whatsapp) Improve WhatsApp preview management [f626c98]
- 🚸 (results) Use header id as table accessor to allow duplicate names [61c46bc]
- ⚡ (customDomain) Add configuration modal for domain verification [322c48c]
- 🚸 (typebotLink) Make sure variables from child bots are merged if necessary [21ad061]
- 🚸 (billing) Improve feedback when subscription is "past_due" [0ccc2ef]
- ⚡ (analytics) Keep track of already explored blocks for drop off rate [87fac3e]
- 🔧 Add recommended vscode extensions and more settings [eea5d82]
- ⚡ (s3) Improve storage management and type safety [fbb198a]
- ⚡ (date) Add min and max options to date input block [a2e24d0]
- ♻️ (lp) Add back static images into landing page [cdd3e19]
Fixed
- 🐛 (builder) Fix system color mode not syncing properly [b31bcdf]
- 🚑 (js) Fix dependency issue preventing user to install @typebot.io/js [59cd79a]
- 🐛 (typebotLink) Fix nested typebot link pop [cd97da2]
- 🐛 (whatsapp) Fix auto start input where it didn't display next bu… (#869) [f9a14c0]
- 🐛 (whatsapp) Fix preview failing to start and wait timeo… [e10a506]
- 🐛 (preview) Fix always displayed start props toast [99b0025]
- 🐛 (pixel) Fix multiple Meta pixels tracking [56e175b]
- 🚑 (fileUpload) Fix file upload in linked typebots [7b3cbdb]
- 🐛 (bot) Fix reactivity issue when filtering single choices [459fc4d]
- 🚑 (billing) Fix disabled upgrade buttons [ed60caa]
- 💚 Rename back viewer [4673989]
- 🚑 (upload) Fix upload in embed [85272af]
- 🚑 Fix file upload expiration issue [9d80a3f]
- 🐛 (results) Fix result modal content display [2ce63f5]
- 🐛 (payment) Fix postalCode camel case issue [69ef41b]
- 🐛 Fix bubble icon file upload [6548752]
- 🐛 (openai) Fix models dropdown list on new block [096262c]
- 💚 Remove defineLocale weird TS bug [59cc450]
- 🚑 (typebotLink) Correctly pass back existing values from parent bot [bea3332]
Miscellaneous
- 📝 Update About page content [129f558]
- 🛂 (whatsapp) Remove feature flag [0e4e10c]
- 📝 (typebotLink) Add instructions about shared variables and merge answers [1a4b8bb]
- 📝 (whatsapp) Add a "Create WhatsApp app" guide [ec52fdc]
- 🛂 Improve editor authorization feedback (#856) [801fea8]
- 📝 Add custom domain troobleshoot section [bad415a]
- 📝 Change googleSheets date system var name [797685a]
- 🛂 (fileUpload) Improve file upload size limit enforcement [bb13c2b]
- 📝 Update support contact email [6375a24]
- 📝 (vercel) Add disable github workflows section [43be38c]
v2.17.2
v2.17.1
Changed
- ⚡ (dateInput) Add format option and improve parsing [9e8fa12]
- ⚡ (wait) Add pause option on Wait block [111fb32]
- 🚸 Make sure to add start client side action first in the list [1ebacaa]
- ⚡ (openai) Add custom provider and custom models [27a5f4e]
Fixed
- 🚑 Fix pt-BR i18n loading [be0c619]
- 🐛 Fix select text in buttons node drag [5092e14]
- 🚑 (openai) Fix create credentials modal not displaying [e8eaac4]
- 🚑 (fileUpload) Fix web bot file upload input skip option [968c5e3]
Miscellaneous
- 🧑💻 (editor) Add group info in focus toolbar [ac899b3]
- 📝 Add user preferences doc [605132e]
- 🌐 Add pt_BR and more translations (#767) [aaa208c]
- 🌐 Add i18n-ally config and upgrade next-international [e4ece31]
- Docker improvements (#760) [66dc570]
- 📝 Add cancel subscription doc [a79e605]
- 🛂 (whatsapp) Disallow test numbers as they are not unique [60abddd]
v2.17.0
Breaking changes
Environment management has been improved and merged between builder and viewer.
If your viewer app do not have the required NEXTAUTH_URL
env variable, you need to add it.
What's new?
WhatsApp integration is now available 🥳. If you are self-hosting Typebot, refer to the configuration doc (https://docs.typebot.io/self-hosting/configuration#whatsapp-preview)
Typebot validation has been improved. We make sure that your typebot is valid before storing it in the database, it allows us to avoid unexpected errors.
New API endpoints:
- Create typebot
- Update typebot
- Publish typebot
and others...
Details
Added
- 🔊 Add logs to debug invalid env [96ddfad]
- ✨ Add WhatsApp integration beta test (#722) [b852b4a]
- 📈 Remove user email from Sentry tracking [a4f7f8f]
- ✨ (api) Add CRUD typebot endpoints [454d320]
- 🔊 Add debug log for item matching issue [a72cb5e]
Changed
- 🚸 (sendEmail) Improve variable parsing in sendEmail body [37ccb5d]
- 🚸 (bot) Don't auto scroll if a text bubble was streamed [5fb17db]
- 🚸 Skip validation if __ENV.js file does not exist [dfcfdf2]
- ♻️ Move s3-related files to specific lib folder [23b629f]
- 🚸 (whatsapp) Allow test phone numbers [5d402d9]
- 🚸 (editor) Avoid highlighting variables in text bubble if not created [a0a7196]
- 🚸 (openai) Implement retries if openai rate limit reached [d700af1]
- ⚡ (typebotLink) Better typebot link with merge option [ee3b94c]
- 🚸 Improve parsing preprocessing on typebots [0acede9]
- 🚸 (billing) Make sure customer is not created before launching checkout page [53dd7ba]
- ⚡ (customDomains) Fix custom domain update feedback [c08e0cd]
- 🚸 Loosen file import parsing strictness [19fc576]
- ⬆️ Upgrade next packages" [22cedb3]
- ⬆️ Upgrade next packages [401efa9]
- ♿ (embed) Customizable preview message close button [6786db8]
- 🚸 (webhook) Parse user email instead of test email for sample [0078d6d]
- 🚸 (openai) Add payment method alert in credentials modal [7c81d0c]
- ♿ Remember last typebot viewed for support bubble [330d399]
- 🔧 Add prettier dependency at root folder [693631e]
- 🚸 (webhook) Improve deep keys parser [9171727]
- 🚸 (bot) Update reply if we get new format from backend [af1bee8]
- 💄 (textInput) Show send icon if send label is empty [ec0a5be]
- 🚸 (setVariable) Rename Today setVar type to Now [4d3f67c]
- ⚡ (audio) Add autoplay switch in settings [037d4ce]
- ♻️ (webhook) Integrate webhook in typebot schema [fc25734]
- ⚡ Add API endpoint to update the typebot in ongoing chat session [53e4bc2]
- 🚸 (openai) Display OpenAI initial response error [c534613]
Removed
- 🔥 Remove cloudron-specific files [3d7f778]
- ➖ Use minio for presigned urls and remove aws sdk [9a79bc3]
Fixed
- 🐛 Fix forced color mode localStorage sync issue [6a0f6e4]
- 🐛 Fix persistence when user selects system color mode [ce9ad8b]
- 🐛 Fix remembered user reset hasStarted on page refresh [9d29a88]
- 🐛 (fileUpload) Make file type optionnal [124cb8f]
- 💚 Make sure __ENV.js file is properly cached [a1179e3]
- 🐛 (embed) Make sure env.ts is not bundled in js embed lib [da4005e]
- 🐛 (embed) Fix env reading in embed [5b20f41]
- 🐛 Fix delete session with client side actions [013c7a6]
- 🐛 Improve parse runtime env reading function [036b407]
- 🚑 Set proper env defaults [efd4600]
- 💚 Add required env to github workflows [1c680c3]
- 🚑 (lp) Fix environment injection in landing page [6dc9b28]
- 🐛 (webhook) Fix saving invalid webhook when duplicated [a23a8c4]
- 🚑 (typebotLink) Fix incoming linked typebot variables filling [055cf03]
- 🚑 Properly preprocess typebot version [793218a]
- 🐛 (sendMessage) Correctly preprocess and parse fetched bot [06ecdf0]
- 🐛 Fix legacy publicId format validation [fe54888]
- 🐛 (customDomains) Transform name to lower case before validating [83352d7]
- 🐛 (billing) Fix cancel webhook when publishedTypebot does not exist [6240fd9]
- 🐛 Fix getUsage query abort [dc4c19a]
- 🐛 (webhook) Fix variable list parsing in custom body [ed77f5d]
- 🐛 Stop refresh typebot when typebotId is undefined [e2075d6]
- 🐛 Parse valid publicId even though the prefix is empty [a4ba9a8]
- 🚑 Fix issue when duplicating bot losing groups [9cfca38]
- 🐛 Remove publicId and customDomain duplication on imported bots [304dfe2]
- 🚑 Fix customDomain regex valida...
v2.16.0
Added
- ✨ Stream bubble content if placed right after Op… [3952ae2]
Changed
- 💄 Improve multiple choice color when image background [ee067ce]
- ⚡ (condition) Add regex comparison item [aa9f5bc]
- 💄 (embed) Improve avatar alignment and audio auto load [14c3d95]
- ⚡ (video) Detect youtu.be URLs for video bubbles [e34b939]
- ⚡ (paymentInput) Handle Stripe redirection [c99298e]
- 🔧 Add import contact to brevo script [c124671]
- 💄 Fix round icons color in dark mode [4607f0e]
- 🚸 New dedicated onboarding page [43555c1]
- 🚸 Update onboarding bot [283c55c]
- ⚡ (embed) Add customizable bubble close icon [c8bc659]
- ⚡ Replace Google fonts with Bunny fonts [cccf905]
- ⚡ (video) Add youtube shorts auto parsing [1ebd528]
- ⚡ Regroup database queries of /sendMessage in one place [aa4c16d]
- ⬆️ Upgrade giphy package [1095cf7]
Fixed
- 🐛 (embed) Fix custom close icon placement in bubble button [81c2e50]
- 🐛 Fix TextBubble 'Edit Link' background color in dark mode (#653) [f8af76d]
- 🐛 (analytics) Fix analytics drop-off rate not computing correctly [3df81a3]
- 🐛 (embed) Remove at functions for better compability [320cffc]
- 🐛 (analytics) Fix previous total computation max call stack exceeded [7a7d471]
- 🐛 Fix table list when empty always show "add" button [b171b39]
- 🐛 (sendMessage) Return updated session in all cases [7942ae4]
- 🐛 Fix bunny fonts URL path [defe001]
- 🐛 Add setInputValue to Typebot embed object [6c54065]
- 🐛 Fix first-time pnpm dev [b99b58b]
- 🐛 Fix viewer's `.env.local.example` inline comment [13ac469]
Security
- 🔒 (auth) Block disposable emails during sign up [abc3abd]
Miscellaneous
- 📝 (openai) Add troobleshoot guide for empty message issue [482462f]
- 📝 Add a guide on how to create a new block in CONTRIBUTING [e499478]
- 📦 Release WP plugin 3.2.0 [5dc01db]
- 📝 Remove old stripe env var [b17177f]
- 📝 Add "conditionally display button" video in docs [0c923b7]
- 📝 Update README (#632) [9433d3e]
- 🧑💻 (docs) Add "Edit this page" links in docs [04faa3e]
- 🧑💻 (results) Add get result by id API endpoint [3283d7e]
- Support specifying custom OAuth scope (#619) [48f074c]
- 📝 Add clarification for forks commercialization [22c1e2e]
- 🧑💻 Exit prisma command if database url starts with "postgres://" [0ea30bc]
v2.15.2
Added
- ✨ (embed) Add new command setInputValue [be7be7b]
- ✨ Add Next.js embed library [e293cb0]
- 👷♂️ Improve monthly clean database script [455c3bd]
Changed
- 🗃️ Remove extendedWhereUnique feat [2c2952e]
- ⚡ Replace updates with updateManys when possible [3426d66]
- ♿ Remove invalid js in meta head code [521cb50]
- ⏪ Downgrade next package version [d3fb31b]
- ⬆️ Upgrade dependencies [81bc074]
- 🚸 (billing) Set existing stripe customer for custom plan checkout [de08179]
- ⚡ (audio) Implement more robust auto play [0a85f33]
- ⏪ Revert onCanPlay callback [d6c6434]
- ⬆️ Upgrade OpenAI stream deps [5644a0c]
- ⚡ (settings) Parse custom head code to remove invalid text nodes [174d50a]
- 🔧 Rewrite viewer to landing-page [0465275]
- 🚸 (theme) Move isBrandingEnable param in the Theme tab [a31345a]
Fixed
- 🐛 (pixel) Fix event tracking [7d62c7a]
- 🐛 (bot) Improve canPlay issue fixin [0b4b15c]
- 🐛 (bot) Fix setTimeout onCanPlay concurrency issues [082084a]
- 🐛 (bot) Fix double callback on video and audio bubble [abb363b]
- 🐛 (openai) Fix incompatible OpenAI types [6565fcc]
- 🐛 (bot) Fix audio and video autoplay when loading take some time [ba3a2b7]
- 🚑 Fix invalid rewrites for custom domains [37bb172]
- 🚑 (lp) Hard-code rewrite to typebot.io [b2a9734]
- 🐛 (workspace) Fix members list limit bug [fc0e378]
- 🚑 (bot) Fix try catch injection when opening s… [b71e957]
- 🚑 (bot) Share inject custom head code again [3421e48]
- 🐛 (ga) Fix gtag not initializing properly [8ce5447]
- 🐛 (bot) Fix audio and video autoplay error catching [5587bfb]
Miscellaneous
- 📝 Remove pixel troubleshoot section [12ce4eb]
- 📝 (settings) Update General section [93337bd]
- 📝 Add script block precision [88e2f50]
- 📝 Add troubleshoot self-host page [844832f]
- Fix typo in inject-runtime-env.sh (#599) [c365c54]
- 📝 (theme) Add change bot avatar guide in docs [28fd81c]
- 🧑💻 (bot) Wrap custom head code scripts with try catch [1beb4bb]