Skip to content

Releases: bixuehujin/blink

The Blink Framework v0.4.1 is released

28 Jul 08:27
Compare
Choose a tag to compare

I am very pleased to announce the release of Blink version 0.4.1, Version 0.4.1 is a minor release of Blink framework that brings several improvements, the following is the changelog:

  • New: Added a Cors middleware for Cross-Origin handling
  • New: Added CookieAuthenticator to set cookie automatically
  • New: Added Request::ip() method to get client IP address
  • New: Added support to retrieve routing parameters through $request->getAttribute('routing')
  • Enh: Upgraded the version of Symfony/Console and psysh
  • Enh: Added the support of PHPUnit 6 and above
  • Bug: Fixed https may not be detected correctly
  • Bug: Fixed the errors on bootstrapping would never return to the client
  • Bug: Fixed Service related command not booted automatically
  • Bug: Fixed unable to Set-Cookie multiple times on SwServer

The Blink Framework v0.4 is released

23 Jun 17:49
Compare
Choose a tag to compare

I am very pleased to announce the release of Blink version 0.4.0. Please refer to the documentation to install or upgrade to this version.

Version 0.4 is a major release of Blink framework that brings several new feature and improvements:

  1. Blink is now compatible with PSR-7

    With the PSR-7 support, it would be easier to integrate 3rd HTTP related libraries into Blink.

    Because Request::getBody() method is already taken in PSR-7, the original getBody() is renamed to getPayload().

  2. Environment configuration support

    Blink 0.4 introduced a dotenv alike mechanism to store environment specific or sensitive configurations, this helps us to build a unified approach to store these configurations in Blink applications.

  3. Service management utility

    Blink 0.4 introduced a service management utility to help us to run Blink application under systemd as system service.

Here is the changelog of version 0.4.0:

  • New: Added ENV_FILE(like dotenv) support
  • New: Added service:install command to install blink app as a systemd service
  • New: Compatible with PHP 7.2
  • New: Added SwServer::$dispatchMode config to tune Swoole's dispatch_mode
  • New: Compatible with PSR-7 HTTP message interfaces
  • Chg: The Request::getParams() method will not convert special characters into _ any more, see here for more detail
  • Chg: The Swoole's dispatch_mode is changed to 3 by default
  • Chg: The original Response::getBody() is now renamed to Response::getPayload()
  • Chg: Removed PHP 5.6 support
  • Bug: Null should not be encoded in response

The Blink Framework v0.3.2 is released

06 Apr 11:17
Compare
Choose a tag to compare

I am very pleased to announce the release of Blink version 0.3.2. Please refer to the documentation to install or upgrade to this version.

Version 0.3.2 is a minor release of Blink framework that brings several improvements, the following is the changelog:

  • Enh: Bootstrap app automatically in console command
  • Enh: Fixed possible namespace confliction
  • Bug: Fixed duplicated Content-Length header with Swoole

The Blink Framework v0.3.1 is released

15 Jul 17:43
Compare
Choose a tag to compare

I am very pleased to announce the release of Blink version 0.3.1. Please refer to the documentation to install or upgrade to this version.

Version 0.3.1 is a minor release of Blink framework that brings several new feature and improvements, the following is the changelog:

  • New: Added CookieAuthenticator for cookie based session handling
  • New: Added blink\session\Manager::$sessionClass configuration to subclass Session class
  • Enh: Suppressed warning triggered by cli_set_process_title on macOS
  • Enh: Added $asArray parameter to RequestActor::asJson() to control json decoding
  • Enh: Improved Auth::who() to accept Session object as argument
  • Bug: Fixed routes lazy loading not working
  • Chg: Deprecated Request::$sessionKey configuration

The Blink Framework v0.3 is released

19 Mar 09:35
Compare
Choose a tag to compare

I am very pleased to announce the release of Blink version 0.3.0. Please refer to the documentation to install or upgrade to this version.

Version 0.3 is a major release of Blink framework that brings several new feature and improvements:

  1. Plugins Support

    Blink 0.3 introduced the concept of plugins, with the plugin support, it is possible to inject custom code
    at the application bootstrapping phase, such as registering services, adding routes. It brings possibilities to implement modules or reuse code in a better way.

  2. Route Group

    Blink 0.3 now implemented Route Group, It would be great for large projects to split routes into multiple groups, make the routes management more efficiently.

  3. RequestActor for API testing

    Blink 0.3 implemented RequestActor for API testing, it would make API testing more easier and fun.

  4. New server management commands

    Blink 0.3 introduced several server management command and enhanced server:serve to support live reloading.

  5. Integrated to PsySH

    Blink 0.3 now integrated PsySH, we can interact with Blink application with a simple ./blink shell command.

Here is the changelog of version 0.3.0:

  • New: Added application plugins support
  • New: Added grouped routes support
  • New: Added RequestActor for easier functional testing cases
  • New: Integrated PsySH for better debug experience
  • New: Added CookieBag::all() to return all cookies
  • New: Added the new server management commands(server:start server:stop server:restart server:serve server:reload)
  • Enh: Better PHP7 exception support
  • Enh: Added Custom PID file path support
  • Enh: Improved automatically handling of Content-Type
  • Enh: Added SwServer::$outputBufferSize parameter
  • Enh: Improved Request::secure() to handle X-Forwarded-* headers
  • End: Improved live reload support
  • Chg: Removed php 5.5 support
  • Bug: Fixed "Expected array for frame 0" error for PHP7+Xdebug

0.2.1 release

03 Feb 13:41
Compare
Choose a tag to compare

I am very pleased to announce the 0.2.1 release of Blink Framework. Please refer to the documentation to install or upgrade to this version.

Version 0.2.1 is a minor release of Blink framework that brings the following improvements:

  • Improved blink\session\Manager::get() with empty value
  • Improved support for PHP7
  • Added SwServer::$maxPackageLength configuration

0.2.0 release

05 Dec 14:43
Compare
Choose a tag to compare

I am very pleased to announce the release of Blink version 0.2.0. Please refer to the documetation to install or upgrade to this version.

Version 0.2 is a major release of Blink framework that brings several new feature and improvements:

  1. Blink now is compatible with php-fpm and mod_php

    Blink 0.2.0 introduced CgiServer for php-fpm and mod_php, now it is possible to run your Blink application under php-fpm or Apache without changing a single line of code.

  2. Better support for non-API applications

    Blink 0.2.0 added support for cookie handling and request redirecting, it would be easier to adopt Blink for non-API applications.

  3. File uploading support

    Blink 0.2.0 implemented an unified file uploading API that compatible with both Swoole and CGI envrionment.

Here is the changelog of version 0.2.0:

  • Bug #10: Fixed get body value with blink\http\Request::input()
  • Enh: Added blink\core\Application::currentRequest property
  • Enh: Added automatically session directory creation support
  • New: Added file uploading support
  • New: Added CgiServer for php-fpm or Apache's mod_php support
  • New: Added logger() helper function to get log service
  • New: Added file uploading support
  • New: Added Cookie handling support
  • New: Added blink\http\Request::redirect() method

v0.1.0

19 Oct 13:39
Compare
Choose a tag to compare

The first release