Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1.0.0 #168

Merged
merged 2 commits into from
Jan 13, 2025
Merged

Version 1.0.0 #168

merged 2 commits into from
Jan 13, 2025

Conversation

PaulAsjes
Copy link
Contributor

@PaulAsjes PaulAsjes commented Jan 13, 2025

v1 release of authkit-next 🎉

This release includes:

  • Composable middleware
  • Client side auth with hooks
  • Using AuthKitProvider in client components no longer breaks the build
  • Better DX around cookie errors
  • 100% test coverage

This PR also fixes 2 failing tests.

@PaulAsjes PaulAsjes requested a review from nicknisi January 13, 2025 11:01
@@ -343,7 +343,7 @@ describe('session.ts', () => {
expect(console.log).toHaveBeenNthCalledWith(
2,
'Failed to refresh. Deleting cookie.',
new Error('Failed to refresh'),
new Error('Failed to refresh session: Failed to refresh'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit(non-blocking): this error message feels a little repetitive.

Copy link
Contributor Author

@PaulAsjes PaulAsjes Jan 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree! It's not a "real" error message but one that we mock up on line 321. The real error message would (hopefully) be way more descriptive.

@PaulAsjes PaulAsjes merged commit 2b269cc into main Jan 13, 2025
3 checks passed
@PaulAsjes PaulAsjes deleted the bump/v1.0.0 branch January 13, 2025 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants