Home>Article>PHP Framework> ThinkPHP releases security update version (V6.1.0/V6.0.14)

ThinkPHP releases security update version (V6.1.0/V6.0.14)

藏色散人
藏色散人 forward
2022-10-26 17:09:02 1924browse

The following tthinkphp frameworkThe tutorial column will introduce to you the updated content of ThinkPHP V6.1.0 and V6.0.14. I hope it will be helpful to friends in need!

ThinkPHP releases security update version (V6.1.0/V6.0.14)

ThinkPHP releases V6.1.0 and V6.0.14. This update is a security update version, which mainly corrects the serialization vulnerability problem and optimizes the multi-language judgment mechanism, and includes There are some accumulated updates of ThinkORM, and it is recommended to upgrade. Those using version 5.1 can also update to the latest version V5.1.42. Those who want to use the new version of think-filesystem library can upgrade to version V6.1.

The reason why version V6.1.0 is released is mainly because of the frequent security issues of think-filesystem library and its incompatibility with updates. There are currently no other architectural adjustments in this version, but it is not ruled out that other new features will be introduced in the future to increase PHP version dependency.

Main updates:

  • Delete obsolete methods

  • Optimize multi-language detection

  • Correct the default request in command line mode

  • Remove the core dependency on the think-filesystem library

Main update of ThinkORM:

  • ##Fixed the problem of multiple calls to with&bind causing the previous hidden to be replaced

  • Improved software Delete, support dynamic calling

  • morphTo associated model supports hasWhere query

  • Improve setAttr method

  • Fix the polymorphic association model and throw an exception when the polymorphic type is not defined

Recommended study: "

thinkphp video tutorial"

The above is the detailed content of ThinkPHP releases security update version (V6.1.0/V6.0.14). For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:thinkphp.cn. If there is any infringement, please contact admin@php.cn delete