* chore: update package versions and dependencies across multiple files - Bumped application version to 2.21.3 in package.json. - Updated dependencies including turbo to version 2.6.1, @next/bundle-analyzer and @next/eslint-plugin-next to version 16.0.3, and @supabase/supabase-js to version 2.81.1. - Adjusted @types/node, @types/react, and @types/react-dom versions for consistency. - Refactored package.json files to utilize catalog dependencies for improved management. - Incremented various other dependencies such as react-i18next to version 16.3.3 and tailwind-merge to version 3.4.0. * chore: downgrade @next/bundle-analyzer and @next/eslint-plugin-next to version 16.0.2 and update next to version 16.0.2 in pnpm-lock.yaml and pnpm-workspace.yaml - Updated package versions for consistency across the project. - Adjusted the overflow property in the PageWithSidebar component for improved layout handling. * feat: add sorting functionality to DataTable header - Implemented click handler for sortable headers in the DataTable component, allowing users to toggle sorting between ascending and descending order. - Enhanced user interaction by updating the header's visual state based on the current sorting direction. * fix: update layout and structure in UserHomePage and DashboardDemo components - Added a new div structure within the PageBody of UserHomePage for improved layout. - Simplified the grid structure in DashboardDemo by adjusting the number of columns for better responsiveness. - Enhanced the PageWithSidebar component to ensure proper flex behavior and layout consistency. * refactor: simplify PageBody structure in UserHomePage - Removed unnecessary div elements within the PageBody of UserHomePage for cleaner layout. - Enhanced readability and maintainability of the component structure.
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.