Release Notes - Lumen - PHP Micro-Framework By Laravel


本站和网页 https://lumen.laravel.com/docs/5.7/releases#5.7.0 的作者无关,不对其内容负责。快照谨为网络故障时之索引,不代表被搜索网站的即时页面。

Release Notes - Lumen - PHP Micro-Framework By Laravel
Lightbulb
Lumen
☰
5.7
Master
9.x
8.x
7.x
6.x
5.8
5.7
5.6
5.5
5.4
5.3
5.2
5.1
Documentation
Laracasts
Laravel
Home
Documentation
Laracasts
Laravel
Documentation
Prologue
Release Notes
Upgrade Guide
Getting Started
Installation
Configuration
The Basics
Routing
Middleware
Controllers
Requests
Responses
More Features
Authentication
Authorization
Cache
Database
Encryption
Errors & Logging
Events
Mail
Queues
Service Container
Service Providers
Testing
Validation
Prologue
Release Notes
Upgrade Guide
Getting Started
Installation
Configuration
The Basics
Routing
Middleware
Controllers
Requests
Responses
More Features
Authentication
Authorization
Cache
Database
Encryption
Errors & Logging
Events
Mail
Queues
Service Container
Service Providers
Testing
Validation
Release Notes
5.7.0
5.6.0
5.5.0
5.4.0
5.3.0
5.2.0
5.1.0
5.0.4
5.0 (Based On Laravel 5.0.x)
Lumen 5.7.0
Lumen 5.7 upgrades the framework's underlying Laravel components to the 5.7 series.
Lumen 5.6.0
Lumen 5.6 upgrades the framework's underlying Laravel components to the 5.6 series.
Lumen 5.5.0
Lumen 5.5 upgrades the framework's underlying Laravel components to the 5.5 series.
Lumen 5.4.0
Lumen 5.4 upgrades the framework's underlying Laravel components to the 5.4 series.
Lumen 5.3.0
Lumen 5.3 upgrades the framework's underlying Laravel components to the 5.3 series.
Lumen 5.2.0
Lumen 5.2.0 upgrades the framework to use the 5.2 family of Laravel components, as well as introduces some significant changes to Lumen's underlying philosophy and purpose.
Only Stateless APIs
Lumen 5.2 represents a shift on slimming Lumen to focus solely on serving stateless, JSON APIs. As such, sessions and views are no longer included with the framework. If you need access to these features, you should use the full Laravel framework. Upgrading your Lumen application to the full Laravel framework mainly involves copying your routes and classes over into a fresh installation of Laravel. Since Laravel and Lumen share many of the same components, your classes should not require any modification.
Authentication
Because sessions are no longer included with Lumen, authentication must be done statelessly using API tokens or headers. You have complete control over the authentication process in the new AuthServiceProvider. Please review the authentication documentation for more information.
Testing Helpers
Since sessions and views are no longer included with Lumen, all of the form interaction testing helpers have been removed. The testing helpers for JSON APIs remain, so be sure to review the testing documentation.
Lumen 5.1.0
Lumen 5.1.0 upgrades the framework to use the 5.1 family of Laravel components. Features such as event broadcasting, middleware parameters, and testing improvements are now available in Lumen. For the full Laravel 5.1 release notes, consult the Laravel documentation.
Lumen 5.0.4
When upgrading to Lumen 5.0.4, you should update your bootstrap/app.php file's creation of the Lumen application class to the following:
$app = new Laravel\Lumen\Application(
realpath(__DIR__.'/../')
);
Note: This is not a required change; however, it should prevent some bugs when using the Artisan CLI and PHP's built-in web server.
Lumen 5.0
Lumen 5.0 is the initial release of the Lumen framework, and is based on the Laravel 5.x series of PHP components.
Documentation
Laracasts
Laravel
Laravel is a trademark of Taylor Otwell. Copyright Taylor Otwell.
Design by Jack McDade.