v1.2.0-beta.1
@github-actions github-actions released this 7 hours ago
尝鲜体验
青海省网友说:大晚上睡不着,谁来个那种网址,就是那种。。。
云南省网友说:https://tieba.baidu.com/f?kw=%E6%88%92%E8%89%B2
台湾省网友说:https://github.com/typecho/typecho/discussions/1153
Fix many bugs
New installation UI
Improve dashboard UI on mobile platform
Improve markdown editor & update markdown parser
Improve backup performance
New abastact layer for widget
Improve database framework
Reformat code for PHP 7.2 (now using namespace)
Use new version rule (1.x/.. => 1.x.)
For creating a widget
Before$this->widget(‘Widget_Metas_Category_List’); Typecho_Widget::widget(‘Widget_Metas_Category_List’);复制代码
After\Widget\Metas\Category\Rows::alloc();复制代码
⚠️ You can always use the old way to create a widget, but a migration is recommended.
Improve API $options->adminStaticUrl()$options->adminStaticUrl(‘css’, ‘style.css’); // It will display a url with version(`?v=`) // no need to add it manually. $options->adminStaticUrl(‘css’, ‘style.css’, ture); // Return a url instead of displaying it复制代码
辽宁省网友说:作者最近一直在更新
云南省网友说:诈尸了…