Skip to content

Releases: brefphp/bref

0.2.14

12 Jun 11:34
Compare
Choose a tag to compare
  • #18 Speed up building lambdas when deploying or running them locally
  • Fix #17: broken local command
  • #16 Stream the output of bref deploy

2018-06-09 21 09 02

0.2.13

09 Jun 18:59
e549dbf
Compare
Choose a tag to compare

#15 Bref internal files are auto-deployed:

Users do not have to add Bref internal files to serverless.yml anymore. You can remove the handler.js and '.bref/**' files from your include section in serverless.yml, however this is not mandatory.

0.2.12

08 Jun 13:10
60a5c36
Compare
Choose a tag to compare

#14: Opcache is now installed and configured

Opcache usually works in memory, compiling PHP code to opcode and caching it in memory between HTTP requests. Since on lambdas the PHP process is terminated between requests, the classic behavior of opcache doesn't work (the cache is cleared every time).

To make opcache work we enable its "file cache" mode where opcache writes the opcode into a file (with the opcache.file_cache option). When the PHP process starts, it reads the opcodes from the file cache.

On the API platform demo, when getting a list of books (uses the database):

  • without opcache: 220ms
  • with opcache: 105ms

0.2.11

02 Jun 21:13
Compare
Choose a tag to compare

#10 Fix permission issues on the PHP binary.

0.2.10

02 Jun 21:02
Compare
Choose a tag to compare

Fix #12 serverless deploy had a timeout of 60s.

0.2.9

02 Jun 13:32
Compare
Choose a tag to compare

Add a progress bar to make things fun!

2018-06-02 15 28 45

0.2.8

02 Jun 12:41
5f9fc58
Compare
Choose a tag to compare

#9 & #11: New bref local command to invoke the lambda locally.

0.2.7

24 May 09:52
Compare
Choose a tag to compare

New Laravel adapter

0.2.6

20 May 19:18
b8ccef6
Compare
Choose a tag to compare
  • Fix 500 error with empty responses
  • Add Cookie support

0.2.5

14 May 07:56
Compare
Choose a tag to compare
Fix POST bug with case-insensitive header detection