[Lumen 5.2 documentation] Start-Release Notes

Source: Internet
Author: User

1, Lumen 5.2.0

The lumen 5.2.0 is upgraded to use the Laravel 5.2 component and is adjusted at the lumen bottom.

Only stateless APIs are available

Lumen 5.2 did a great job of lumen--focusing only on providing a stateless JSON API. Therefore, the framework will no longer support sessions and views (view), and if you want to use these features, you need to use the full Laravel framework. Upgrading lumen to Laravel is simple: just copy your routing and Code class to the newly installed Laravel app, and because Laravel and lumen share a lot of components, the code class you write yourself basically doesn't need to be modified.

Certification

Since the session is no longer supported by lumen, authentication must be stateless via API token or request header. In the new authserviceprovider you have complete control over the certification process, check out the lumen certification documentation to learn more.

Test

Because lumen no longer supports sessions and views, all relevant test functions are removed. Testing of the JSON API has been preserved and the lumen test documentation has been reviewed for more information.

2, Lumen 5.1.0

Lumen 5.1.0 upgrades the framework to use Laravel 5.1, new features such as event broadcasts, intermediate price parameters, and test optimizations can be used in the new version of Lumen. For the complete Laravel 5.1 release notes, view the Laravel documentation.

Previous release notes, view Lumen official website.

  • 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.