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

release: 7.5.0 #352

Merged
merged 4 commits into from
Apr 3, 2023
Merged

release: 7.5.0 #352

merged 4 commits into from
Apr 3, 2023

Conversation

evansims
Copy link
Member

@evansims evansims commented Apr 3, 2023

Added

  • Support for Laravel 10 #349
  • New Auth0\Laravel\Traits\Imposter trait to allow for easier testing. Example usage
  • New Exception types have been added for more precise error catching.

Changed
The following changes have no effect on the external API of this package, but may affect internal usage.

  • Guard will now more reliably detect changes in the underlying Auth0-PHP SDK session state.
  • Guard will now more reliably sync changes back to the underlying Auth0-PHP SDK session state.
  • Guard now inherits the DeferrableProvider interface to better support Laravel's deferred provider loading.
  • StateInstance concept has been replaced by new Credentials entity.
  • Guard updated to use new Credentials entity as primary internal storage for user data.
  • Auth0\Laravel\Traits\ActingAsAuth0User was updated to use newCredentials entity.
  • The HTTP middleware have been refactored to more clearly differentiate between token and session based identities.
  • The authenticate, authenticate.optional and authorize.optional HTTP middleware now support scope filtering, as authorize already did.

Fixed

  • A 'Session store not set on request' error could occur when downstream applications implemented unit testing that use the Guard. This should be resolved now.
  • An issue wherein the Guard would not always honor the provider configuration value in config/auth.php.
  • Guard is no longer defined as a Singleton to better support applications that need multi-guard configurations.

Maintenance

  • Reworked test suite to use PEST framework.
  • Restored test coverage to 100%.

@evansims evansims changed the title Release 7.5.0 release: 7.5.0 Apr 3, 2023
@evansims evansims marked this pull request as ready for review April 3, 2023 07:23
@evansims evansims requested a review from a team as a code owner April 3, 2023 07:23
@evansims evansims marked this pull request as draft April 3, 2023 07:25
@evansims evansims marked this pull request as ready for review April 3, 2023 07:37
@evansims evansims marked this pull request as draft April 3, 2023 07:39
@evansims evansims marked this pull request as ready for review April 3, 2023 07:40
@evansims evansims added the run label Apr 3, 2023
@codecov
Copy link

codecov bot commented Apr 3, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (0b26789) 98.97% compared to head (af2c034) 98.97%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #352   +/-   ##
=========================================
  Coverage     98.97%   98.97%           
  Complexity      288      288           
=========================================
  Files            20       20           
  Lines           781      781           
=========================================
  Hits            773      773           
  Misses            8        8           
Impacted Files Coverage Δ
src/Auth0.php 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@evansims evansims merged commit 2e5d72d into main Apr 3, 2023
@evansims evansims deleted the release/7.5.0 branch April 3, 2023 13:50
@github-actions github-actions bot removed the run label Apr 3, 2023
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.

2 participants