- Upgraded Next.js to version 16.0.1 and React to version 19.2.0. - Updated various packages including @supabase/supabase-js to 2.78.0, lucide-react to 0.548.0, and react-i18next to 16.2.3. - Adjusted @types/node version to 24.9.2 and other related dependencies. - Refactored package.json files to use PNPM catalogs for better dependency management. - Updated ESLint configurations and related plugins to the latest versions.
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.