Feature Policies API + Invitations Policies (#375)

- Added Feature Policy API: a declarative system to enable/disable/modify default behavior in the SaaS kit
- Team invitation policies with pre-checks using the Feature Policy API: Invite Members dialog now shows loading, errors, and clear reasons when invitations are blocked
- Version bump to 2.16.0 and widespread dependency updates (Supabase, React types, react-i18next, etc.).
- Added comprehensive docs for the new policy system and orchestrators.
- Subscription cancellations now trigger immediate invoicing explicitly
This commit is contained in:
Giancarlo Buomprisco
2025-09-30 12:36:19 +08:00
committed by GitHub
parent 3c13b5ec1e
commit 1dd6fdad22
53 changed files with 3908 additions and 1128 deletions

View File

@@ -8,11 +8,11 @@
"format": "prettier --check --write \"**/*.{js,cjs,mjs,ts,tsx,md,json}\""
},
"dependencies": {
"@ai-sdk/openai": "^2.0.34",
"@ai-sdk/openai": "^2.0.38",
"@faker-js/faker": "^10.0.0",
"@hookform/resolvers": "^5.2.2",
"@tanstack/react-query": "5.90.2",
"ai": "5.0.51",
"ai": "5.0.56",
"lucide-react": "^0.544.0",
"next": "15.5.4",
"nodemailer": "^7.0.6",
@@ -32,7 +32,7 @@
"@tailwindcss/postcss": "^4.1.13",
"@types/node": "^24.5.2",
"@types/nodemailer": "7.0.1",
"@types/react": "19.1.13",
"@types/react": "19.1.15",
"@types/react-dom": "19.1.9",
"babel-plugin-react-compiler": "19.1.0-rc.3",
"pino-pretty": "13.0.0",