Skip to content

Releases: brefphp/bref

1.2.7

11 Jun 13:11
Compare
Choose a tag to compare
  • Fixed a serverless failed caused by a change in Serverless ("TypeError: Cannot read property 'bref' of undefined")
  • Improve error message when invoking an HTTP Lambda with an invalid payload #936
  • bref init now automatically detects the PHP version #937

1.2.6

11 May 08:36
a2827ef
Compare
Choose a tag to compare

Full diff

Enhancements:

Fixed bugs:

  • #925 handle excluding vendor dir in package patterns with separateVendor option #926 (@svnldwg)

Documentation:

1.2.5

02 May 10:00
ca481ec
Compare
Choose a tag to compare

Fix regression introduced in #903 relating to process timeouts #919

1.2.4

29 Apr 07:23
Compare
Choose a tag to compare

Full diff

Improvements:

  • Send console output to CloudWatch in real time #903 (@tomcant)

Fixed bugs:

  • Support the new Serverless plugin variables introduced in 20210326 #908 (@mnapoli)

Documentation changes:

1.2.3

22 Mar 09:53
ae088d3
Compare
Choose a tag to compare

Still trying to fix the build that publishes the Docker Images.
Sorry for the unnecessary notifications to those watching the repository.

Nothing new in this release.

1.2.2

22 Mar 08:34
Compare
Choose a tag to compare

Hello there!

There's nothing special in this release, we've just fixed the Docker Images build (thanks @Nyholm) so this release will create updated Docker images.

1.2.1

16 Mar 18:55
Compare
Choose a tag to compare

Full diff

This release comes with new runtime versions:

  • if you use serverless.yml, you don't have anything to do 😎
  • if you use SAM or CloudFormation or Terraform or CDK, update the layer version numbers (see runtimes.bref.sh)

Improvements:

  • Bumped PHP versions to latest patch version #877 (@peldax)
  • Docker image improvements for development images : remove PHP8 workarounds #858 (@Maks3w) and sync fpm-dev and fpm settings #857 (@Maks3w)

Documentation:


Looking to support the project? Check out:

1.2.0

04 Feb 14:45
028207e
Compare
Choose a tag to compare

Full diff

👯👯👯

Implemented enhancements:

  • Simplify deploying Docker images on Lambda. #855 (@mnapoli)
  • Update .gitattributes for a lighter package. #854 (@Nyholm)
  • Fixed "billed duration" in bref local. #852 (@Chtiadrien)
  • Documentation: fixed PDO-Sqlite link. #853 (@GregHolmes)
  • Documentation: clarify how to upload the vendor folder separately. #851 (@svnldwg)
  • Documentation: fixed command for local development #843 (@Chtiadrien)

It is now simpler to deploy your applications via Docker images to Lambda.

Here is an example:

FROM bref/php-80-fpm

# Add your code to the docker image
ADD . $LAMBDA_TASK_ROOT

# Set the Lambda "handler"
CMD [ "index.php" ]

A new bref/php-XX-console Docker image also exists to deploy CLI console functions with Docker. Here is an example on how to use it:

FROM bref/php-80-console

ADD . $LAMBDA_TASK_ROOT

CMD [ "bin/console" ]

To be clear, this new Docker image has no impact on applications that do not use Docker images. In other words, if you use Lambda layers (the recommended Bref defaults), you don't have to change anything.


Oh and get ready for the Bref Dashboard v1.0, it's coming soon!

You can download a preview version for Mac, Windows and Linux here: https://download.dashboard.bref.sh/ Please let me know if you have any problem :)

1.1.4

19 Jan 17:03
Compare
Choose a tag to compare

Bugfix when running serverless remove.

1.1.3

18 Jan 14:54
9150472
Compare
Choose a tag to compare

#818 #841 Support multiple cookies in HTTP responses with API Gateway v2 (@mnapoli)