Commit Graph

265 Commits

Author SHA1 Message Date
Baptiste Arnaud
9ef8081a0a
🔧 Prepare v3.17.1 release (#2509)
- Bump root package version to 3.17.1.
- Add the 3.17.1 changelog section for the upload proxy fix and manual
deploy docs update.
2026-05-22 16:04:07 +02:00
Baptiste Arnaud
31c360a342
🔧 Prepare v3.17.0 release
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Workflows (Fly.io) / deploy (push) Has been cancelled
Bump root package version to 3.17.0 and add the 3.17.0 changelog section for the release workflow.
2026-05-21 16:45:10 +00:00
Baptiste Arnaud
e296c870bc
🐛 Fix WhatsApp webhook verification (#2498)
- Verify Meta WhatsApp webhooks with optional app secrets while
preserving soft compatibility for existing credentials.
- Add optional 360Dialog webhook secret validation and update flows for
existing WhatsApp credentials.
- Validate Meta WABA and phone number access, then auto-subscribe the
Meta app to the WABA during setup.
- Clear and disable WhatsApp integration when the active credentials are
removed, including published bot state.
- Preserve raw webhook request bodies, document preview app secret
configuration, and add focused webhook verification tests.
- Update related tooling, Biome ignore rules, opensrc guidance, and
small formatting/type-safety cleanup.
2026-05-21 16:45:32 +02:00
Baptiste Arnaud
6f289f647f
🔒️ Upgrade vulnerable deps (ai v5, nodemailer v8, otel sdk-node 0.217) (#2491)
## Summary

Fixes 18 open Dependabot alerts and migrates affected code to the new
major versions:

- `@opentelemetry/sdk-node` → `^0.217.0` (Prometheus exporter DoS,
GHSA-q7rr-3cgh-j5r3)
- `nodemailer` → `^8.0.5` across all manifests + root override
(GHSA-vvjj-xcjg-gr5g, GHSA-c7w3-x93f-qmm8)
- `ai` → `^5.0.52` (GHSA-rwvc-j5jr-mgvh); legacy 3.x dep removed from
`packages/deprecated/legacy` and replaced with a small in-tree
`OpenAIStream` + `StreamingTextResponse` shim
- Provider SDKs aligned to v5 peer: `@ai-sdk/openai`, `anthropic`,
`groq`, `mistral`, `perplexity`, `deepseek`, `togetherai`, `openRouter`,
`dify-ai-provider`

### AI SDK v4 → v5 migration

- `parseTools`: `parameters` renamed to `inputSchema`
- `runChatCompletion` / `runChatCompletionStream`: `maxSteps` replaced
by `stopWhen(stepCountIs(maxSteps))`;
`usage.{prompt,completion,total}Tokens` replaced by
`totalUsage.{input,output,total}Tokens`
- New `toLegacyDataStream` helper that re-emits the v4 data-stream
protocol (`0:text`, `3:error`, `9:tool_call`, …) so existing consumers
in `embeds/js` and the OpenAI `askAssistant` / `askModel` handlers keep
working
- `compatibility: "strict"` removed from `createOpenAI` (option dropped
in v5)
- `formatDataStreamPart` / `processDataStream` imports moved to
`@ai-sdk/ui-utils` (legacy package pinned at 1.2.11)

### E2E test follow-up

Second commit fixes Playwright tests that broke once the env-resolved
URLs / new SDK surface kicked in:
- `fileUpload`: assert exported URL contains `parseS3PublicBaseUrl()`
(not `S3_ENDPOINT`) so it works with `S3_PUBLIC_CUSTOM_DOMAIN`; verify
post-deletion via cache-busted `request.get` instead of a CDN-cached new
tab.
- `ssrf`: assert on the actual "Security validation failed" log emitted
by the pre-flight check; fixture now maps `response.statusCode` into a
`Status` variable so `Status: …` assertions resolve.
- Root `dev` script includes `@typebot.io/partykit` so the webhook
listener e2e test can hit PartyKit on `:1999`.

Also fixes a pre-existing broken anchor link in `whatsapp-ai-agent.mdx`
that blocked the landing-page link checker.

## Test plan

- [ ] `bunx nx test` passes
- [ ] `bunx nx typecheck` passes
- [ ] `bunx nx affected -t
format-and-lint,lint-repo,check-broken-links,test --parallel=4` passes
(pre-commit)
- [ ] `bun run dev` boots builder, viewer, workflows **and** PartyKit
- [ ] Viewer Playwright suite: `fileUpload.spec.ts`, `ssrf.spec.ts`,
`webhookListener.spec.ts` all green
- [ ] Manual smoke: OpenAI `askAssistant` block streams correctly in the
embed (v4 data-stream protocol preserved)
- [ ] Manual smoke: Anthropic / Mistral / Groq blocks still execute
end-to-end
- [ ] Manual smoke: send a test email through a workspace SMTP block
(nodemailer v8)

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 16:30:36 +02:00
Justin René Back
c5a8c85026
🐛 Add prisma.config.ts to Dockerfile (#2442)
Fixes #2441

---------

Co-authored-by: Baptiste Arnaud <baptiste@typebot.io>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 10:59:30 +02:00
Baptiste Arnaud
7bc1a6f856
🔧 Prepare v3.16.0 release (#2439)
## Summary
- Bump version from 3.15.2 to 3.16.0 and generate changelog covering all
changes since last release
- Fix Docker build for Nx monorepo by adding
`DATABASE_URL=postgresql://` to the `next build` step (Prisma needs it
during page data collection)
- Fix broken blog link in whatsapp-lead-generation post

## Test plan
- [x] Docker image builds successfully for both `builder` and `viewer`
(tested locally)
- [ ] Verify release workflow triggers correctly when tagging `v3.16.0`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 10:52:24 +02:00
Baptiste Arnaud
92a33129e4
🔧 Upgrade effect and fix workflows ci build 2026-03-23 10:23:08 +01:00
Baptiste Arnaud
9cf506c5d1
🔧 Add feature-flags service 2026-03-20 17:58:25 +01:00
Baptiste Arnaud
c2b251c7e5
♻️ Migrate to NX (#2418) 2026-03-18 15:29:32 +00:00
Baptiste Arnaud
ae5ea1f328
🔧 Fix Prisma scripts and refresh dependencies (#2389)
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
Deploy Workflows (Fly.io) / deploy (push) Has been cancelled
- Update workspace dependencies across apps and packages to align with
new lint/Effect expectations
- Adjust Prisma scripts and configs (db push, studio, adapters, read
replicas) for the latest CLI flags and tracing helpers
- Refresh generated locks and helper modules (emails, bot engine,
telemetry, rich text, scripts)
2026-02-12 12:45:01 +01:00
Baptiste Arnaud
7f52336174
🔧 Update root packages and Agents instruction 2026-02-12 09:32:59 +01:00
Baptiste Arnaud
5e0de89911
🔧 Add forward WA errors and campaign statuses option 2026-02-11 16:46:35 +01:00
Baptiste Arnaud
87bc6602e5
🔧 Setup codex local env setup script 2026-02-11 11:15:25 +01:00
Baptiste Arnaud
e8e8381932
🔧 Clean up agent skills and worktree commands 2026-01-28 15:53:21 +01:00
Baptiste Arnaud
aa9732da54
🔧 enforce assignment-safe linting (#2379)
This enforces Biome's no-assign-in-expressions rule and rewrites
offending spots. Turbo typecheck/test now participate in caching with
clearer output logs. Tooling versions and Prisma generate flags were
updated, plus minor doc/format tweaks.
2026-01-28 11:40:08 +01:00
Baptiste Arnaud
982bf67b84
Add turborepo skill references and fix symlinks (#2368)
Adds the turborepo skill plus its reference docs. Updates agent symlinks
to be relative and adds a sync-agents-config script. No runtime behavior
changes beyond tooling.
2026-01-24 17:58:11 +01:00
Baptiste Arnaud
b463379fe3
🔧 Stream result export directly to S3 2026-01-22 17:37:28 +01:00
Baptiste Arnaud
e9cec09cba
🔧 Use export results Effect workflow (#2363) 2026-01-22 17:11:00 +01:00
Baptiste Arnaud
a33289e4f1
🔧 Pin Node 22 for builder/viewer (#2354) 2026-01-19 10:01:34 +01:00
Baptiste Arnaud
44fa8d0625
🔧 Init new spec-driven AI scripts 2026-01-16 18:45:35 +01:00
Baptiste Arnaud
146581ba6b
🔧 Fix workflows fly ci
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
2026-01-16 17:23:32 +01:00
Baptiste Arnaud
ff728400d9
🔧 Upgrade bun and fix workflows ci 2026-01-16 13:22:27 +01:00
Baptiste Arnaud
8febf1a4bd
Introduce Effect-based workflow system (#2345) 2026-01-15 10:35:22 +01:00
Baptiste Arnaud
a15673f5a6
♻️ Migrate builder from tRPC to oRPC (#2342) 2026-01-13 15:10:07 +01:00
Baptiste Arnaud
3e921b2301
🔖 Release 3.15.2 2026-01-11 21:57:30 +01:00
Baptiste Arnaud
e9aeb0b568
🔖 Release v3.15.1 2026-01-09 14:55:19 +01:00
Baptiste Arnaud
5f59bb1dd6
🔖 Release v3.15.0 2026-01-06 08:55:55 +01:00
Baptiste Arnaud
6976d4d50a
🔖 Release v3.14.2
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
2025-12-12 10:29:13 +01:00
Baptiste Arnaud
b16af6e928
🔖 Release v3.14.1 2025-12-07 09:09:46 +01:00
Baptiste Arnaud
f6ca15a82e
🔖 Release v3.14 2025-12-01 12:32:47 +01:00
Baptiste Arnaud
c9d2fb36c6
⬆️ Upgrade bun 2025-11-27 11:21:57 +01:00
Baptiste Arnaud
4c0e86454e
⬆️ Upgrade dev tools 2025-11-27 11:18:38 +01:00
Baptiste Arnaud
150cbc682c
🔖 Release v3.13.2 2025-11-18 17:56:00 +01:00
Baptiste Arnaud
6655635da7
🔖 Release v3.13.1 2025-11-11 12:27:31 +01:00
Baptiste Arnaud
a964ec77e1
🔖 Release v3.13.0 2025-11-03 10:01:03 +01:00
Baptiste Arnaud
626e225782
⬆️ Upgrade to bun v1.3.0 2025-10-16 10:32:51 +02:00
Baptiste Arnaud
7a97289867
🔧 Fix restore script to be reliable 2025-10-14 17:21:49 +02:00
Baptiste Arnaud
f4622de1d6
🧑‍💻 Fix initial build execution including typecheck 2025-10-14 14:13:20 +02:00
Baptiste Arnaud
fb35c6dce6
🔖 Release v3.12.0 2025-10-03 11:22:08 +02:00
Baptiste Arnaud
3b65b787ac
🔧 Fix bun.lock file not copied to Docker image
Closes #2293
2025-10-03 11:21:31 +02:00
Baptiste Arnaud
9688a297ad
🔧 Revert to carret version pinning 2025-10-03 10:51:27 +02:00
Baptiste Arnaud
f8f9710bbd
🐛 Fix bot standard not initially loading 2025-09-15 10:48:33 +02:00
Baptiste Arnaud
e928987623
⬆️ Upgrade tooling
TS v5.9, Biome v2 + fixes
2025-09-09 10:32:38 +02:00
Baptiste Arnaud
1684f986f5
🔖 Release v3.11.0 2025-09-02 14:53:23 +02:00
Baptiste Arnaud
111b3f0e37
🔖 Release v3.10.0 2025-08-06 18:27:34 +02:00
Baptiste Arnaud
354b9e7893
♻️ Harmonize unit test execution across the workspace 2025-07-07 15:44:33 +02:00
Baptiste Arnaud
9eb576598a
🔖 Release v3.9.0
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
2025-07-04 15:51:16 +02:00
Baptiste Arnaud
d9c31a1949
⬆️ Upgrade Tanstack Start 2025-07-01 15:53:32 +02:00
Baptiste Arnaud
aee2464342
🔖 Release v3.8.0 2025-06-03 15:04:25 +02:00
Baptiste Arnaud
bce55482b5
⬆️ Upgrade ark-ui/solid 2025-06-02 12:44:07 +02:00