* chore(dependencies): update package versions for improved compatibility - Bumped `@ai-sdk/openai` from `1.3.23` to `2.0.11` for enhanced functionality. - Updated `@tanstack/react-query` from `5.84.1` to `5.85.0` to incorporate the latest improvements. - Incremented `ai` from `4.3.19` to `5.0.11` for better performance. - Updated `lucide-react` from `0.536.0` to `0.539.0` for improved compatibility. - Incremented `next` from `15.4.5` to `15.4.6` to leverage new features and fixes. - Updated `@marsidev/react-turnstile` from `1.2.0` to `1.3.0` for enhanced functionality. - Updated `@nosecone/next` from `1.0.0-beta.9` to `1.0.0-beta.10` for better integration. - Updated `@supabase/supabase-js` from `2.53.0` to `2.55.0` for improved performance. - Incremented `@markdoc/markdoc` from `0.5.3` to `0.5.4` for better integration. - Updated `@next/bundle-analyzer` from `15.4.5` to `15.4.6` for enhanced compatibility. - Updated `@types/node` from `24.2.0` to `24.2.1` for type safety improvements. - Updated `@types/react` from `19.1.9` to `19.1.9` for consistency across packages. * fix(logger): update import statement for pino to default import - Changed the import of `pino` from named import to default import for consistency with the library's usage and to avoid potential issues with module resolution.
Database Webhooks - @kit/database-webhooks
This package is responsible for handling webhooks from database changes.
For example:
- when an account is deleted, we handle the cleanup of all related data in the third-party services.
- when a user is invited, we send an email to the user.
- when an account member is added, we update the subscription in the third-party services
The default sender provider is directly from the Postgres database.
WEBHOOK_SENDER_PROVIDER=postgres
Should you add a middleware to the webhook sender provider, you can do so by adding the following to the WEBHOOK_SENDER_PROVIDER environment variable.
WEBHOOK_SENDER_PROVIDER=svix
For example, you can add [https://docs.svix.com/quickstart]](Swix) as a webhook sender provider that receives webhooks from the database changes and forwards them to your application.
Svix is not implemented yet.