Replies: 4 comments 7 replies
-
Amazing work @mnapoli, super keen to be able to get using the ARM layers, do you have a loose timeline for PHP 8.1 support on ARM? |
Beta Was this translation helpful? Give feedback.
-
I did a check earlier before posting (sorry should have said), there is a enablable repo in amazon-linux-extras for 8.1, yeah :) |
Beta Was this translation helpful? Give feedback.
-
Looking forward to try it out! |
Beta Was this translation helpful? Give feedback.
-
@mnapoli This is an excellent write up! It persuaded me to try it out. Thanks for all your hard work! (And very cool how you give thanks to everyone else; the mark of a superb leader.) |
Beta Was this translation helpful? Give feedback.
-
This is the first beta version of Bref v2.0 🎉
And we celebrate reaching 10 billion Lambda invocations powered by Bref every month.
That's 1 in every 1000 AWS Lambda invocations that runs with Bref!
OK, now with Bref v2. This first beta contains most of the changes for v2, even though I want to squeeze in more improvements before the stable release (especially improve the docs and the website, and the Laravel integration). In the meantime, the Bref v2 roadmap is here (but it is still open for ideas).
How to get started? Update
composer.json
:Then run
composer update bref/bref --with-all-dependencies
.How is v2 better than v1:
bref/bref
package is lighter (fewer dependencies), which leaves more room for your code on Lambda and improves cold starts (15% faster).vendor/bin/bref
CLI commands have been replaced by much better and simplerserverless bref:xxx
commands (Replace thevendor/bin/bref
CLI withserverless
commands #1303 provides an overview, check out the v2 docs as well).@bref.sh/layers
NPM package that exposes layer versions. (hint: I have more ambitious ideas on this, this is just the start)Overview of breaking changes:
serverless
CLI v3 is required (runserverless --version
to check)vendor/bin/bref cli
is replaced by the simplerserverless bref:cli
vendor/bin/bref local
is replaced by the simplerserverless bref:local
vendor/bin/bref layers
is replaced by the simplerserverless layers
bref/fpm-dev-gateway
is gone, you need to updatedocker-compose.yml
if you have oneseparateVendor
option inserverless.yml
has been removedNote that Bref Extra extensions are in the process of being updated for v2, you can follow brefphp/extra-php-extensions#377
A huge thank you to all contributors that have helped to maintain v1 and/or with this huge upcoming release, including @deleugpn who rewrote most of the Lambda runtimes, @GrahamCampbell who is helping to keep the v1 runtimes up to date, @t-richard and @afu-dev who have been extremely helpful on the Symfony integration and in the community, @Nyholm who has been maintaining flawlessly the Bref Extra extensions, @mykiwi for keeping PHP up to date, @shouze who is helping on layers and extra extensions, @georgeboot who is contributing amazing ideas on the Laravel integrations, @tillkruss who is pushing what Bref could be for Laravel users, and so many more (@shadowhand, @kevincerro…).
Finally, a few things I wanted to share:
And a huge thank you to all Bref sponsors, which now includes AWS as well 🎉
This discussion was created from the release 2.0.0-beta1.
Beta Was this translation helpful? Give feedback.
All reactions