Skip to content

v1.2.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 08 Sep 09:04
  • 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/<year>.<month>.<day> => 1.x.<minor version>)
  • 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(`<url>?v=<version>`)
                                                  // no need to add it manually.
    
    $options->adminStaticUrl('css', 'style.css', ture); // Return a url instead of displaying it