2
0
Commit Graph

109 Commits

Author SHA1 Message Date
eb9c3b6003 🔧 Remove importHelpers from lib package
Closes #1727
2024-08-21 14:48:47 +02:00
c6005c49a2 (credentials) Add credentials management menu in workspace settings
Closes #1567
2024-07-16 15:11:48 +02:00
043f0054b0 ⬆️ Upgrade AI SDK (#1641) 2024-07-15 14:32:42 +02:00
6db0464fd7 Add attachments option to text input (#1608)
Closes #854
2024-06-26 10:13:38 +02:00
76fcf7ee93 Add "Generate variables" actions in AI blocks
Closes #1586
2024-06-18 12:13:00 +02:00
bec9cb68ca ⬆️ Upgrade chakra version 2024-06-17 14:12:14 +02:00
233ff91a57 🚸 Display error toast when script or set vari… 2024-06-11 18:18:05 +02:00
ee834999e6 Support Vision for compatible AI models
Closes #1313
2024-06-11 10:51:02 +02:00
15b2901f8a ♻️ (mistral) Use new ai sdk Mistral core 2024-05-21 16:08:35 +02:00
7d70f0243b 🐛 Fix webhook default timeout and unoptimized json parser (#1492) 2024-05-02 16:50:06 +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
d608a30e47 (phoneInput) Add missing Dominican Republic dial codes
Closes #649
2024-04-11 18:14:00 +02:00
d96f384e02 ♻️ Migrate from got to ky (#1416)
Closes #1415
2024-04-05 09:01:16 +02: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
a4c865ca26 💚 Fix embeds build and create-block CLI 2024-03-19 10:38:55 +01:00
ed5096e2b6 ♻️ Include forged blocks schema in typebot schema
Closes #1364
2024-03-19 08:31:36 +01:00
5073be2439 ♻️ Remove @typebot.io/schemas from @typebot.io/lib 2024-03-15 16:32:29 +01:00
77bc138c38 🚸 (results) Improve submitted at field parsing 2024-03-05 10:06:42 +01:00
4ca613e83a ♻️ Use at function instead of dangerous direct lookup array index 2024-03-04 14:14:06 +01:00
f14eb91d2a 🐛 (fileUpload) Fix files deletion on result delete 2024-03-04 11:38:20 +01:00
434b06767d 📈 (posthog) Send user last login event 2024-03-04 10:04:48 +01:00
b9e54686d5 ⬆️ Upgrade and improve plate editor
Closes #606
2024-02-27 10:03:55 +01:00
33cbb2b254 🚸 Rename "webhook" block to "HTTP request" 2024-02-16 12:04:25 +01:00
f5bdba53b9 🐛 (dify) Fix Dify error when inputs are empty 2024-02-12 11:41:57 +01:00
9014c4ab09 🐛 Revert to got for user created webhook to fix function crash 2024-02-03 12:38:09 +01:00
4122d73908 💚 Fix mockedUser default props 2024-02-02 14:48:09 +01:00
fd4867f3ae 📈 Send onboarding replies to PostHog 2024-02-02 11:58:32 +01:00
678e6d5c49 🐛 Fix new markdown parser on web runtime 2024-02-01 16:52:54 +01:00
3e8e8829f1 💚 Move ky package to typebot.io/lib 2024-02-01 14:25:59 +01:00
92a1d672fd ♻️ Re-organize telemetry package 2024-02-01 14:19:24 +01:00
2462e794c9 ⬆️ Upgrade next 2024-01-31 14:58:31 +01:00
8ad4a0996c 🚸 Enable OneDrive video url parsing 2024-01-31 08:29:44 +01:00
ff9c4726cc 🚸 Rewrite the markdown deserializer to improve br… (#1198)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Refactor**
- Updated markdown handling and serialization libraries for improved
performance and accuracy in text formatting.
- **New Features**
- Enhanced rich text and markdown conversion capabilities, providing
users with more reliable and seamless text formatting options.
- **Documentation**
- Added detailed documentation for markdown to rich text conversion and
vice versa, ensuring easier understanding and implementation for
developers.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-31 08:03:13 +01:00
6215cfbbaf (fileUpload) New visibility option: "Public", "Private" or "Auto" (#1196)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced file visibility options for uploaded files, allowing users
to set files as public or private.
- Added a new API endpoint for retrieving temporary URLs for files,
enhancing file accessibility.
- Expanded file upload documentation to include information on file
visibility settings.
- Updated URL validation to support URLs with port numbers and
"http://localhost".
- **Enhancements**
- Improved media download functionality by replacing the `got` library
with a custom `downloadMedia` function.
- Enhanced bot flow continuation and session start logic to support a
wider range of reply types, including WhatsApp media messages.
- **Bug Fixes**
- Adjusted file path and URL construction in the `generateUploadUrl`
function to correctly reflect file visibility settings.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-30 08:02:10 +01:00
bf6c258edc 🚸 (editor) Add graph gesture notification 2024-01-29 09:37:19 +01:00
1c4c058e01 🐛 (editor) Fix duplicate group unique key parsing
Closes #1148
2024-01-12 14:59:28 +01:00
69b113fc85 🧐 Add exportResults script 2024-01-12 10:16:01 +01:00
5d088b1e64 🐛 (whatsapp) Fix last char slicing if new line 2024-01-11 15:09:13 +01:00
9b5b277b5b 🐛 (whatsapp) Fix inline variable serializing 2024-01-11 00:14:55 +01:00
244a29423b (whatsapp) Improve / fix markdown serializer
Forked remark-slate code to create Typebot's own serializer

Closes #1056
2024-01-08 08:40:25 +01:00
deab1a12e9 (sheets) Use Google Drive picker and remove sensitive OAuth scope
BREAKING CHANGE: The Google Picker API needs to be enabled in the Google Cloud console. You also need to enable it in
your NEXT_PUBLIC_GOOGLE_API_KEY. You also need to add the drive.file OAuth scope.
2023-12-18 15:44:57 +01:00
fbddddcfa0 🚑 Release new embed lib version and fix createId dep… 2023-12-13 11:49:03 +01:00
5e019bbb22 Introducing The Forge (#1072)
The Forge allows anyone to easily create their own Typebot Block.

Closes #380
2023-12-13 10:22:02 +01:00
fcfbd63443 🛂 Auto ban IP on suspected bot publishing (#1095)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced sign-in error handling with specific messages for different
error types.
- Implemented IP-based restrictions for authentication and publishing
actions.

- **Bug Fixes**
- Updated the retrieval of user session information to improve
reliability.

- **Documentation**
- Updated usage instructions for `getServerSession` to reflect the new
authentication options.

- **Refactor**
- Replaced direct usage of `authOptions` with a new function
`getAuthOptions` to dynamically generate authentication options.
- Improved IP address extraction logic to handle various header formats.

- **Chores**
- Added a new `BannedIp` model to the database schema for managing
IP-based restrictions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-12-11 13:40:07 +01:00
4fdc1bfe5c Introducing Radar, fraud detection 2023-12-08 18:16:07 +00:00
73d2e165bf 🔥 Remove VIEWER_URL_INTERNAL variable
BREAKING CHANGE: NEXT_PUBLIC_VIEWER_INTERNAL does not exist anymore as typebot.io now directly points to the viewer project
2023-11-23 15:34:19 +01:00
bb41226a04 Allow user to share a flow publicly and make it duplicatable
Closes #360
2023-11-23 12:05:31 +01:00
1a44bf4935 (openai) Add create speech OpenAI action
Closes #1025
2023-11-20 14:01:50 +01:00
5298538ecb 🔊 Add response debug log for failing requests without errors 2023-11-17 15:42:40 +01:00