{"release":{"tag":{"name":"2.5.0","path":"/jasonwei/miniframework/tags/2.5.0","tree_path":"/jasonwei/miniframework/tree/2.5.0","message":"","commit":{"id":"097c5e796bb4e79ce5fed594f211297946d40486","short_id":"097c5e7","title":"Update CHANGES.md","title_markdown":"Update CHANGES.md","description":"","description_markdown":"","message":"Update CHANGES.md\n","message_markdown":"Update CHANGES.md","detail_path":"/jasonwei/miniframework/commit/097c5e796bb4e79ce5fed594f211297946d40486","commits_path":"/jasonwei/miniframework/commits/097c5e796bb4e79ce5fed594f211297946d40486","tree_path":"/jasonwei/miniframework/tree/097c5e796bb4e79ce5fed594f211297946d40486","author":{"name":"jasonwei","email":"jasonwei06@hotmail.com","username":"jasonwei","user_path":"/jasonwei","enterprise_user_path":null,"image_path":"https://foruda.gitee.com/avatar/1676905313098342735/325443_jasonwei_1578920028.png!avatar30","is_gitee_user":true,"is_enterprise_user":null,"widget_url":""},"committer":{"name":"jasonwei","email":"jasonwei06@hotmail.com","username":"jasonwei","user_path":"/jasonwei","enterprise_user_path":null,"image_path":"https://foruda.gitee.com/avatar/1676905313098342735/325443_jasonwei_1578920028.png!avatar30","is_gitee_user":true,"is_enterprise_user":null,"widget_url":""},"authored_date":"2021-01-01T04:10:44+08:00","committed_date":"2021-01-01T04:10:44+08:00","signature":null,"build_state":null},"archive_path":"/jasonwei/miniframework/repository/archive/2.5.0","signature":null},"operating":{"edit":false,"download":true,"destroy":false,"enterprise_forbid_zip":false},"release":{"title":"MiniFramework 发布 2.5.0 版本","path":"/jasonwei/miniframework/releases/tag/2.5.0","tag_path":"/jasonwei/miniframework/tree/2.5.0","project_id":7078675,"created_at":"2021-01-01T04:22:50+08:00","is_prerelease":false,"description":"* 新增全局函数 arrayToUrlParams()，用于将数组转换为请求参数(例如：a=1\u0026b=2\u0026c=3)\r\n* 新增 Mini\\Security\\Sign::setSalt() 方法，用于设置一个自定义的 Salt 字符串。\r\n* 新增 Mini\\Base\\Model::getLastSql() 方法，用于在模型中获取最近一条被执行的SQL语句，便于开发者进行调试。\r\n* 改进 Mini\\Base\\Model::where() 方法，支持全新的查询条件设置方法（原有自定义字符串方式依旧支持）。\r\n* 改进 Mini\\Db\\Mysql::insertAll() 方法，增加参数 $prepare，默认值为 TRUE，用于确定是否进行预处理。\r\n* 改进 Mini\\Db\\Mysql::insert() 方法，增加参数 $prepare，默认值为 TRUE，用于确定是否进行预处理。\r\n* 改进 Mini\\Base\\Model::add() 方法，改为通过预处理方式插入数据。\r\n* 改进 Mini\\Db\\Mysql::prepareInsertAll() 方法，完善对于传入数据格式的校验。\r\n* 改进 browserDownload() 全局函数，读取下载文件后终止脚本运行，避免浏览器下载无用数据。\r\n* 测试支持 PHP 8.0。\r\n* 统一代码注释风格。","author":{"name":"jasonwei","username":"jasonwei","path":"/jasonwei","avatar_url":"https://foruda.gitee.com/avatar/1676905313098342735/325443_jasonwei_1578920028.png!avatar30"},"attach_files":[],"zip_download_url":"/jasonwei/miniframework/releases/tag/2.5.0.zip","tar_download_url":"/jasonwei/miniframework/releases/tag/2.5.0.tar.gz"}}}