diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c291ba5563..d46a58c30c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,40 @@ # Changelog + +## 3.3.0 (2025-01-06) + +### Changed + +- ⚡ (conditions) Add >= and <= comparison operators ([#1938](https://github.com/baptisteArno/typebot.io/issues/1938)) [[b2865c6](https://github.com/baptisteArno/typebot.io/commit/b2865c61527f5e10671d1a213e14b2cfa4ed5548)] +- ⚡ (buttons) filter unique items from dynamic buttons variable ([#1926](https://github.com/baptisteArno/typebot.io/issues/1926)) [[b409c96](https://github.com/baptisteArno/typebot.io/commit/b409c962bed419b2c4784696879acde086aeaf4d)] +- ♻️ Add distinctId to groupIdentify methods [[5233c79](https://github.com/baptisteArno/typebot.io/commit/5233c794e0bc88d6594c5f6a28751a8ea0160702)] +- ⚡ Add Pi theme in gallery [[8518a52](https://github.com/baptisteArno/typebot.io/commit/8518a527871836eedec66679873ed0896d6e159e)] +- 🚸 (setVariable) Add timezones select input ([#1925](https://github.com/baptisteArno/typebot.io/issues/1925)) [[d714e31](https://github.com/baptisteArno/typebot.io/commit/d714e316c24e88e7fbf1cb4b1b91815faf6710f5)] +- ♻️ Include autoContinueChat function in startBotFlow [[16b7776](https://github.com/baptisteArno/typebot.io/commit/16b7776283c4d05a5dc52cb3a5920ca9c9de0906)] + +### Fixed + +- 🐛 (webhook) Fix condition to check for parsed webhook data [[7c0d349](https://github.com/baptisteArno/typebot.io/commit/7c0d3496aace442e0dc1868b4926deada5b48e72)] +- 🐛 (webhook) Accept empty body webhook block request [[03e881b](https://github.com/baptisteArno/typebot.io/commit/03e881b593e51d7ba51cf14674753579d167c9b1)] +- 🐛 Improve remember state recovery and fix potential stuck state [[2875b1b](https://github.com/baptisteArno/typebot.io/commit/2875b1bc72b0e6af939d4020fa99ab3faf69d194)] +- 🐛 Release isolate's context on each function execution to avoid memory limit error [[460883c](https://github.com/baptisteArno/typebot.io/commit/460883cb6bc90b40f477ff10b436a4f77f2a611a)] +- 🐛 Make BottomSpacer height's dynamic to fix auto scroll with small containers [[11503dc](https://github.com/baptisteArno/typebot.io/commit/11503dc3e6b914ca7dbf00b57c057778c0a0ec4b)] +- 🚑 Check if state has currentBlockId defined before autocontinuing [[4d7423e](https://github.com/baptisteArno/typebot.io/commit/4d7423ed3aa2bb163d0249430f817346e7fc3da5)] +- 🐛 Refacto autoStart logic and use it also if session was only registered [[5a82ee4](https://github.com/baptisteArno/typebot.io/commit/5a82ee46d0a6b690f4f5dad96340866635abec0e)] +- 🐛 Fix drop off rates especially with buttons inputs [[247d805](https://github.com/baptisteArno/typebot.io/commit/247d805d24ac357e37b7bbb13122424271a8f4bb)] +- 🐛 adjust BlockCardLayout min height to avoid layout shift [[417f33b](https://github.com/baptisteArno/typebot.io/commit/417f33bc5da141de9a4f33a98970d8fcfb01c003)] +- 🐛 Fix invalid findResult return type causing crash when existingResults was archived [[23578ec](https://github.com/baptisteArno/typebot.io/commit/23578ec784923a3b9a6649a4d832c49d547c052f)] + +### Miscellaneous + +- 🧑‍💻 Add ignoreTLS option to SMTP configuration ([#1943](https://github.com/baptisteArno/typebot.io/issues/1943)) [[ec7b221](https://github.com/baptisteArno/typebot.io/commit/ec7b2215f9fc391a9420c025da714f8325b2f314)] +- 📝 Add "marketing automation" blog post ([#1924](https://github.com/baptisteArno/typebot.io/issues/1924)) [[aba3496](https://github.com/baptisteArno/typebot.io/commit/aba34964dbb6e9a4323eba1b7eeb962117540dd8)] +- 🛂 Add `accessRight` prop in listTypebots endpoint response [[5a770d3](https://github.com/baptisteArno/typebot.io/commit/5a770d30f201ab689cb43318f4363e94a419bb6f)] +- 📝 Clarify urgent support request criteria [[16501cc](https://github.com/baptisteArno/typebot.io/commit/16501cc57c46d0803de088fbc345a54f4344bb21)] +- 📝 Add 'Ai chabot for hotels' blog post ([#1915](https://github.com/baptisteArno/typebot.io/issues/1915)) [[1bfcbf4](https://github.com/baptisteArno/typebot.io/commit/1bfcbf498142b144505528dfa6e8ee324df6570e)] +- 📝 Add deployment doc for Alibaba Cloud ([#1901](https://github.com/baptisteArno/typebot.io/issues/1901)) [[ab78f4a](https://github.com/baptisteArno/typebot.io/commit/ab78f4ad3cab3099ab7369f02af794a30ae1373f)] + + ## 3.2.0 (2024-12-07) diff --git a/package.json b/package.json index 446faa19488..1b2e92be983 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "root", - "version": "3.2.0", + "version": "3.3.0", "private": true, "workspaces": [ "packages/*", diff --git a/packages/conditions/src/executeCondition.ts b/packages/conditions/src/executeCondition.ts index abf09c11bce..f5c9661c6b9 100644 --- a/packages/conditions/src/executeCondition.ts +++ b/packages/conditions/src/executeCondition.ts @@ -118,7 +118,8 @@ const executeComparison = return parseDateOrNumber(inputValue) >= parseDateOrNumber(value); return Number(inputValue) >= value.length; } - if (typeof value === "string") return inputValue.length >= Number(value); + if (typeof value === "string") + return inputValue.length >= Number(value); return inputValue.length >= value.length; } case ComparisonOperators.LESS_OR_EQUAL: { @@ -128,7 +129,8 @@ const executeComparison = return parseDateOrNumber(inputValue) <= parseDateOrNumber(value); return Number(inputValue) <= value.length; } - if (typeof value === "string") return inputValue.length <= Number(value); + if (typeof value === "string") + return inputValue.length <= Number(value); return inputValue.length <= value.length; } case ComparisonOperators.IS_SET: {