Releases: brefphp/bref
0.3.7
- Fix #292 with #293: add the
bcmath
extension - Fix #294: add the
mysqli
extension - Fix #283 with #289: add the
soap
extension - Fix #290 with #291: populate
$_ENV
- #298: runtime optimization by reusing the curl handler
Thanks to all contributors to this release: @TiagoBrito, @jsamouh, @jenschude, @lhilton.
New runtimes have been published: see runtimes.bref.sh for the new versions.
Performances are tested via brefphp/bref-benchmark
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
Bref v0.3 breaks backward compatibility with v0.2!
The main changes:
- the NodeJS shim has been replaced by an integration with the AWS Lambda official runtime API
- Bref provides 3 PHP runtimes for AWS Lambda
- PHP functions
- HTTP applications via PHP-FPM
- Console applications
- performance improvements thanks to these new runtimes
- moved from the Serverless framework to AWS SAM
- a rewritten documentation and website: https://bref.sh
- bugfixes and various improvements
To learn more check out the documentation.
0.2.37
0.2.36
#72, #91 Set maximum concurrency to 20 instances by default.
The goal for this is to avoid scenarios where a lambda could be DOS by a malicious 3rd party and create a huge AWS bill in a short amount of time.
For example let's say the lambda executes in 100ms. Its execution could be trigger at maximum 10000 times per second (1000 lambdas in parallel). That means a bill of $1613.09 for a whole day of this (not counting API Gateway which is even more expensive!).
This is now set to 20 by default in serverless.yml
when doing bref init
(that would mean up to $30 per day maximum): https://github.com/mnapoli/bref/blob/master/template/serverless.yml#L21
Existing projects are not affected, this will only impact new projects.
The value can be changed in serverless.yml
in your project (and the limit can be removed altogether).