Skip to content

Better auth polar#295

Merged
krish-kant merged 5 commits into
mainfrom
better-auth-polar
Jun 17, 2026
Merged

Better auth polar#295
krish-kant merged 5 commits into
mainfrom
better-auth-polar

Conversation

@krish-kant

Copy link
Copy Markdown
Contributor

No description provided.

- Refactor subscription access logic to provide detailed status and reasons for access.
- Implement usage sync scheduler to periodically sync usage events with Polar.
- Update Polar webhook handlers to manage subscription events more effectively.
- Introduce advisory locking for usage sync to prevent concurrent executions.
- Add tests for subscription access status and webhook handling.
- Update environment variables for usage sync configuration.
- Improve error handling and logging throughout the subscription and usage sync processes.
- Add PATCH endpoint for billing settings with validation for spending limits.
- Update SpendingLimits component to handle limit input validation.
- Enhance billing settings service to manage notifications for spending thresholds.
- Introduce new resource type "ai" in billing schema and related services.
- Implement webhook handlers for subscription lifecycle events, including past due status.
- Update tests to cover new functionality and ensure proper behavior of billing settings and notifications.
- Introduced "blocked" status in job and test status handling.
- Enhanced event mapping to include blocked status.
- Updated API responses to return detailed billing block messages.
- Implemented billing block checks in job triggering and execution flows.
- Added utility functions for billing error formatting and response building.
- Updated UI components to display blocked status and messages appropriately.
- Modified tests to cover new blocked status scenarios.
- bump nodemailer from 8.0.4 to 8.0.11
- bump tar from 7.5.11 to 7.5.16
- add @babel/core override to ^7.29.7
- add form-data override to >=4.0.6
- bump esbuild from >=0.25.0 to ^0.28.1
@github-actions

Copy link
Copy Markdown

📚 Docs Preview: https://c43a2d66.supercheck.pages.dev

@krish-kant krish-kant merged commit f1bb3b1 into main Jun 17, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant