2
0
Commit Graph

429 Commits

Author SHA1 Message Date
8351e20fd3 🐛 (wa) Fix WhatsApp session stuck if state object is empty
Closes #1513
2024-05-15 17:47:38 +02:00
40f21203b5 (setVariable) Add Transcription system var (#1507)
Closes #1484
2024-05-15 14:24:55 +02:00
75c44d61d5 🔒 Use vm instead of Function in Node.js (#1509) 2024-05-14 14:17:40 +02:00
2578335cc9 🐛 (payment) Fix description variable parsing 2024-05-03 10:52:47 +02:00
7d70f0243b 🐛 Fix webhook default timeout and unoptimized json parser (#1492) 2024-05-02 16:50:06 +02:00
b4ae098440 (variables) Add session option in variables (#1490)
Closes #1488
2024-05-02 15:11:16 +02:00
7efb79d581 🐛 (httpReq) Properly parse big ints
Closes #1486
2024-05-01 08:46:01 +02:00
dc1929e15b 🐛 (openai) Fix ask assistant not correctly referencing uploaded f… (#1469)
…iles

Closes #1468, closes #1467, closes #1211
2024-04-24 16:11:06 +02:00
af014394da 🐛 (whatsapp) Enable custom embed blocks 2024-04-18 13:46:49 +02:00
3ca1a2f0d6 Remove empty strings from variable parsing when possible 2024-04-18 10:17:25 +02:00
7bec58e745 🚸 (whatsapp) Avoid multiple replies to be sent concurently
Closes #972, closes #1453
2024-04-18 09:38:22 +02:00
7e3e05fcb2 🐛 (whatsapp) Fix media download 2024-04-17 09:58:37 +02:00
4982400a4f 🚑 (condition) Fix not contains condition on list variable 2024-04-15 08:02:53 +02:00
3f367800df 🐛 Fix streaming text selection (#1444) 2024-04-12 11:02:28 +02:00
cae7be423a 🐛 (condition) Improve contains/not contains on list input
Closes #1430
2024-04-11 17:01:47 +02:00
d194fbec45 🐛 (buttons) Improve buttons matching when dynamic
Closes #1432, closes #1442
2024-04-11 12:16:55 +02:00
6594c56adf 🚸 (payment) Improve payment default currency be… 2024-04-11 11:03:02 +02:00
5c3c7c2b64 (theme) Add container theme options: border, shadow, filter (#1436)
Closes #1332
2024-04-10 10:19:54 +02:00
75dd554ac2 🔊 Improve http req timeout error 2024-04-09 15:08:09 +02:00
6e0388c501 🔊 Add prisma metrics to prometheus endpoint (#1420) 2024-04-06 15:08:57 +02:00
d96f384e02 ♻️ Migrate from got to ky (#1416)
Closes #1415
2024-04-05 09:01:16 +02:00
ef10f69f92 🐛 Fix ky not working due to fetch rewriting by mistral package
Closes #1396
2024-04-03 14:35:18 +02:00
7237901c05 🚑 (Revert stream condition for self-hosting) 2024-04-03 07:33:53 +02:00
2663ca2e18 🚑 Allow for regex without slashes for retro compat 2024-04-02 11:13:55 +02:00
a0ba8c5c2a 🐛 (conditions) Parse regex flags as well
Closes #1393
2024-03-29 08:06:16 +01:00
76e7fbd1c7 🐛 (conditions) Fix regex matching when starting and ending wi…
Closes #1393
2024-03-29 07:58:46 +01:00
c552fa7cc3 🐛 (typebotLink) Fix n+1 variable fill
Closes #1375
2024-03-26 19:25:03 +01:00
8e52ee800b 🚑 (stream) Re-enable stream on Vercel env 2024-03-22 11:57:49 +01:00
e435ead34d 🐛 Fix absolute URL bug with ky on backend 2024-03-21 14:29:07 +01:00
2fcf83c529 Introduce a new high-performing standalone chat API (#1200)
Closes #1154

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
	- Added authentication functionality for user sessions in chat API.
- Introduced chat-related API endpoints for starting, previewing, and
continuing chat sessions, and streaming messages.
- Implemented WhatsApp API webhook handling for receiving and processing
messages.
- Added environment variable `NEXT_PUBLIC_CHAT_API_URL` for chat API URL
configuration.

- **Bug Fixes**
	- Adjusted file upload logic to correctly determine the API host.
	- Fixed message streaming URL in chat integration with OpenAI.

- **Documentation**
- Updated guides for creating blocks, local installation, self-hosting,
and deployment to use `bun` instead of `pnpm`.

- **Refactor**
	- Refactored chat API functionalities to use modular architecture.
- Simplified client log saving and session update functionalities by
using external functions.
	- Transitioned package management and workflow commands to use `bun`.

- **Chores**
- Switched to `bun` for package management in Dockerfiles and GitHub
workflows.
	- Added new Dockerfile for chat API service setup with Bun framework.
	- Updated `.prettierignore` and documentation with new commands.

- **Style**
	- No visible changes to end-users.

- **Tests**
	- No visible changes to end-users.

- **Revert**
	- No reverts in this release.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-03-21 10:23:23 +01:00
9c86c5e76f 🐛 (pictureChoice) Fix dynamic image only variable saving 2024-03-19 14:02:53 +01:00
ed5096e2b6 ♻️ Include forged blocks schema in typebot schema
Closes #1364
2024-03-19 08:31:36 +01:00
782c08b15e 🐛 Fix retry message variable parsing
Closes #1369
2024-03-18 18:10:17 +01:00
5073be2439 ♻️ Remove @typebot.io/schemas from @typebot.io/lib 2024-03-15 16:32:29 +01:00
e9011aefd0 🐛 (wait) Parse wait seconds as float instead of int
Closes #1355
2024-03-15 15:17:07 +01:00
968abf5243 🚸 (calCom) Fix embed responsivity
Closes #1210
2024-03-15 15:16:53 +01:00
ff3807a265 ⬆️ Upgrade ai package 2024-03-14 19:40:40 +01:00
bbeb12cad2 🐛 Fix progress bar crash when input is undefined 2024-03-11 08:56:50 +01:00
0dc276c18f Restore chat state when user is remembered (#1333)
Closes #993

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Added a detailed explanation page for the "Remember user" setting in
the app documentation.
- Introduced persistence of chat state across sessions, with options for
local or session storage.
- Enhanced bot functionality to store and retrieve initial chat replies
and manage bot open state with improved storage handling.
- Added a new callback for chat state persistence to bot component
props.

- **Improvements**
- Updated the general settings form to clarify the description of the
"Remember user" feature.
- Enhanced custom CSS handling and progress value persistence in bot
components.
- Added conditional transition disabling in various components for
smoother user experiences.
- Simplified the handling of `onTransitionEnd` across multiple bubble
components.

- **Refactor**
- Renamed `inputIndex` to `chunkIndex` or `index` in various components
for consistency.
	- Removed unused ESLint disable comments related to reactivity rules.
	- Adjusted import statements and cleaned up code across several files.

- **Bug Fixes**
- Fixed potential issues with undefined callbacks by introducing
optional chaining in component props.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-03-07 15:39:09 +01:00
583294f90c 🐛 (whatsapp) Fix auto start when first input is file
Closes #1246
2024-03-07 14:26:48 +01:00
c2003dab91 ⬆️ Upgrade ai and openai packages 2024-03-07 14:26:48 +01:00
df209a8e9d 🧑‍💻 (whatsapp) Option to modify the default interactive split message number (#1296)
When using the whatsapp oficial api or another that use the same schema,
with env we can modify the number of groups that the interactive group
will be split.

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2024-03-07 08:05:08 +00:00
daaca9f817 🐛 (textBubble) Fix variable with text styles unwanted break lines 2024-03-04 16:21:06 +01:00
4ca613e83a ♻️ Use at function instead of dangerous direct lookup array index 2024-03-04 14:14:06 +01:00
3037771d1c 💚 Remove unused mp4 url check 2024-03-01 18:05:04 +01:00
3971e4a888 🚸 (whatsapp) Remove .mp4 regex restriction for video URLs
Closes #1282
2024-03-01 16:24:36 +01:00
275ba1b1c4 🚑 (whatsapp) Fix broken preview 2024-02-28 15:49:18 +01:00
9b656214d1 🐛 (chat) Enable prefilledVariables in preview mode
Also make list values compatible
2024-02-28 14:49:04 +01:00
229453d3d3 💄 Improve progress bar UI and make avoid starting at 0 2024-02-27 14:22:46 +01:00
b9e54686d5 ⬆️ Upgrade and improve plate editor
Closes #606
2024-02-27 10:03:55 +01:00