generated from spatie/package-skeleton-laravel
-
-
Notifications
You must be signed in to change notification settings - Fork 0
v1.0 #2
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Adds a mechanism to preserve the authenticated user context when dispatching queued jobs, listeners, and notifications. Includes a trait to capture the authenticated user before serialization and a middleware to restore the context during job execution, ensuring access to the correct user. Updates test suite configuration Refactors the test suite configuration to improve reliability and reduce redundancy. - Uses a matrix strategy for PHP and Laravel versions. - Introduces stability constraints. - Removes OS matrix. - Removes unnecessary extensions. Update Name
Removes support for older PHP and Laravel versions and updates the test matrix accordingly. This ensures compatibility with actively maintained versions and simplifies the testing process.
Updates the service provider to extend the base Laravel ServiceProvider instead of spatie/laravel-package-tools. Removes package configuration.
Updates development dependencies in composer.json to more specific and/or newer compatible versions. This ensures better stability and compatibility within the development environment.
The HasRoutes trait was part of a package and is no longer needed in the User model after refactoring. This change removes the trait.
Extends the allowed versions of the testbench dependency. This change broadens compatibility with newer Laravel versions, allowing the package to be used in projects running Laravel 9 and 10, in addition to Laravel 8.
Removes static analysis tooling dependencies and configuration. This simplifies the development environment and reduces the number of dependencies.
Enhances compatibility by relaxing PHP and Laravel version constraints. Adds static analysis tools for improved code quality and reliability. Removes minimum stability constraint.
Ensures that the authenticated user's context is maintained when dispatching jobs to the queue. This is achieved by serializing the authenticated user's identifier and restoring it when the job is processed. Adds a trait to simplify middleware assignment for authenticated jobs. Also includes formatting rules for code style consistency.
Ensures the correct authentication context is preserved when dispatching jobs to the queue. This prevents issues where the authenticated user is not available within the job's execution context. Adds a check to only serialize the auth user if the job uses the `WasAuthenticated` trait. This avoids potential errors when the job does not require authentication. Updates the supported PHP and Laravel versions in the README.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.