Skip to content

Releases: brefphp/bref

0.3.7

06 Apr 13:45
dfbf327
Compare
Choose a tag to compare
  • 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

16 Mar 13:45
08cbe87
Compare
Choose a tag to compare

Fixed #265, #272 Handle and recover from AWS Lambda timeouts.

New runtime versions have been released as well.

0.3.5

07 Mar 20:09
Compare
Choose a tag to compare

#257 Better handling of timeouts and other errors related to PHP-FPM and FastCGI.

This also includes much better error messages when errors happen.

0.3.4

24 Feb 15:54
2ad8984
Compare
Choose a tag to compare

#234 Set the memory size to 1024M by default for new lambdas
#253 Improve error handling

0.3.3

18 Feb 22:48
8e0b0e3
Compare
Choose a tag to compare

Fix #249 404 responses stick after one 404 response
#248 Publish runtimes in eu-north-1 (Stockholm)
New runtime versions: upgrade to PHP 7.3.2 and 7.2.15

0.3.2

13 Feb 11:07
a854cdf
Compare
Choose a tag to compare

#238 Fixed the Bref cli command's exit code

0.3.1

10 Feb 09:22
Compare
Choose a tag to compare

#233 Compatibility with Zend Diactoros 2
#229 Cleanup of classes leftover from Bref 0.2 and unused
Documentation improvements

0.3.0

31 Jan 14:17
Compare
Choose a tag to compare

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

25 Nov 13:09
8558255
Compare
Choose a tag to compare

Multiple small fixes following the setup of Doctrine coding standards and phpstan.

If any regression slipped up because of this please open an issue!

0.2.36

15 Nov 08:59
1843e13
Compare
Choose a tag to compare

#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).