[Lumen5.2 documentation] start-release version description

Source: Internet
Author: User
[Lumen5.2 documentation] start-release version description 1. Lumen 5.2.0

The underlying architecture of Lumen 5.2.0 is upgraded to the Laravel 5.2 component, and the underlying architecture of Lumen is adjusted.

Only stateless APIs are provided.

Lumen 5.2 has made great efforts to slim down Lumen-only focusing on providing stateless JSON APIs. Therefore, the framework no longer supports sessions and views. to use these features, you need to use the complete Laravel framework. Upgrading Lumen to Laravel is simple: you only need to copy your routing and code classes to the newly installed Laravel application. because Laravel and Lumen share many components, you do not need to modify your own code class.

Authentication

Since the session is no longer supported by Lumen, the authentication must be stateless through API token or request header. In the new AuthServiceProvider, you have full control over the authentication process. For more information, see The Lumen authentication documentation.

Test

Since Lumen no longer supports sessions and views, all related test functions are removed. The json api test is retained. For more information, see The Lumen test document.

2. Lumen 5.1.0

Lumen 5.1.0 upgrades the framework to Laravel 5.1. new features such as event broadcast, Price Center parameters, and test optimization are available in the new Lumen version. For more information about the release of Laravel 5.1, see the Laravel documentation.

For more information about previous releases, see The Lumen official website.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.