YUI 3.5.0 正式版发布 - 开源中国社区
YUI 3.5.0 正式版发布
红薯 2012年04月11日

YUI 3.5.0 正式版发布

红薯 红薯 发布于2012年04月11日 收藏 6 评论 5

有免费的MySQL,为什么还要买? >>>  

YUI 3.5.0 正式版发布了,可通过 CDN http://yui.yahooapis.com/3.5.0/build/yui/yui-min.js 或者 download 获取.

该版本值得关注的改进包括:

  • Availability of YUI in Node.js as an NPM module
  • Formal introduction of “night”, our second skin offering
  • Introduction of App, Button, CSSButton, Handlebars, Pjax, TestConsole components
  • Refactoring of CSS Grids to be even more lightweight and versatile
  • Refactoring of the Get utility for additional feature support and performance enhancements
  • Refactoring of Loader to implement Get’s asynchronous functionality
  • The Uploader component received an HTML5 implementation which includes drag-and-drop functionality, plus a much improved progressive enhancement scenario, granular queue management and accessibility.
  • Keyboard navigation add to the Calendar component
  • Enhancements to App, Charts, and DataTable components
  • Numerous bug fixes

API 上需要注意的改动和废弃的方法:

  • The App Framework family of modules, including Model, Controller/Router, and View have received significant enhancements. An overview of the changes was covered in an earlier blog post, and a detailed list of changes can be found in the history file.
  • We introduced asynchronous loading in Loader by default. This means that any script Loader injects into the page will be loaded asynchronously. This will decrease load time and improve performance by allowing the browser to fetch as many scripts at once as it can. If your custom modules are properly wrapped in a YUI.add callback, you will see no difference at all. However, if you are loading custom modules that require ordered script loading (depends on another dynamic, unwrapped module), you will need to change your module config to tell Loader to not load these modules with the async flag. You can do this by adding an async: false config to its module definition and Y.Get.script will not load it asynchronously.
  • Uploader was refactored in order to support HTML5 functionality when available. The 3.4.1 version was deprecated and made available as uploader-deprecated. A migration guide is available at http://yuilibrary.com/yui/docs/uploader/migration.html.
  • An update to Charts custom formatting may cause backward compatibility issues when upgrading under certain circumstances. Please see the Known Issues section for more detail.
  • DataTable was refactored in order to leverage Model, ModelList, and View. The 3.4.1 version was deprecated and made available as datatable-deprecated, datatable-base-deprecated, datatable-sort-deprecated, etc. A migration guide is available at http://yuilibrary.com/yui/docs/datatable/migration.html.
  • A small number of methods, properties, and config options were deprecated in Get, but are still supported for backcompat. They’ll be removed in a future release. Full details are available in Get’s history file.

详细列表请看 rollup of 3.5.0 changes

我们将很快发布 YUI 3.6 的路线图

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:YUI 3.5.0 正式版发布
分享
评论(5)
最新评论
0
现在一直在学习YUI3,虽然Yahoo!一起不给力,不过相信会有好转的那一天。
0
YUI3.50变化很大啊。
0

引用来自“大东哥”的评论

yui3是个值得研究的框架, 最起码不像jQuery那样, 用到最后连js怎么写都忘记了......

jquery有这么严重?我反正不会...
0
yui3是个值得研究的框架, 最起码不像jQuery那样, 用到最后连js怎么写都忘记了......
0
不错的东西。
顶部