Skip to content

Conversation

@asbiin
Copy link
Owner

@asbiin asbiin commented Feb 28, 2025

This adds support to Laravel 12 and fixes AuthenticatorAttestationResponseValidator creation in webauthn-lib 5.0+

This also removes support for Laravel 9 and 10.

BREAKING CHANGES:

  • The Webauthn::prepareAssertion and Webauthn::prepareAttestation methods now return LaravelWebauthn\Services\Webauthn\PublicKeyCredentialRequestOptionsRequest and LaravelWebauthn\Services\Webauthn\PublicKeyCredentialCreationOptionsRequest respectively, and this impacts all classes that rely on it.
  • EloquentWebAuthnProvider: removes validator parameter
  • OptionsFactory: removes repository parameter
  • The user_verification setting was previously forced to required when webauthn.userless config was set to preferred or required. It nows only relies on the webauthn.user_verification config.

@asbiin asbiin changed the title feat: Support Laravel 12 feat!: Support Laravel 12 Mar 2, 2025
@asbiin asbiin changed the title feat!: Support Laravel 12 feat!: Support Laravel 12 and webauthn-lib 5.0+ Mar 2, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 6, 2025

@asbiin asbiin merged commit 1a4eaca into main Mar 6, 2025
21 checks passed
@asbiin asbiin deleted the laravel12 branch March 6, 2025 08:38
@github-actions
Copy link

github-actions bot commented Mar 6, 2025

🎉 This PR is included in version 5.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants