- Bumped versions of several packages across the codebase, including: - Updated `@supabase/supabase-js` from `2.51.0` to `2.52.0` - Incremented `next` from `15.4.1` to `15.4.2` - Updated `@types/node` from `^24.0.13` to `^24.0.15` - Upgraded `ai` from `4.3.18` to `4.3.19` - Updated `@next/bundle-analyzer` from `15.4.1` to `15.4.2` - Incremented `@next/eslint-plugin-next` from `15.4.1` to `15.4.2` - Bumped `eslint-config-next` from `15.3.5` to `15.4.2` - Updated `@kit/prettier-config` and other related packages for consistency and compatibility improvements.
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.