-
Notifications
You must be signed in to change notification settings - Fork 69
V2 - Replace with the CacheWerk bridge #94
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
Merged
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
* Improve CI * Do not export Codespell config * Fix Spelling workflow * rename --------- Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>
* Improve logs and error handling on directory creation * formatting --------- Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>
* Do not enable the S3 filesystem by default See #79 (comment) Setting the S3 filesystem by default could be confusing because it won't work (the S3 bucket needs to be created and configured). * Document how to use the S3 filesystem in the example `serverless.yml`
* Support Laravel 10 * monolog 3 * Support both monolog v2 and v3
* Provide a default `serverless.yml` with FPM by default * Move Bref initialization code in the service provider so that it applies to all runtime types * Enable direct deployments by default because they are faster * Remove the population of env vars from SSM parameters This is a native Bref feature since Bref 2.0. * Remove `deploymentMethod` as it is set by default in Bref 2.0 * Run `config:cache` on cold starts using the new Bref hooks * Simplify the Octane handler * Simplify the Octane runtime usage * Make sure file handlers are still supported * flatten * inline * formatting * fix --------- Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>
* Make sure the OctaneHandler is not created by the Laravel kernel Indeed, Octane boots Laravel (not the other way around) * sort --------- Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>
This was referenced Mar 10, 2023
Branch |
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.
Version 2.0 of this Bref-Laravel bridge will be radically different.
Indeed, we are importing all the code and git history of this alternative bridge by CacheWerk: https://github.com/cachewerk/bref-laravel-bridge This bridge is better maintained and supports Laravel far better.
This pull request will be merged once Bref 2.0 is released: the v2.0 of the Laravel bridge will be released at the same time.
What is this PR?
This PR:
master
branchmaster
Related docs PR: brefphp/bref#1424
What's new?
What will change with v2.0:
storage
directory to/tmp
(fixes Missing override path for "real-time" facades #8)AWS_SESSION_TOKEN
variableapp.mix_url
fromapp.asset_url
X-Request-ID
header to the log contextAnd more importantly, it changes how SQS queues are handled (this is the most significant breaking change).
serverless.yml
. All SQS features are supported, but only a fraction of Laravel Queues features are supported.The reason for this choice is:
FAQ
What about the v1 of this bridge?
The v1 will still be available on GitHub (we'll create a
v1
branch) and Composer. It will continue to work, however we will not maintain it anymore (unless for critical security issues).What about https://github.com/cachewerk/bref-laravel-bridge ?
The CacheWerk bridge will be deprecated in favor of this bridge. The creators and maintainers of the CacheWerk bridge (@tillkruss & @georgeboot) will join this repository as maintainers. The entire git/code history of https://github.com/cachewerk/bref-laravel-bridge is imported into this bridge as v2.0.
TODO